This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: msxml svg utf-16
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] msxml svg utf-16
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Fri, 13 Jul 2001 10:04:50 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
>xdyang@eng.auburn.edu
>Sent: 12 July 2001 18:22
>To: XSL-List@lists.mulberrytech.com
>Subject: [xsl] 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