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

RE: javax.xml.transform.TransformerConfigurationExcept

Subject: RE: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
From: "Monte Hayward" <monte@xxxxxxxxxxxxxxx>
Date: Wed, 21 Mar 2001 19:20:09 -0800
javax.xml.transform.transformerconfigurationexcept
>I was using Apache xalan & xerces jars. Now I am using SUN parsers(jaxp.jar,
>parser.jar ) & Xalan.jar. I get an exception during creation of
>transformer.

>javax.xml.transform.TransformerConfigurationException: Namespace not
>supported by SAXParser

Satish,
One source of this error is an XML Parser somewhere in your classpath that does not support Sax 2.
I removed this problem by eliminating the following from my classpath:
jaxp.jar
parser.jar
xt.jar (I did not have this one, but others have.)

These can hide in your TomCat or Ant installations, etc.

Another dev told me that since Tomcat uses XML for its config files, it contains an XML parser itself,and the problem is only fixed
by a Tomcat version upgrade. However, the problem for me went away when I eliminated those JARS. That would seem to indicate that
Tomcat will uses Xerces for its internal parsing needs?

Good luck.
--Monte


 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.