Hi,

            I have tried switching to xerces parser using the -y option in the command prompt, I am getting the following error

 

This is my command line

 

c:\SupplyWeb6.0.15\BPO>java com.icl.saxon.StyleSheet -x SAXParser -o bpo_final.xml bpo_inter2.xml poblanket-xsl6.0.15EE.xsl

and this is the error that I am getting

 

Exception in thread "main" javax.xml.transform.TransformerFactoryConfigurationError: javax.xml.transform.TransformerException: Failed to load SAXParser

        at com.icl.saxon.TransformerFactoryImpl.makeParser(TransformerFactoryImpl.java:549)

        at com.icl.saxon.TransformerFactoryImpl.getStyleParser(TransformerFactoryImpl.java:518)

        at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:320)

        at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)

 

I am using SAXON 6.5.2 with JDK1.3

Pls Help

Rgds

Keerthi

 

 

-----Original Message-----
From: Michael Kay [mailto:mhk@mhk.me.uk]
Sent
:
Thursday, April 10, 2003 1:39 AM
To: Keerthi_Venkataraman; saxon-help@lists.sourceforge.net
Subject: RE: [saxon] Problems with Saxon [iso-8859-2 encoding]

 

The AElfred parser, which is the default XML parser used by Saxon 6.5.2, has never supported ISO-8859-2. For a list of encodings that it does support, see http://saxon.sourceforge.net/saxon6.5.2/conformance.html

 

If you want to use this encoding, you can configure Saxon to use a different XML parser.

 

I've no idea, of course, why it was apparently working before. Perhaps you weren't actually using Saxon at all - it isn't unusual for people to be running Xalan when they think they are running Saxon, and vice versa. But character encoding on the input file is a matter for the XML parser, not for the XSLT processor.

 

PS. "Problems with Saxon" as a subject line isn't going to help people who are searching the archive.

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:
08 April 2003 11:00
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Problems with Saxon

Hi,

     We are using your utility saxon.jar for a stylesheet transformation. We are using saxon to convert an iso-8859-2

 Compatible XML to a ISO-8859-1 XML file. This was working fine for the past 6 months. But a month back, it keeps

 giving me an error

 Fatal error reported by XML parser: unsupported ASCII-derived encoding (found "ISO-8859-2") (expected "UTF-8, US-ASCII, or  ISO-8859-1")

 

 

 

Rgds

Keerthi Venkataraman

 

 

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

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.

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