mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
xinclude: Also test error messages
The reader interface with XIncludes is somewhat broken and can generate different error messages. Start to move tests which are sketchy with reader to a separate directory.
This commit is contained in:
12
test/XInclude/without-reader/ns1.xml
Normal file
12
test/XInclude/without-reader/ns1.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<xi:include href="#a"/>
|
||||
<elem xmlns:ns="urn:foo">
|
||||
<ns:elem xml:id="a"/>
|
||||
</elem>
|
||||
<xi:include href="b.xml">
|
||||
<xi:fallback xmlns:ns="urn:bar">
|
||||
<ns:elem/>
|
||||
</xi:fallback>
|
||||
</xi:include>
|
||||
</doc>
|
||||
Reference in New Issue
Block a user