1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00
Files
libxml2/result/XInclude/base.xml
Nick Wellnhofer 6e3a2ac660 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.
2023-12-25 23:38:40 +01:00

13 lines
407 B
XML

<?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>