Project

Profile

Help

Bug #4793

closed

xsl:copy-of with copy-namespaces="no" not working

Added by Michael Kay about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2020-10-10
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 9.9, trunk
Fix Committed on Branch:
10, 9.9, trunk
Fixed in Maintenance Release:
Platforms:

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.

Please register to edit this issue

Also available in: Atom PDF