tomcal/xsl - problems with xsl:include

K

Klaus Friese

Hi,

i have a servlet and i'm creating my HTML output with XSLT and XML.
It's working fine with tomcat 3.3 and at the moment i am trying to
transfer my servlet to tomcat 4 and 5.
Now i have a problem with <xsl:include>. When i'm using include (or
import), tomcat is throwing an exception:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
org.apache.xml.utils.URI$MalformedURIException: No scheme found in URI
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Line
767) in TransformerFactoryImpl.java

I can insert the file in my main XSL file an it works fine, so the
problem must be the <xsl:include>.

This is my XSL-Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:include href="produktfarben.xsl"/>

thanks for any help
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top