[Mono-bugs] [Bug 520080] XmlTextReader has problems with XMl Fragments "XmlException: '?>' is expected"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 22 06:50:05 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=520080

User aenomoto at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=520080#c1


Atsushi Enomoto <aenomoto at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Atsushi Enomoto <aenomoto at novell.com>  2009-07-22 04:50:03 MDT ---
This is a bug in the repro code that incorrectly use
XmlReaderSettings.ConformanceLevel as ConformanceLevel.Fragment that must not
allow XML declaration (*not* text declaration) while the input xml string does
contain XML declaration (*not* text declaration). You must use
ConformanceLevel.Auto instead of ConformanceLevel.Fragment at
XmlFragmentWriter.CreateXmlReader().

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list