This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xalan encoding issues?
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 04 Oct 2002 13:46:59 +0200
- Subject: Re: [xsl] xalan encoding issues?
- References: <F48MpxawpRGoKMfkbBq0000aee5@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Laura,
I'm not an encoding specialist, but I can answer some of your questions.
Laura Jenkins wrote:
Hello,
Can anyone tell me if there are any specific rules about the character
encoding.
following are my questions.
1.Does Xalan allow all kinds of character encoding or just some specific
encodings ?
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
1. Having an xml declaration with encoding in the xsl??
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,
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
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