XSLTC doesn't support named templates?
Here should go questions about transforming XML with XSLT and FOP.
XSLTC doesn't support named templates?
Post by reyonman »
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Java 1.4 is distributed with an old version of Xalan. I guess that you are using that old version. You can find more information and a solution at:
http://xml.apache.org/xalan-j/faq.html#faq-N100CC
Best Regards,
George
Java 1.4 is distributed with an old version of Xalan. I guess that you are using that old version. You can find more information and a solution at:
http://xml.apache.org/xalan-j/faq.html#faq-N100CC
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service