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:47 UTC

cvs commit: xml-xerces/java/tests/xinclude/output test11.txt test12.txt

mrglavas    2003/11/30 20:53:47

  Modified:    java/tests/xinclude/output test11.txt test12.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       +1 -1      xml-xerces/java/tests/xinclude/output/test11.txt
  
  Index: test11.txt
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/tests/xinclude/output/test11.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test11.txt	29 Sep 2003 17:32:25 -0000	1.1
  +++ test11.txt	1 Dec 2003 04:53:47 -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 2 fallbacks cause a failure when the include is successful -->
      <!-- EXPECT FAILURE -->
      <elem xmlns="http://www.schemaTest.org/xinclude-test" xml:base="../included/elem.xml"/>[Fatal Error] test11.xml:11:22: The [children] of an 'include' element cannot contain more than one 'fallback' element.
  
  
  
  1.2       +1 -1      xml-xerces/java/tests/xinclude/output/test12.txt
  
  Index: test12.txt
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/tests/xinclude/output/test12.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test12.txt	29 Sep 2003 17:32:25 -0000	1.1
  +++ test12.txt	1 Dec 2003 04:53:47 -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 2 fallbacks cause a failure when the include is unsuccessful -->
      <!-- EXPECT FAILURE -->
      [Warning] test12.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)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org