You are have a jaxp library in your path before the classpath for Xalan. Are
you using tomcat? 

-- bk


>  -----Original Message-----
> From:         Jim Urban [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, June 25, 2001 12:21 PM
> To:   [EMAIL PROTECTED]
> Subject:      Problem with Xalan 2.1.0
> 
> I installed Xalan 2.1.0  When I try to run a sample XML file I get the
> following error:
> 
> XSLT Error (javax.xml.transform.TransformerConfigurationException):
> Namespace not supported by SAXParser
> 
> My command line is:  java org.apache.xalan.xslt.Process -IN foo.xml -OUT
> foo.out -XSL foo.xsl
> 
> I am running with JDK 1.3 on Win NT 4.0
> My classpath includes:
> D:\xalan-j_2_1_0\bin\xalan.jar;D:\xalan-j_2_1_0\bin\xerces.jar;
> 
> My XML file looks like this:
> 
> <?xml version="1.0"?>
> <doc>Hello</doc>
> 
> 
> My xsl file looks like this:
> 
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> version="1.0">
> <xsl:template match="doc">
> <out><xsl:value-of select="."/></out>
> </xsl:template>
> </xsl:stylesheet>
> 
> 
> What am I doing wrong?  
> BTW:  These files work with Xalan 1.2.2 without any errors.
> 
> Jim Urban
> Product Manager
> Netsteps Inc.
> Suite 505E
> 1 Pierce Pl.
> Itasca, IL  60143
> Voice:  (630) 250-3045 x2164
> Fax:  (630) 250-3046
> 

Reply via email to