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

RE: getting a "Namespace not supported by SAXParser" e

Subject: RE: getting a "Namespace not supported by SAXParser" error
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 2 Apr 2002 10:18:25 +0100
namespace not supported by saxparser
This problem is well-known in the case of using Tomcat 3 with Saxon; it
arises because Tomcat asks for the default XML parser, and then asks that
parser not to do namespace processing; it fails if the classpath and system
properties are configured to select a default parser that doesn't support
this option.

You can fix it by fiddling with your classpath and/or system properties, or
by upgrading to Tomcat 4.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Frank Shen
> Sent: 02 April 2002 02:02
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  getting a "Namespace not supported by SAXParser" error
>
>
> I call Transformer.transform() on my local machine
> fine.
> But when I deploy my class to Tomcat running on a sun
> box, I got the following error.
>
> javax.xml.parsers.ParserConfigurationException:
> Namespace not supported by SAXParser
>         at
> com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.java:60)
>         at
> com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParser
> FactoryImpl.java:57)
>         at
> org.apache.xalan.processor.TransformerFactoryImpl.newTemplates
> (TransformerFactoryImpl.java:899)
>         at
> org.apache.xalan.processor.TransformerFactoryImpl.newTransform
> er(TransformerFactoryImpl.java:750)
>         at
> cybersurf.xml.XmlParser.transformXMLToHtml(XmlParser.java:72)
> ...........
>
> Is that because Tomcat doesn't find xalan.jar and
> xerces.jar or tomcat version conflict? I use Tomcat4.0
> at home but Tomcat3.2.1 on sun box.
>
>
> Thanks for any input.
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - send holiday greetings for Easter, Passover
> http://greetings.yahoo.com/
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.