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: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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
  • -unavailable- added by sallan (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Mar 2007 09:49:00 PM UTCsallanAttached File-=>Added file5.tar.gz, #12155

    Back to the top

    Powered by Savane 3.1-cleanup1