[Mono-bugs] [Bug 80397][Nor] New - XslCompiledTransform produces different output than the .Net version
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 29 14:54:22 EST 2006
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 psingh at fnfr.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80397
--- shadow/80397 2006-12-29 14:54:22.000000000 -0500
+++ shadow/80397.tmp.31508 2006-12-29 14:54:22.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 80397
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: On all platforms
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com
+ReportedBy: psingh at fnfr.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XslCompiledTransform produces different output than the .Net version
+
+XslCompiledTransform class is producing a different output than the .Net
+version. Here is the code we use for producing the transformed xml document:
+
+XslCompiledTransform xslCompiledTransform = new XslCompiledTransform();
+ xslCompiledTransform.Load(inputXslFile);
+ XmlWriterSettings writerSettings =
+Fanfare.Foundation.Document.Document.GetXmlWriterSettings();
+ XmlWriter writer = XmlWriter.Create(outputFile, writerSettings);
+ XmlReaderSettings readerSettings =
+Fanfare.Foundation.Document.Document.GetXmlReaderSettings();
+ XmlReader reader = XmlReader.Create(inputXmlFile, readerSettings);
+ xslCompiledTransform.Transform(reader, arguments, writer);
+ reader.Close();
+ writer.Close();
+
+
+The transform and the input xml file are enclosed.
More information about the mono-bugs
mailing list