Project

Profile

Help

Bug #2209

closed

Namespace Fixup doesn't work for default namespace when input is TinyTree and result is TinyBuilder and

Added by Mateusz Nowakowski over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2014-11-05
Due date:
% Done:

100%

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

Description

Namespace Fixup for xsl:copy-of doesn't work for children with no namespace prefix

when input is TinyTree DocumentInfo and output is TinyBuilder.

It works when either input is W3C DOM or output is DomResult.

See provided CopyXSLTest and test_output.txt

PS.

CopyXSLTest contains plenty of code needed to convert from TinyTree to/from other source types.

Is there easier way to do iy? or is it possible to include these util methods to Saxon itself?


Files

Copy.xsl (1.01 KB) Copy.xsl Mateusz Nowakowski, 2014-11-05 14:49
before.xml (1.06 KB) before.xml input xml Mateusz Nowakowski, 2014-11-05 14:49
test_output.txt (4.78 KB) test_output.txt test result Mateusz Nowakowski, 2014-11-05 14:49
CopyXSLTest.java (8.01 KB) CopyXSLTest.java test source code Mateusz Nowakowski, 2014-11-05 14:49

Please register to edit this issue

Also available in: Atom PDF