Re: xalan encoding issues?
I'm not an encoding specialist, but I can answer some of your questions.
Laura Jenkins wrote:
I don't know exactly, but there was a thread on the Cocoon mailing list about Xerces (which is the parser, not Xalan) and Mac encoding. AFAIK they got it and Xerces excepts all JVM encodings.
2.If the encoding is not specified in the xml file, what does xalan assume as a default encoding?
Xerces expects UTF-8 as default.
3.If i do not specify the encoding in my xml file, and if the xml has for example arabic or polish characters,would it still open in my IE?(what would IE assume the default Character coding )
If the content of the file is correct to the encoding declaration (even if it's the default UTF-8) then yes.
4. If the XML file is has an encoding iso-8859-1 and if the xml is a valid xml, what is the effect of
It has no effect on the input XML, it's only the encoding of the XSL file, which is also XML.
2. Having an xsl:output with encoding specified?
The output of the transformation will be in the specified encoding. Has again nothing to do with input.
Thank you very much
No problem. Regards,
System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
VIRBUS hat jetzt als erster deutscher Softwarehersteller die Zertifizierung für den 3D Secure-Authentifizierungsstandard "Verified by Visa" erhalten. Details unter http://www.virbus.de/de/press/pressemitteilung/20020828_verified_by_VISA.
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