<?xml version="1.0" encoding="UTF-8" standalone="no" ?><x xmlns="http://www.schemaTest.org/xinclude-test" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.schemaTest.org/xinclude-test tests.xsd"> | |
<!-- including the same document, but as text --> | |
<?xml version="1.0"?> | |
<x xmlns="http://www.schemaTest.org/xinclude-test" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.schemaTest.org/xinclude-test tests.xsd"> | |
<!-- test that including the same document fails --> | |
<!-- EXPECT FAILURE --> | |
<xi:include parse="xml" | |
href="test24.xml"/> | |
</x> | |
</x> |