Bug #4778
closedsnapshot() function applied to a namespace node fails with internal error
100%
Description
When the argument to snapshot()
is a namespace node (XSLT3 test case snapshot-0102a), Saxon-JS fails with an internal error: snapshot: failed to find marked node
.
Updated by Michael Kay about 4 years ago
Looking at the code, I couldn't see how snapshot()
was supposed to work with attribute nodes, so I created test snapshot-0101e, and that one fails too, in the same way.
Updated by Michael Kay about 4 years ago
- Category set to XSLT Conformance
- Status changed from New to Resolved
- Priority changed from Low to Normal
- Applies to JS Branch 2.0, Trunk added
- Fix Committed on JS Branch 2.0, Trunk added
I fixed the snapshot() code so 0101e, which targets attribute nodes, now passes.
Because 0102a is a rather complex test case and hard to debug, I set up snapshot-0101f, which takes a snapshot of a single namespace node.
Both this and 0102a are now passing.
Updated by Community Admin almost 4 years ago
- Applies to JS Branch 2 added
- Applies to JS Branch deleted (
2.0, Trunk)
Updated by Community Admin almost 4 years ago
- Fix Committed on JS Branch 2 added
- Fix Committed on JS Branch deleted (
2.0, Trunk)
Updated by Debbie Lockett almost 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 2.1
Bug fix applied in the Saxon-JS 2.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page