[Mono-bugs] [Bug 598593] System.NullReferenceException when trying to load an XmlDocument using an XmlTextReader.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 21 14:33:37 EDT 2010



Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                     |Added
                 CC|                            |jpobst at novell.com

--- Comment #1 from Jonathan Pobst <jpobst at novell.com> 2010-04-21 18:33:37 UTC ---
Note: The XmlDocument does not reset the XmlTextReader and then use it.  It
starts the document from the XmlTextReader's current position.  Thus, the
OuterXml of doc in the sample is:

<Ports><ConsolePort value="9998" /></Ports>

It looks like we need to populate the XmlDocument until we hit the matching end
element, and then leave the XmlTextReader with the rest of the content.

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