You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Matt Louden <ap...@yahoo.com> on 2004/04/12 04:36:53 UTC
XSLT Error: java.lang.ExceptionInInitializerError: null
I run the xalan-java v2.60 command line:
java org.apache.xalan.xslt.Process -in test.xml -xsl test.xsl -out test.html
But it has the following error:
(Location of error unknown)XSLT Error (java.lang.ExceptionInInitializerError): null
test.html is created, but it is a blank file. Any ideas??
//------------- test.xml ---------------------
<source>
<title>XSL</title>
<author>John Smith</author>
</source>
//------------- test.xsl ---------------------
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match="/">
<h1>
<xsl:value-of select="//title"/>
</h1>
<h2>
<xsl:value-of select="//author"/>
</h2>
</xsl:template>
</xsl:stylesheet>
---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
Re: XSLT Error: java.lang.ExceptionInInitializerError: null
Posted by Morris Kwan <mk...@ca.ibm.com>.
If you use JDK 1.4, please remember to follow the instructions in this FAQ
(http://xml.apache.org/xalan-j/faq.html#faq-N100CC). If you still see the
error, add the -EDUMP option to the process command line to print out the
full stack trace.
Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: mkwan@ca.ibm.com
Matt Louden
<ap...@yahoo.com>
To
04/11/2004 10:36 xalan-j-users@xml.apache.org
PM cc
Subject
XSLT Error:
java.lang.ExceptionInInitializerErr
or: null
I run the xalan-java v2.60 command line:
java org.apache.xalan.xslt.Process -in test.xml -xsl test.xsl -out
test.html
But it has the following error:
(Location of error unknown)XSLT Error
(java.lang.ExceptionInInitializerError): null
test.html is created, but it is a blank file. Any ideas??
//------------- test.xml ---------------------
<source>
<title>XSL</title>
<author>John Smith</author>
</source>
//------------- test.xsl ---------------------
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match="/">
<h1>
<xsl:value-of select="//title"/>
</h1>
<h2>
<xsl:value-of select="//author"/>
</h2>
</xsl:template>
</xsl:stylesheet>
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.