some problems
within the XSLs, and Xalan doesn't give very good error messages. Is
there any
way to put Xalan on debug or trace mode or something else?, it's
almost impossible to find the
problems with those messages. i.e.:
This is /xsl/template/list.xsl
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:Date="jav a.util.Date"
xmlns:StringBuf fer="java.lang. StringBuffer"
xmlns:parser="e s.bfc.xslt.Pars er"
exclude-result-prefixes="Date StringBuffer parser">
<xsl:variable name="updateDat a" select="StringB uffer:new(' ')"/<!--
LINE 17 -->
<!-- Some code -->
<xsl:text disable-output-escaping="yes"> <script
language="javas cript"></xsl:text>
function setSelectedSele ctionCriteriaFi elds(){
<xsl:value-of select="$update Data" disable-output-escaping="yes" /
<!-- LINE 327 -->}
<xsl:text disable-output-escaping="yes"> </script></xsl:text>
</xsl:stylesheet>
This is the error:
file:///xsl/template/list.xsl; Line #17; Column #66;
java.lang.Illeg alArgumentExcep tion
file:///xsl/template/list.xsl; Line #327; Column #72;
java.lang.NullP ointerException
Why an empty string throws an IllegalArgument Exception? WHY?!! :(