Actions
Bug #5807
closedcurrent() does not work when invoked via xsl:evaluate
Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-01-11
Due date:
% Done:
0%
Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
When passing the following expression to @xpath
of xsl:evaluate
in SaxonJS, instance('i2')/month[@code = current()]
, I get the error "The current() construct is not implemented in SaxonJS"
- Stylesheet location (context): https://github.com/Saxonica/Saxon-Forms/blob/5ab05598219361cfb56b730da9d30409b0726cf1/src/saxon-xforms.xsl#L1468-L1481
- See also: https://github.com/Saxonica/Saxon-Forms/issues/20
- Normative reference: https://www.w3.org/TR/xforms11/#fn-current
Note that this error is masked by another error related to namespace declarations, which is more fully described in Saxon-Forms #20. (the error can be suppressed by removing the @namespace-context
from xsl:evaluate
).
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page