Project

Profile

Help

Bug #3722

closed

XPST0008 on 9.8.0.10: failure to resolve a forwards reference to a global variable in the select expression of a template xsl:param

Added by T Hata about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2018-03-17
Due date:
% Done:

100%

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

Description

  1. Get the latest master (commit ae7727a) here: https://github.com/transpect/css-tools

  2. Compile it with 9.8.0.8. OK:

P:\css-tools-master\xsl>java -cp saxon9ee.jar net.sf.saxon.Transform -nogo -t -xsl:REx_css-parser.xsl
Saxon-EE 9.8.0.8J from Saxonica
Java version 1.8.0_161
Using license serial number V......
...
Stylesheet compilation time: 1.813896s (1813.896658ms)
  1. Compile the same one with 9.8.0.10:
P:\css-tools-master\xsl>java -cp saxon9ee.jar net.sf.saxon.Transform -nogo -t -xsl:REx_css-parser.xsl
Saxon-EE 9.8.0.10J from Saxonica
Java version 1.8.0_161
Using license serial number V......
...
Static error at char 6 in xsl:param/@select on line 702 column 62 of REx_css-parser.xsl:
  XPST0008: Variable input has not been declared (or its declaration is not in scope)
Errors were reported during stylesheet compilation

The only difference is Saxon build. So I guess something may be wrong in 9.8.0.10.


Related issues

Related to Saxon - Bug #3691: Bad parent pointer error messageClosedMichael Kay2018-02-20

Actions

Please register to edit this issue

Also available in: Atom PDF