Hash :
6e3a2ac6
Author :
Date :
2023-12-22T21:38:50
xinclude: Rework xml:base fixup The xml:base fixup was broken in more complex cases. Also avoid parsing and building the included URI multiple times.
<?xml version="1.0"?>
<doc xmlns:xi="http://www.w3.org/2003/XInclude" xml:base="one/two">
<elem xml:base="http://example.org/one/two">
http://example.org/one/two
</elem><elem xml:base="../../ents/one/two2">
ents/one/two2
</elem><elem xml:base="../../ents/one2/two">
ents/one2/two
</elem><elem xml:base="two/three/four">
docs/one/two/three/four
</elem>
</doc>