Actions
Bug #4886
closedError "Cannot copy a variable reference whose binding is unknown" when using inline variables in specific situation
Start date:
2021-01-29
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:
Description
Hi,
In some of my stylesheet transformations a Java exception is thrown with the message "Cannot copy a variable reference whose binding is unknown". I tried to create a simple example in which the error can be reproduced. The error seems to occur when:
- The variable reference is an inline variable (expand-text="yes")
- The template in which the variable is used has both a name and match attribute.
- The template is in an included/imported stylesheet and the variable is declared in the including/importing stylesheet.
The transformation can be executed using the command:
java -jar saxon-he-10.3.jar -s:source.xml -xsl:including.xsl
All files are attached
Regards, Maarten
Files
Please register to edit this issue
Actions