Project

Profile

Help

Bug #3264

closed

XTSE0550 for @mode tokens with multiple spaces

Added by Michael Kay over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2017-06-12
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:

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.347129ms

Memory 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

Actions #2

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.

Actions #3

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

Also available in: Atom PDF