patchDotGNU Portable.NET - Patches: patch #5791, New test cases

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5791: New test cases

Submitter:  Stefan Allan <sallan>
Submitted:  Thu 08 Mar 2007 09:49:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Thu 08 Mar 2007 09:49:00 PM UTC, original submission:  


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.

Stefan Allan <sallan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #12155:  file5.tar.gz added by sallan (1KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sallan (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-03-08 sallan Attached File- Added file5.tar.gz, #12155

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code