Project

Profile

Help

Bug #2767

closed

XSLT 3.0 mode with on-no-match="shallow-copy" does not copy namespace nodes

Added by Michael Kay almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2016-06-01
Due date:
% Done:

100%

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

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.

Actions #1

Updated by Michael Kay almost 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.

Actions #2

Updated by Michael Kay almost 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.

Actions #3

Updated by John Lumley almost 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.

Actions #4

Updated by Michael Kay almost 8 years ago

Thanks, John, did you create a test case for that one?

Actions #5

Updated by Debbie Lockett almost 8 years ago

  • Status changed from In Progress to Resolved

Closing since there is no issue for Saxon-JS; the tests pass.

Actions #6

Updated by O'Neil Delpratt almost 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.

Actions #7

Updated by O'Neil Delpratt almost 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)
Actions #8

Updated by O'Neil Delpratt almost 7 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF