[xslt] Errors that provide no location information



It's inconvenient (in direct proportion to the size of
the input XSLT) when an error provides no information
about where the error happened. For example:

=================================================
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.1"
>

<xsl:template match="DescriptionList">
    <xsl:if test="">
    </xsl:if>
</xsl:template>

</xsl:stylesheet>
=================================================

[C:\rlb\computer\software\utilities\wuild\docs]xsltproc foo.xsl
XPath error Invalid expression

^


Is there any easy fix that would improve the error
reporting here?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]