[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xalan encoding issues?

Subject: Re: xalan encoding issues?
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 04 Oct 2002 13:46:59 +0200
xalan default encoding
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@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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.