Project

Profile

Help

Bug #5602

closed

Namespace prefix not taken from context

Added by Octavian Nadolu over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2022-07-13
Due date:
% Done:

100%

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

Description

It I transform the attached test.xml with test.xsl, using Saxon HE 11.3, the resulting document is something like this:

<test xmlns:ns0="http://www.oxygenxml.com/schematron/validation" ns0:elementURI="base-uri()"/>

If I perform the same transformation with Saxon HE 10.6, the resulting document is something like this:

<test xmlns:oxy="http://www.oxygenxml.com/schematron/validation" oxy:elementURI="base-uri()"/>

It seems that in Saxon 11.3 the namespace declaration from the XSL document is not used anymore for the result.


Files

test.xsl (464 Bytes) test.xsl Octavian Nadolu, 2022-07-13 15:00
test.xml (59 Bytes) test.xml Octavian Nadolu, 2022-07-13 15:00

Please register to edit this issue

Also available in: Atom PDF