Bug #2767
closedXSLT 3.0 mode with on-no-match="shallow-copy" does not copy namespace nodes
100%
Description
New test case mode-0016. When an element is copied as a result of xsl:mode on-no-match="shallow-copy", its namespace nodes should be copied. This is not happening.
Updated by Michael Kay over 8 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.7, 9.8 added
Fixed on the 9.7 and 9.8 branches (one-line change to ShallowCopyRuleSet.java).
Test case mode-0016 added to XSLT3 test set.
Updated by Michael Kay over 8 years ago
- Status changed from Resolved to In Progress
- Assignee changed from Michael Kay to Debbie Lockett
Not yet fixed for Saxon-JS, therefore leaving open for now.
Updated by John Lumley over 8 years ago
The same issue was apparent from on-no-match="deep-copy" with a document node as context. I think DeepCopyRuleSet#49 should be ALL_NAMESPACES, rather than NO_NAMESPACES - this then produces the equivalent result to copy-of.
Changes commited to 9.7 and 9.8 branches.
Updated by Michael Kay over 8 years ago
Thanks, John, did you create a test case for that one?
Updated by Debbie Lockett over 8 years ago
- Status changed from In Progress to Resolved
Closing since there is no issue for Saxon-JS; the tests pass.
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.6 added
Bug fixed in maintenance release 9.7.0.6.
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue