fn:snapshot applied to namespace and attribute nodes
The test snapshot-0102a produces incorrect results, when run with either compiler.
Updated by Michael Kay over 1 year ago
- Status changed from New to Resolved
- Applies to JS Branch 2, Trunk added
- Fix Committed on JS Branch 2, Trunk added
item to the parent of the namespace node, which in this case is the document element
line #2062 says that when we have processed all the ancestors of
item, we then send a deep copy of
item to the result. This effectively takes a snapshot of the parent of the namespace node, not of the namespace node itself.
Further exploration shows that the same problem applies to attributes.
Please register to edit this issue