XSLTC doesn't support named templates?
Posted: Mon Dec 13, 2004 10:01 pm
Sorry if this is an inappropriate post..
I'm trying to compile a stylesheet and and having problems. Here's a sample..
This works..
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*" />
</xsl:stylesheet>
This doesn't
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*" name="wtf" />
</xsl:stylesheet>
I get this error (from the parser):
java.lang.NoSuchMethodError: org.apache.xml.utils.XMLChar.isValidQName(Ljava/lang/String;)Z
Does XSLTC not support named templates?
Here's the cmd I'm using to compile..
java org.apache.xalan.xsltc.cmdline.Compile -d /home/ryan -j test.jar -x /home/ryan/test.xslt
I'm trying to compile a stylesheet and and having problems. Here's a sample..
This works..
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*" />
</xsl:stylesheet>
This doesn't
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*" name="wtf" />
</xsl:stylesheet>
I get this error (from the parser):
java.lang.NoSuchMethodError: org.apache.xml.utils.XMLChar.isValidQName(Ljava/lang/String;)Z
Does XSLTC not support named templates?
Here's the cmd I'm using to compile..
java org.apache.xalan.xsltc.cmdline.Compile -d /home/ryan -j test.jar -x /home/ryan/test.xslt