[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: msxml svg utf-16
Yes, It happens if the result of a transformation ends up in a string. Strings are utf-16 encoded. To avoid it send the result of the transform to a stream object. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of >xdyang@xxxxxxxxxxxxxx >Sent: 12 July 2001 18:22 >To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx >Subject: msxml svg utf-16 > > >With MSXML2 it insisted on outputting ><?xml version="1.0" encoding="UTF-16" standalone="yes"?> > even though i had <xsl:output method="xml" encoding="UTF-8" indent="yes" >doctype-system="-//W3C//DTD SVG 20000303 Stylable//EN" >doctype-public="<http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/s >vg-2000030 3- >stylable.dtd" standalone="yes" /> in my stylesheet which caused an error: >encoding specified in XML declaration is incorrect: line1, column 30 > If you remove the encoding then it works fine. > >anybody who meet the same problem, thank you > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|