[Mono-bugs] [Bug 52729][Wis] New - Managed XSLT and encodings

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 9 Jan 2004 20:05:31 -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 gonzalo@ximian.com.

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

--- shadow/52729	2004-01-09 20:05:31.000000000 -0500
+++ shadow/52729.tmp.19692	2004-01-09 20:05:31.000000000 -0500
@@ -0,0 +1,91 @@
+Bug#: 52729
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Managed XSLT and encodings
+
+Apply the transform to the xml file (attached):
+(MONO_UNMANAGED_XSLT is not exported)
+
+mono mono/doc/web/transform.exe encoding.xml encoding.xsl
+
+Actual results:
+Unhandled Exception: System.InvalidOperationException: Token content in
+state Prolog would result in an invalid XML document.
+in [0x00016] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml/XmlTextWriter.cs:804)
+System.Xml.XmlTextWriter:WriteString (string)
+in [0x00007] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XmlWriterEmitter.cs:87)
+Mono.Xml.Xsl.XmlWriterEmitter:WriteString (string)
+in [0x00029] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/GenericOutputter.cs:289)
+Mono.Xml.Xsl.GenericOutputter:WriteString (string)
+in [0x00048] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTemplate.cs:393)
+Mono.Xml.Xsl.XslDefaultTextTemplate:Evaluate
+(Mono.Xml.Xsl.XslTransformProcessor,System.Collections.Hashtable)
+in [0x00031] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTransformProcessor.cs:209)
+Mono.Xml.Xsl.XslTransformProcessor:ApplyTemplates
+(System.Xml.XPath.XPathNodeIterator,System.Xml.XmlQualifiedName,System.Collections.ArrayList)
+in [0x00025] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslApplyTemplates.cs:72)
+Mono.Xml.Xsl.Operations.XslApplyTemplates:Evaluate
+(Mono.Xml.Xsl.XslTransformProcessor)
+in [0x0003c] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslTemplateContent.cs:161)
+Mono.Xml.Xsl.Operations.XslTemplateContent:Evaluate
+(Mono.Xml.Xsl.XslTransformProcessor)
+in [0x000ce] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTemplate.cs:335)
+Mono.Xml.Xsl.XslTemplate:Evaluate
+(Mono.Xml.Xsl.XslTransformProcessor,System.Collections.Hashtable)
+in [0x00031] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTransformProcessor.cs:209)
+Mono.Xml.Xsl.XslTransformProcessor:ApplyTemplates
+(System.Xml.XPath.XPathNodeIterator,System.Xml.XmlQualifiedName,System.Collections.ArrayList)
+in [0x00015] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTemplate.cs:359)
+Mono.Xml.Xsl.XslDefaultNodeTemplate:Evaluate
+(Mono.Xml.Xsl.XslTransformProcessor,System.Collections.Hashtable)
+in [0x00031] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTransformProcessor.cs:209)
+Mono.Xml.Xsl.XslTransformProcessor:ApplyTemplates
+(System.Xml.XPath.XPathNodeIterator,System.Xml.XmlQualifiedName,System.Collections.ArrayList)
+in [0x0011b] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/Mono.Xml.Xsl/XslTransformProcessor.cs:77)
+Mono.Xml.Xsl.XslTransformProcessor:Process
+(System.Xml.XPath.XPathNavigator,Mono.Xml.Xsl.Outputter,System.Xml.Xsl.XsltArgumentList,System.Xml.XmlResolver)
+in [0x00022] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml.Xsl/ManagedXslTransform.cs:50)
+System.Xml.Xsl.ManagedXslTransform:Transform
+(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter,System.Xml.XmlResolver)
+in [0x0000b] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml.Xsl/Multiplexer.cs:178)
+System.Xml.Xsl.XslTransform:Transform
+(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter,System.Xml.XmlResolver)
+in [0x0000f] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml.Xsl/Multiplexer.cs:90)
+System.Xml.Xsl.XslTransform:Transform
+(System.Xml.XPath.IXPathNavigable,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
+in <0x000b9> Transform.Transform:Main (string[])
+
+Expected results:
+<?xml version="1.0"?>
+Za&#x17C;&#xF3;&#x142;&#x107; g&#x119;&#x15B;l&#x105; ja&#x17A;&#x144;.<br/>
+
+Additional information:
+works with unmanaged xslt