Project

Profile

Help

Bug #2944

closed

Use of xsl:sequence within copy situations is node-destructive

Added by John Lumley about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2016-09-17
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

When @$nodes instance of node()*@, then the following:

<a><xsl:sequence select="$nodes/></a>
<b><xsl:sequence select="$nodes/></b>

inserts $nodes only into the second element - within Dom node-insertion removes nodes from any trees they were in previously. With xsl:copy-of the behaviour is as expected.

Please register to edit this issue

Also available in: Atom PDF Tracking page