Project

Profile

Help

Bug #3231

closed

Default treatment of Atomic items in text-only-copy incorrect

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-05-22
Due date:
% Done:

100%

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

Description

For non-node items, the built-in text-only-copy rules currently return an iterator to the item. For atomic values this should involve a cast to a text node, as detailed in https://www.w3.org/TR/xslt-30/#built-in-templates-text-only-copy.

Note that this error may have 'corrected' errors in dealing with text-nodes in Expr.makeComplexContent() as raised in https://saxonica.plan.io/issues/3139, so some XSLT tests (such as @next-match-027@) may have passed due to a 'double-negative'. This will be investigated.

Please register to edit this issue

Also available in: Atom PDF Tracking page