This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
- To: "XSL-List" <XSL-List at lists dot mulberrytech dot com>
- Subject: RE: [xsl] javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
- From: "Monte Hayward" <monte at singingfish dot com>
- Date: Wed, 21 Mar 2001 19:20:09 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
>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