Bug #3264
closedXTSE0550 for @mode tokens with multiple spaces
100%
Description
Hi,
With the attached stylesheets, Saxon 9.7 runs fine:
C:>java -classpath Saxon\saxon9ee.jar net.sf.saxon.Transform -im:a -t -s:test.xsl -xsl:test.xsl
Saxon-EE 9.7.0.18J from Saxonica
Java version 1.8.0_131
Using license serial number V005669
...
Execution time: 33.347129msMemory used: 47823080
But 9.8 generates a static error:
C:>java -classpath SaxonEE9-8-0-1J\saxon9ee.jar net.sf.saxon.Transform -im:a -t -s:test.xsl -xsl:test.xsl
Saxon-EE 9.8.0.1J from Saxonica
Java version 1.8.0_131
Using license serial number V005669
...
Static error at xsl:template on line 4 column 38 of test.xsl:
XTSE0550: Invalid QName {}
Errors were reported during stylesheet compilation
Updated by Michael Kay over 7 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.8, trunk added
The code at XSLTemplate line 423 reads
Whitespace.trim(modeAtt).split("[ \t\n\r]")
which should be
Whitespace.trim(modeAtt).split("[ \t\n\r]+")
Made modifications to various XSLT30 tests to vary the whitespace in the mode attribute.
Updated by O'Neil Delpratt over 7 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.8.0.2 added
Patch applied in the Saxon 9.8.0.2 maintenance release
Please register to edit this issue