Hi!

I’m using xalan 2.7.1 to compile an xslt file. The file has a (deliberate)
compilation error, which causes xalan to throw
TransformerConfigurationException. However, the methods
TransformerConfigurationException.getLocationAsString() and
TransformerConfigurationException.getLocator() both return null, hiding the
specific line number/column number where the error occurred.

getCause() and getException() return null too, if these information are of
any relevance here.

Is there a knob that I’m missing? Or it is not supported in xalan-j 2.7.1?

Here’s a snippet of the offending xslt code (note </y:item> appears at a
place where </y:meta> is expected):

<snip>
                 <y:meta property="*
http://www.w3c.org/page_content";><xsl:value-of*select="html/body"/></y:item></y:meta>
</snip>

Thanks in advance!

Regards,
Soubhik.

-- 
Soubhik Bhattacharya

Reply via email to