I have tried the -x option . I am getting the same error.  

 

Pls Help!!

 

-----Original Message-----
From: Michael Kay [mailto:mhk@mhk.me.uk]
Sent
:
Friday, April 11, 2003 5:25 PM
To:
Keerthi_Venkataraman; saxon-help@lists.sourceforge.net
Subject: RE: [saxon] Error while Switching to XERCES parser

 

The -y option selects Xerces for parsing the stylesheet. If iso-8859-2 is used in the source document, you should use the -x option, this selects the parser for the source document.

 

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Keerthi_Venkataraman
Sent:
11 April 2003 11:11
To: Michael Kay; saxon-help@lists.sourceforge.net
Subject: [saxon] Error while Switching to XERCES parser

Hi,

I am right now using the XERCES PARSER, this is how I am using SAXON in the command line

 

 

E:\SupplyWeb6.0.15\BPO>java com.icl.saxon.StyleSheet -y org.apache.xerces.parsers.SAXParser -o bpo_final.xml bpo_inter4.xml poblanket-xsl6.0.15EE.xsl

 

 

But I am getting the following error

 

Error on line 0 column 0 of null:

Error reported by XML parser: The encoding "ISO-8859-2" is not supported.

Transformation failed: Run-time errors were reported

 

I do know that XERCES supports ISO-8859-2. Pls let me know if I am using the parameters in the command line correctly

 

 

Rgds

Keerthi

 

 

 

**************************************************************************

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

**************************************************************************

**************************************************************************

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

**************************************************************************