You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2003/12/01 05:53:54 UTC
cvs commit: xml-xerces/java/tests/xinclude/output test13.txt test14.txt
mrglavas 2003/11/30 20:53:54
Modified: java/tests/xinclude/output test13.txt test14.txt
Log:
Updating tests to incorporate change to XInclude namespace
from latest WD: http://www.w3.org/TR/2003/WD-xinclude-20031110/
Revision Changes Path
1.2 +2 -2 xml-xerces/java/tests/xinclude/output/test13.txt
Index: test13.txt
===================================================================
RCS file: /home/cvs/xml-xerces/java/tests/xinclude/output/test13.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- test13.txt 29 Sep 2003 17:32:25 -0000 1.1
+++ test13.txt 1 Dec 2003 04:53:54 -0000 1.2
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<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">
+<x xmlns="http://www.schemaTest.org/xinclude-test" xmlns:xi="http://www.w3.org/2003/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.schemaTest.org/xinclude-test tests.xsd">
<!-- tests that other elements from xi namespace are not allowed when include is successful -->
<!-- EXPECT FAILURE -->
- <elem xmlns="http://www.schemaTest.org/xinclude-test" xml:base="../included/elem.xml"/>[Fatal Error] test13.xml:10:19: Elements from namespace 'http://www.w3.org/2001/XInclude', other than 'fallback', are not allowed to be children of 'include' elements. However, 'xi:other' was found.
+ <elem xmlns="http://www.schemaTest.org/xinclude-test" xml:base="../included/elem.xml"/>[Fatal Error] test13.xml:10:19: Elements from namespace 'http://www.w3.org/2003/XInclude', other than 'fallback', are not allowed to be children of 'include' elements. However, 'xi:other' was found.
1.2 +2 -2 xml-xerces/java/tests/xinclude/output/test14.txt
Index: test14.txt
===================================================================
RCS file: /home/cvs/xml-xerces/java/tests/xinclude/output/test14.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- test14.txt 29 Sep 2003 17:32:25 -0000 1.1
+++ test14.txt 1 Dec 2003 04:53:54 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<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">
+<x xmlns="http://www.schemaTest.org/xinclude-test" xmlns:xi="http://www.w3.org/2003/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.schemaTest.org/xinclude-test tests.xsd">
<!-- tests that other elements from xi namespace are not allowed when include is not successful -->
<!-- EXPECT FAILURE -->
[Warning] test14.xml:9:47: Include operation failed, reverting to fallback. Resource error reading file as XML (href='../included/invalid.xml'). Reason: tests\xinclude\included\invalid.xml (The system cannot find the file specified)
-[Fatal Error] test14.xml:10:19: Elements from namespace 'http://www.w3.org/2001/XInclude', other than 'fallback', are not allowed to be children of 'include' elements. However, 'xi:other' was found.
+[Fatal Error] test14.xml:10:19: Elements from namespace 'http://www.w3.org/2003/XInclude', other than 'fallback', are not allowed to be children of 'include' elements. However, 'xi:other' was found.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org