trying to get XSLT 2.1 to work (and failing under Win)
Posted: Tue Jan 18, 2011 1:48 am
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:mode streamable="yes"/>
<xsl:template match="/">
<gizmo/>
</xsl:template>
</xsl:stylesheet>
SystemID: C:\cygwin\home\Piotr\SVN\octc\trunk\tools\xsl\test.xsl
Engine name: Saxon-EE 9.3.0.4
Severity: error
Description: java.lang.NullPointerException
No other information. However, under Ubuntu 10.10 (same oXygen, same Saxon, same options, as far as I can see), it yields the proper output, namely:
<?xml version="1.0" encoding="UTF-8"?><gizmo/>
What's so bad about the Windows version? Where can I look for a more verbose error report, please? (OR: can someone please run the stylesheet under Windows to see what happens? Note @version="3.0"; for "2.1", the processor warned me that it was not an XSLT 2.1 processor)
Thanks!