[Mono-bugs] [Bug 51415][Nor] Changed - Adding attributes to XmlDocument breaks XSL transforms

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 13:32:35 -0500 (EST)

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 rsbarro@metaverse.cc.


--- shadow/51415	2003-12-04 21:54:45.000000000 -0500
+++ shadow/51415.tmp.17552	2003-12-11 13:32:35.000000000 -0500
@@ -1,23 +1,22 @@
 Bug#: 51415
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: System.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: rsbarro@metaverse.cc               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
-Summary: XPathNavigator from XmlDocument does not work properly
+Summary: Adding attributes to XmlDocument breaks XSL transforms
 XslTransfrom.Transform() breaks in the following instance:
 //Create the XslTransform
 XslTransform xslt = new XslTransform();
@@ -105,6 +104,15 @@
 fine.  When it is not, the code breaks at runtime with the exception
 noted in the first post for this bug.
 ------- Additional Comments From ginga@kit.hi-ho.ne.jp  2003-12-04 21:54 -------
 It looks XmlDocumentNavigator bug. I fixed it, so if this bug doesn't 
 occur, then close this bug.
+------- Additional Comments From rsbarro@metaverse.cc  2003-12-11 13:32 -------
+The patch from #51941 causes the test case (the second attachment) to
+complete without errors.  However, the transformation does not take
+place properly.  Only about a quarter of the XML document is
+processed, up to where the first "filename" attribute was added.  If
+the line that adds the attribute to the XmlDocument is commented out,
+the transformation works fine.  Also, if a new XmlDocument is created
+from the xml of the original XmlDocument, the transform again works fine.