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

Submitted by:  Stefan Allan <sallan>
Submitted on:  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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.3