Bug #4793
closedxsl:copy-of with copy-namespaces="no" not working
100%
Description
In response to a message from Martin Honnen, XSLT3 test case copy-5101 has been created which shows xsl:copy-of
with copy-namespaces="no"
not working.
https://saxonica.plan.io/boards/3/topics/8011?pn=1
The specific circumstances are that Saxon creates a virtual copy of the original, a wrapper whose methods should reflect the differences from the original including the absence of namespaces. But the NodeInfo.copy()
method on the virtual copy (which is invoked by the serialize() function to send the node to a serializer) is simply copying the original, unchanged.
Updated by Michael Kay about 4 years ago
- Status changed from New to In Progress
Fixed by adding to VirtualCopy.copy()
:
if (dropNamespaces) {
copyOptions &= ~CopyOptions.ALL_NAMESPACES;
}
Needs regression testing.
Updated by Michael Kay about 4 years ago
- Category set to XSLT conformance
- Status changed from In Progress to Resolved
- Priority changed from Low to Normal
- Applies to branch 10, trunk added
- Fix Committed on Branch 10, trunk added
Fix committed
Updated by Michael Kay about 4 years ago
- Applies to branch 9.9 added
- Fix Committed on Branch 9.9 added
I've also committed the patch for 9.9.
Updated by O'Neil Delpratt about 4 years ago
- Fixed in Maintenance Release 9.9.1.8 added
Bug fix applied on the Saxon 9.9.1.8 maintenance release. Leaving open until applied on the Saxon 10 maintenance release.
Updated by O'Neil Delpratt about 4 years ago
Bug fix applied in the Saxon 10.3 maintenance release
Updated by O'Neil Delpratt about 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.3 added
Please register to edit this issue