[Mono-bugs] [Bug 82051][Nor] Changed - XPathNavigator implementation returns non-well-formed xml.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 10 15:27:41 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonathan.wyble at truebaseline.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82051

--- shadow/82051	2007-07-10 14:46:37.000000000 -0400
+++ shadow/82051.tmp.14287	2007-07-10 15:27:41.000000000 -0400
@@ -11,13 +11,13 @@
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: jonathan.wyble at truebaseline.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: XmlTextWriter.WriteStartAttribute("xmlns") produces non-well-formed xml.
+Summary: XPathNavigator implementation returns non-well-formed xml.
 
 Description of Problem:
 
 If an xml element is in a particular namespace, and one wants to specify 
 that with WriteStartAttribute("xmlns");, the output will not be well-
 formed.
@@ -68,6 +68,12 @@
 Complete reproducible code is welcomed.
 
 ------- Additional Comments From jonathan.wyble at truebaseline.com  2007-07-10 14:46 -------
 Created an attachment (id=19541)
 Sample code for reproduction of the issue.
 
+
+------- Additional Comments From jonathan.wyble at truebaseline.com  2007-07-10 15:27 -------
+Further investigation seems to indicate that the XPathNavigator 
+implementation, rather than the XmlWriter implementation, is causing 
+the issue. We work around the issue by using the XmlReader returned 
+by ReadSubtree() to get the correct xml text.


More information about the mono-bugs mailing list