Project

Profile

Help

Bug #4281

closed

Further problems with base URI and xi:include

Added by Michael Kay over 4 years ago. Updated over 4 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2019-08-14
Due date:
% Done:

0%

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

Description

This was raised as a continuation of bug #3530 but I'm transferring it to a new thread.

Hi,

I have now a similar issue with nested XIncludes using Saxon-HE-9.9.1-4.jar (from commandline).

root.xml:

<root xmlns:xi="http://www.w3.org/2001/XInclude">
    <xi:include href="subfolder/child.xml"/>
</root>

subfolder/child.xml:

<child xmlns:xi="http://www.w3.org/2001/XInclude">
    <xi:include href="otherchild.xml"/>
</child>

subfolder/otherchild.xml:

<otherchild/>

xsl: same as Patrick's.

Output:

root: file:/[...]/root.xml
child: file:/[...]/subfolder/child.xml
otherchild: file:/[...]/subfolder/subfolder/otherchild.xml

I tested also with Saxon-HE-9.8.0-12.jar on commandline with the same result.

Calling the HE-9.8.0-12 inside of Oxygen 20.1 I get:

root: file:/[...]/root.xml
child: file:/[...]/subfolder/subfolder/child.xml
otherchild: file:/[...]/subfolder/otherchild.xml

Strange...

Thanks & Best Regards,

Nico

Please register to edit this issue

Also available in: Atom PDF