dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [patch #5791] New test cases


From: Stefan Allan
Subject: [Pnet-developers] [patch #5791] New test cases
Date: Thu, 08 Mar 2007 21:49:02 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10

URL:
  <http://savannah.gnu.org/patch/?5791>

                 Summary: New test cases
                 Project: DotGNU Portable.NET
            Submitted by: sallan
            Submitted on: Thursday 03/08/2007 at 21:49
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


I found a bug in XmlTextReader where it doesn't throw an XmlException for the
following xml:

<?xml version="1.0" ?><doc>]]></doc>

(both the xml 1.0 and xml 1.1 spec prohibit the sequence ']]>' from appearing
in element content).

I added a new class to avoid cluttering the existing TestXmlTextReader class
with stuff (since the number of checks to do on parsing is very large). Here
included are the 2 context diffs, one for the file and one to add it to the
test suite in TestXml.cs.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 03/08/2007 at 21:49  Name: file5.tar.gz  Size: 1kB   By:
sallan

<http://savannah.gnu.org/patch/download.php?file_id=12155>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5791>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]