Update of /cvsroot/mvp-xml/XInclude/v1/test/XInclude-Test-Suite/Harold/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19600/v1/test/XInclude-Test-Suite/Harold/test Added Files: .nautilus-metafile.xml EBCDIC.xml UCS4BE.xml UCS4LE.xml UTF16BigEndianWithByteOrderMark.xml UTF16LittleEndianWithByteOrderMark.xml UTF32BE.xml UTF32LE.xml UTF8WithByteOrderMark.xml UnicodeBigUnmarked.xml UnicodeLittleUnmarked.xml acceptenglish.xml acceptfrench.xml accepthtml.xml acceptplaintext.xml badaccept1.xml badaccept2.xml badelementschemedata.xml badiri.xml badiri2.xml badparseattribute.xml badxptr.xml badxptr2.xml badxptr3.xml badxptr4.xml baseinclude.xml bdisclaimer.xml c1.xml c2.xml c3.xml c5.xml circle1.xml circle2a.xml circle2b.xml circleback.xml circlepointer1.xml circlepointer2.xml circlepointer3.xml colonizedschemename.xml count.txt d1.xml data.xml disclaimer.xml docwithid.xml docwithidandtumbler.xml emptyfallback.xml encodingheuristicstest.xml extraattributes.xml fallbackbadparseattribute.xml fallbackbadxpointer.xml fallbackcontainsfallback.xml fallbackinternalxpointer.xml fallbacknohreforparse.xml fallbacktest.xml fallbacktest2.xml fallbacktest3.xml fallbacktotext.xml fallbackxpointerpointsnowhere.xml french.xml french2.xml goodiri.xml ignoresfragmentid.xml includedocumentwithintradocumentreferences.xml includefromsamedocumentwithbase.xml internalcircular.xml internalcircularviaancestor.xml langtest1.xml langtest2.xml langtest3.xml laterfailure.xml laterfailure2.xml latin1.xml legalcircle.xml lineends.txt lineends.xml marshtest.xml marshtestwithxmlbase.xml marshtestwithxmlbaseandemptyhref.xml meaninglessfragmentid.xml metafallbacktest.xml metafallbacktest2.xml metafallbacktest3.xml metafallbacktest4.xml metafallbacktest5.xml metafallbacktest6.xml metafallbacktestwithfragmentid.xml metafallbacktestwithxpointer.xml metafallbacktestwithxpointer2.xml metafallbacktotexttest.xml metafallbackwithbadxpointertest.xml metamissingfallbacktestwithxpointer.xml missingfile.xml missinghref.xml multiplefallbacks.xml multiplefallbacks2.xml nakedfallback.xml namespaceinner.xml namespacetest.xml nestedxinclude.xml nestedxincludenamespace.xml nofallbacktest.xml nolang.xml onedown.xml onlyxpointer.xml paralleltest.xml parseequalxml.xml recursewithinsamedocument.xml red.dtd resolvethruxpointer.xml rootfailuretest.xml roottest.xml roottest2.xml simple.xml simple2.xml test.xml test0.xml test2.xml test3.xml tobinbottom.xml tobinmiddle.xml tobintop.xml toplevel.xml ucs4bigendian.xml ucs4littleendian.xml unrecognizedscheme.xml unrecognizedschemewithfallback.xml utf16.txt utf16.xml utf16be.txt utf16be.xml utf16le.xml utf8.xml utf8bom.xml xmlbasetest.xml xmlbasetest2.xml xmlbasetest3.xml xpointeroverridesfragmentid.xml xpointerselectsnonelements.xml xptr2tumblertest.xml xptrdoubletumblertest.xml xptrfallback.xml xptridandtumblertest.xml xptridtest.xml xptridtest2.xml xptrsyntaxerrorbutfallback.xml xptrtumblerfailsbutfallback.xml xptrtumblertest.xml xptrtumblertest2.xml xptrtumblertest3.xml Log Message: XInclude Test Suite updated --- NEW FILE: test0.xml --- <?xml version="1.0"?> <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <xinclude:include href="test2.xml"/> </test> --- NEW FILE: nestedxincludenamespace.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"> It is illegal for one xi:include element to contain anything from the XInclude namespace except a single fallback element. <xi:nonesuch href="`c2.xml"/> </xi:include> </document> --- NEW FILE: encodingheuristicstest.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p><xi:include parse="text" href="encoding/ascii.txt"/></p> </document> --- NEW FILE: metafallbacktotexttest.xml --- <root> <xi:include href="fallbacktest3.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: laterfailure.xml --- <?xml version='1.0'?> <root> This tests whether a syntax error in the <strong>second</strong> XPointer part will throw the exception as required. Nothing should be included. Instead, there should be failure. <xi:include href="docwithid.xml" xpointer="element(/1/1)element(^^^)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: test3.xml --- <root> <element1/> <element2/> </root> --- NEW FILE: d1.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="bdisclaimer.xml"/> </document> --- NEW FILE: utf16be.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xptrfallback.xml --- <?xml version='1.0'?> <root> There should be a resource error resolving this due to the illegal XPointer syntax which causes the fallback to be used: <xi:include href="docwithid.xml" xpointer="xlimit(1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback>Fallback worked!</xi:fallback> </xi:include> </root> --- NEW FILE: circle2a.xml --- <?xml version='1.0'?> <circle> This file is just for making sure my XIncluder can detect circular references. <xi:include href="circle2b.xml" parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </circle> --- NEW FILE: colonizedschemename.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="test:xpath(somedata)element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: namespaceinner.xml --- <inner> <test2 xmlns:svg="http://www.w3.org/2000/svg"> <svg:svg> The above tag should have a mapped prefix </svg:svg> </test2> <test3 xmlns:xlink="http://www.w3.org/2000/xlink" xlink:type="simple"> Make sure the XLinks come across </test3> </inner> --- NEW FILE: toplevel.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="onedown.xml"/> </document> --- NEW FILE: badaccept2.xml --- <document xmlns:xi='http://www.w3.org/2001/XInclude'> <p>120 MHz is adequate for an average home user.</p> <xi:include href='http://www.example.com' accept='text/html Something: bad'/> </document> --- NEW FILE: multiplefallbacks2.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"> Multiple fallbacks are illegal even when the resource exists and the fallbacks aren't processed. <xi:fallback>First fallback</xi:fallback> <xi:fallback>Second fallback</xi:fallback> </xi:include> </document> --- NEW FILE: badxptr3.xml --- <?xml version='1.0'?> <root> There should be a syntax error resolving this due to the illegal XPointer syntax <xi:include href="docwithid.xml" xpointer="element(p:l/2/3)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: metafallbacktestwithfragmentid.xml --- <root> <xi:include href="fallbacktest.xml#element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: langtest2.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="french2.xml" xpointer="element(/1/1)"/> </document> --- NEW FILE: legalcircle.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This will be duplicated if we're successful</p> <xi:include href="circleback.xml"/> </document> --- NEW FILE: badparseattribute.xml --- <?xml version='1.0'?> <test> This file is just for making sure my XIncluder can detect bad values for parse attributes. <xi:include parse="nonesuch" href="simple.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: .nautilus-metafile.xml --- <?xml version="1.0"?> <directory> <file name="b" window_geometry="800x550+40+96"/> </directory> --- NEW FILE: c3.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>The following is the source of the "data.xml" resource:</p> <example><xi:include href="data.xml" parse="text"/></example> </document> --- NEW FILE: EBCDIC.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="text/EBCDIC.xml"/> </document> --- NEW FILE: utf8.xml --- trjsagdkasgdhasdgashgdhsadgashdg --- NEW FILE: multiplefallbacks.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="no_such_file.xml"> <xi:fallback>First fallback</xi:fallback> <xi:fallback>Second fallback</xi:fallback> </xi:include> </document> --- NEW FILE: count.txt --- 324387 --- NEW FILE: utf8bom.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: metafallbacktest.xml --- <root> <xi:include href="fallbacktest.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: xmlbasetest3.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> Test that xml:base attribute in unincluded element still applies in merged document <xi:include href="baseinclude.xml" xpointer="element(/1/1)"/> </root> --- NEW FILE: extraattributes.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" name="value" something="something"/> </document> --- NEW FILE: UTF16BigEndianWithByteOrderMark.xml --- <?xml version='1.0'?> <root><xi:include href="utf16be.xml" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/></root> --- NEW FILE: resolvethruxpointer.xml --- <?xml version="1.0"?> <root> <xi:include href="c1.xml" xpointer="element(/1/2)" xmlns:xi="http://www.w3.org/2001/XInclude"/> </root> --- NEW FILE: metafallbacktest3.xml --- <root> <xi:include href="fallbackbadparseattribute.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: simple.xml --- <simple> <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <latin1> <firstElement/> <xinclude:include href="utf8.xml" parse="text"/> <insideChildren/> <another> <deeper>text</deeper> </another> </latin1> <test2> <xinclude:include href="test2.xml"/> </test2> <test3> <!-- <xinclude:include href="roottest.xml"/> --> </test3> </test> </simple> --- NEW FILE: UTF8WithByteOrderMark.xml --- <?xml version='1.0'?> <root><xi:include href="utf8bom.xml" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/></root> --- NEW FILE: roottest2.xml --- <?xml version="1.0"?> <xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude" href="simple2.xml"/> --- NEW FILE: circlepointer2.xml --- <?xml version="1.0"?> <root> <xi:include href="circlepointer3.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </root> --- NEW FILE: includedocumentwithintradocumentreferences.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="marshtest.xml"/> </document> --- NEW FILE: UCS4BE.xml --- <?xml version='1.0'?> <root><xi:include href="ucs4bigendian.xml" parse="text" xmlns:xi="http://www.w3.org/2003/XInclude"/></root> --- NEW FILE: simple2.xml --- <!-- comment before root 1 --> <simple> <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <latin1> <firstElement/> <xinclude:include href="utf8.xml" parse="text"/> <insideChildren/> <another> <deeper>text</deeper> </another> </latin1> <test2> <xinclude:include href="test2.xml"/> </test2> <test3> <!-- <xinclude:include href="roottest.xml"/> --> </test3> </test> </simple> <!-- comment after root 1 --> --- NEW FILE: tobinbottom.xml --- <bottom> <bottom1/> <bottom2/> <bottom3/> </bottom> --- NEW FILE: tobintop.xml --- <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <xinclude:include href="tobinmiddle.xml" xpointer="element(/1/1/2)"/> </test> --- NEW FILE: fallbacktotext.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include href="simple.xml" parse="text"/></xi:fallback></xi:include> </test> --- NEW FILE: ucs4bigendian.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ucs4littleendian.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fallbacktest3.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback>some data<!--comment-->more data</xi:fallback></xi:include> </test> --- NEW FILE: test.xml --- <?xml version="1.0"?> <!-- comment before root --> <!DOCTYPE test [ <!ELEMENT test (latin1, test2)> ]> <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <latin1> <firstElement/> <xinclude:include href="utf8.xml" parse="text"/> <insideChildren/> <another> <deeper>text</deeper> </another> </latin1> <test2> <xinclude:include href="test2.xml"/> </test2> </test> <!-- comment after root --> --- NEW FILE: xmlbasetest2.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> Test that xml:base attribute is used to resolve href attributes <xi:include href="red.xml" xml:base="basedata/"/> </root> --- NEW FILE: rootfailuretest.xml --- <?xml version="1.0"?> <!-- comment before root 1 --> <xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude" href="simple.xml"/> <!-- comment after root 1 --> --- NEW FILE: badxptr2.xml --- <?xml version='1.0'?> <root> There should be a resource error resolving this due to the illegal XPointer syntax. Specifically, the space in initial ID. <xi:include href="docwithid.xml#element(rose red/1/1)" xpointer="element(rose red/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: french.xml --- <test xml:lang='fr'>Zut Alors!</test> --- NEW FILE: fallbacktest2.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include href="simple.xml"/></xi:fallback></xi:include> </test> --- NEW FILE: accepthtml.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="http://www.cafeconleche.org/tests/content" parse="text" accept="text/html"/></root> --- NEW FILE: laterfailure2.xml --- <?xml version='1.0'?> <root> This tests whether a syntax error in the <strong>second</strong> XPointer part will throw the exception as required. Specifically, I'm looking to see if a missing last parenthesis causes the necessary exception. Nothing should be included. Instead, there should be failure. <xi:include href="docwithid.xml" xpointer="element(/1/1)element(/1/2" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: fallbacktest.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><test>some data</test></xi:fallback></xi:include> </test> --- NEW FILE: recursewithinsamedocument.xml --- <?xml version='1.0'?> <root> Test that a document can include pieces of itself while recursively following xincludes <xi:include xpointer="element(/1/3)" xmlns:xi="http://www.w3.org/2001/XInclude" /> <xi:include xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> <data> This will be copied </data> </root> --- NEW FILE: utf16le.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: circlepointer3.xml --- <?xml version="1.0"?> <root> <xi:include href="circlepointer1.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"/> </root> --- NEW FILE: xptrtumblertest2.xml --- <?xml version='1.0'?> <root> You should see no other elements besides the root because the ID does not exist in the document being pointed to. <xi:include href="docwithid.xml" xpointer="element(/1/3)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: UnicodeBigUnmarked.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="text/UnicodeBigUnmarked.xml"/> </document> --- NEW FILE: unrecognizedschemewithfallback.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" xpointer="unknown(somedata)"> <xi:fallback>Oops!</xi:fallback> </xi:include> </document> --- NEW FILE: unrecognizedscheme.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" xpointer="unknown(somedata)"/> </document> --- NEW FILE: disclaimer.xml --- <?xml version='1.0'?> <disclaimer> <p>The opinions represented herein represent those of the individual and should not be interpreted as official policy endorsed by this organization.</p> </disclaimer> --- NEW FILE: ignoresfragmentid.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> Test that xpointer is used and fragment ID isn't <xi:include href="test3.xml#element(/1/1)"/> </root> --- NEW FILE: marshtestwithxmlbase.xml --- <!DOCTYPE root [ <!ATTLIST x id ID #IMPLIED> ]> <root xmlns:xi="http://www.w3.org/2001/XInclude" xml:base="http://www.example.org/"> <xi:include xpointer="foo"/> <x id="foo"> <xi:include xpointer="bar"/> </x> <x id="bar"/> </root> --- NEW FILE: badxptr4.xml --- <?xml version='1.0'?> <root> There should be a syntax error resolving this due to the illegal XPointer syntax <xi:include href="docwithid.xml" xpointer="element(p^l/2/3)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: metamissingfallbacktestwithxpointer.xml --- <root> <xi:include href="nofallbacktest.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: c1.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"/> </document> --- NEW FILE: emptyfallback.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback /></xi:include> </test> --- NEW FILE: badiri.xml --- <document xmlns:xi='http://www.w3.org/2001/XInclude'> <xi:include href='http://www.example.com/a%5.html'> <xi:fallback>Ooops!</xi:fallback></xi:include></document> --- NEW FILE: badelementschemedata.xml --- <?xml version='1.0'?> <root> This tests whether syntactically incorrect element scheme data simply fails to identify a subresource. <xi:include href="docwithid.xml" xpointer="element(***)" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback>success!</xi:fallback> </xi:include> </root> --- NEW FILE: xptridtest.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="p1" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: metafallbacktest6.xml --- <root> <xi:include href="fallbackinternalxpointer.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: xpointerselectsnonelements.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"/> </document> --- NEW FILE: badxptr.xml --- <?xml version='1.0'?> <root> There should be a resource error resolving this due to the illegal XPointer syntax <xi:include href="docwithid.xml" xpointer="/1/1" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: fallbackinternalxpointer.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include href="" xpointer="element(/1/2)"/></xi:fallback></xi:include> <data>test</data> </test> --- NEW FILE: red.dtd --- <!-- Comment in DTD --> --- NEW FILE: parseequalxml.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" parse="xml"/> </document> --- NEW FILE: marshtestwithxmlbaseandemptyhref.xml --- <!DOCTYPE root [ <!ATTLIST x id ID #IMPLIED> ]> <root xmlns:xi="http://www.w3.org/2001/XInclude" xml:base="http://www.example.org/"> <xi:include href="" xpointer="foo"/> <x id="foo"> <xi:include href="" xpointer="bar"/> </x> <x id="bar"/> </root> --- NEW FILE: fallbackbadxpointer.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include href="disclaimer.xml" xpointer="badscheme(/1/1)"/></xi:fallback></xi:include> </test> --- NEW FILE: onlyxpointer.xml --- <?xml version='1.0'?> <root> Test that a document can include a piece of itself using an xpointer attribute. <xi:include xpointer="element(/1/2)" xmlns:xi="http://www.w3.org/2001/XInclude" /> <data> This will be copied </data> </root> --- NEW FILE: internalcircularviaancestor.xml --- <?xml version='1.0'?> <test> This file is just for making sure my XIncluder can detect circular local links. <xi:include xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: circle1.xml --- <?xml version='1.0'?> <circle> <xi:include href="circle1.xml" parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </circle> --- NEW FILE: missingfile.xml --- <?xml version='1.0'?> <test> This file is just for making sure my XIncluder can detect missing links. <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: xmlbasetest.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude" xml:base="basedata/"> Test that xml:base attribute is used to resolve href attributes <xi:include href="red.xml" /> </root> --- NEW FILE: metafallbacktest5.xml --- <root> <xi:include href="fallbackxpointerpointsnowhere.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: xptr2tumblertest.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include xpointer="element(/1/12/3)element(/1/2)element(/1/1)" href="docwithid.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: acceptenglish.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="http://www.cafeconleche.org/tests/data.txt" parse="text" accept-language="en"/></root> --- NEW FILE: circleback.xml --- <?xml version='1.0'?> <document> <xi:include href="legalcircle.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"/> </document> --- NEW FILE: internalcircular.xml --- <?xml version='1.0'?> <test> This file is just for making sure my XIncluder can detect circular local links. <xi:include xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: fallbackcontainsfallback.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback> <test>some data</test> <xi:fallback> <test>some data</test> </xi:fallback> </xi:fallback> </xi:include> </test> --- NEW FILE: metafallbacktest4.xml --- <root> <xi:include href="fallbacknohreforparse.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: fallbacknohreforparse.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include/></xi:fallback></xi:include> </test> --- NEW FILE: data.xml --- <?xml version='1.0'?> <data> <item><![CDATA[Brooks & Shields]]></item> </data> --- NEW FILE: lineends.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="lineends.txt" parse="text"/></root> --- NEW FILE: nakedfallback.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:fallback>It is illegal to have a fallback that is not a child of an include element.</xi:fallback> </document> --- NEW FILE: acceptplaintext.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="http://www.cafeconleche.org/tests/content" parse="text" accept="text/plain"/></root> --- NEW FILE: xptrtumblertest3.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="element(/1/12/3) element(/1/2) element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: docwithidandtumbler.xml --- <!DOCTYPE test [ <!ATTLIST p id ID #REQUIRED> ]> <test> <p id="p1"> <t> <p/> <q>If you only see the q element the test worked</q> <r>bad!</r> </t> <r/> <u>If you see me, the test failed</u> </p> </test> --- NEW FILE: nolang.xml --- <document> <test>Zut Alors!</test> </document> --- NEW FILE: acceptfrench.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="http://www.cafeconleche.org/tests/data.txt" parse="text" accept-language="fr"/></root> --- NEW FILE: missinghref.xml --- <?xml version='1.0'?> <test> This file is just for making sure my XIncluder can detect missing href attributes. <xi:include parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: xptrdoubletumblertest.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="element(book/1)element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: paralleltest.xml --- <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="a/a.xml"/> <xi:include href="b/b.xml"/> </root> --- NEW FILE: roottest.xml --- <?xml version="1.0"?> <!-- comment before root 1 --> <xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude" href="simple.xml"/> <!-- comment after root 1 --> --- NEW FILE: french2.xml --- <document xml:lang='fr'> <test>Zut Alors!</test> </document> --- NEW FILE: badaccept1.xml --- <document xmlns:xi='http://www.w3.org/2001/XInclude'> <p>120 MHz is adequate for an average home user.</p> <xi:include href='http://www.example.com' accept='text/html
Something: bad'/> </document> --- NEW FILE: baseinclude.xml --- <root xml:base="http://www.example.com/"> <child /> </root> --- NEW FILE: test2.xml --- <?xml version="1.0"?> <!-- comment before root --> <!DOCTYPE red SYSTEM "red.dtd"> <red xmlns:xinclude="http://www.w3.org/2001/XInclude"> <blue> <xinclude:include href="utf8.xml" parse="text"/> </blue> </red> <!-- comment after root --> --- NEW FILE: tobinmiddle.xml --- <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <xinclude:include href="tobinbottom.xml"/> </test> --- NEW FILE: xptridandtumblertest.xml --- <?xml version='1.0'?> <root> You should see a q element: <xi:include href="docwithidandtumbler.xml" xpointer="element(p1/1/2)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: xptrtumblertest.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: xptrtumblerfailsbutfallback.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="element(/1/12/3)" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback><p id="p1" xml:base="docwithid.xml">Test worked</p></xi:fallback> </xi:include> </root> --- NEW FILE: nofallbacktest.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </test> --- NEW FILE: metafallbacktest2.xml --- <root> <xi:include href="fallbacktotext.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: c2.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This document has been accessed <xi:include href="count.txt" parse="text"/> times.</p> </document> --- NEW FILE: fallbackxpointerpointsnowhere.xml --- <?xml version='1.0'?> <test> <xi:include href="disclaimer.xml" xpointer="element(/1/17/82)" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback>fallback text</xi:fallback></xi:include> </test> --- NEW FILE: xptridtest2.xml --- <?xml version='1.0'?> <root> You should see no other elements besides the root because the ID does not exist in the document being pointed to. <xi:include href="docwithid.xml" xpointer="nonesuch" xmlns:xi="http://www.w3.org/2001/XInclude" /> </root> --- NEW FILE: docwithid.xml --- <!DOCTYPE test [ <!ATTLIST p id ID #REQUIRED> ]> <test> <p id="p1">Test worked</p> No, it didn't the Test failed! </test> --- NEW FILE: UTF32LE.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="text/UTF32LE.xml"/> </document> --- NEW FILE: UTF32BE.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="text/UTF32BE.xml"/> </document> --- NEW FILE: fallbackbadparseattribute.xml --- <?xml version='1.0'?> <test> <xi:include href="missing.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback><xi:include href="simple.xml" parse="no"/></xi:fallback></xi:include> </test> --- NEW FILE: utf16.txt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: circlepointer1.xml --- <?xml version="1.0"?> <root> <xi:include href="circlepointer2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </root> --- NEW FILE: UnicodeLittleUnmarked.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include parse="text" href="text/UnicodeLittleUnmarked.xml"/> </document> --- NEW FILE: circle2b.xml --- <?xml version='1.0'?> <circle> <xi:include href="circle2a.xml" parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </circle> --- NEW FILE: onedown.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include/> </document> --- NEW FILE: langtest3.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="nolang.xml" xpointer="element(/1/1)"/> </document> --- NEW FILE: latin1.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: utf16be.txt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lineends.txt --- linefeed CRLF carriage return --- NEW FILE: goodiri.xml --- <document xmlns:xi='http://www.w3.org/2001/XInclude'><xi:include href='scheme://www.example.com/a.html'><xi:fallback>Correct!</xi:fallback></xi:include></document> --- NEW FILE: UCS4LE.xml --- <?xml version='1.0'?> <root><xi:include href="ucs4littleendian.xml" parse="text" xmlns:xi="http://www.w3.org/2003/XInclude"/></root> --- NEW FILE: xpointeroverridesfragmentid.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> Test that xpointer is used and fragment ID isn't <xi:include href="test3.xml#element(/1/1)" xpointer="element(/1/2)"/> </root> --- NEW FILE: includefromsamedocumentwithbase.xml --- <?xml version='1.0'?> <test> Make sure base URIs are preserved when including from the same document. <xi:include xpointer="element(/1/2)" xmlns:xi="http://www.w3.org/2001/XInclude"/> <data xml:base="http://www.example.org/">This should be duplicated</data> </test> --- NEW FILE: namespacetest.xml --- <simple> <test2 xmlns:svg="http://www.w3.org/2000/svg"> <svg:svg> The above tag should have a mapped prefix </svg:svg> </test2> <test3 xmlns:xlink="http://www.w3.org/2000/xlink" xlink:type="simple"> Make sure the XLinks come across </test3> <test xmlns:xinclude="http://www.w3.org/2001/XInclude"> <latin1> <firstElement/> <xinclude:include href="utf8.xml" parse="text"/> <insideChildren/> <another> <deeper>text</deeper> </another> </latin1> <xinclude:include href="namespaceinner.xml"/> </test> </simple> --- NEW FILE: nestedxinclude.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml"> It is illegal for one xi:include element to contain another, even when the resource is avaialable. <xi:include href="c2.xml"/> </xi:include> </document> --- NEW FILE: c5.xml --- <?xml version='1.0'?> <div> <xi:include href="example.txt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback> <xi:include href="fallback-example.txt" parse="text"> <xi:fallback><a href="mailto:bo...@ex...">Report error</a></xi:fallback> </xi:include> </xi:fallback> </xi:include> </div> --- NEW FILE: langtest1.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="french.xml"/> </document> --- NEW FILE: utf16.xml --- <?xml version='1.0'?> <test> <xi:include parse="text" encoding="UTF-16" href="utf16.txt" xmlns:xi="http://www.w3.org/2001/XInclude"/> </test> --- NEW FILE: metafallbacktestwithxpointer.xml --- <root> <xi:include href="fallbacktest.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: metafallbacktestwithxpointer2.xml --- <root> <xi:include href="fallbacktest3.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: UTF16LittleEndianWithByteOrderMark.xml --- <?xml version='1.0'?> <root><xi:include href="utf16le.xml" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/></root> --- NEW FILE: xptrsyntaxerrorbutfallback.xml --- <?xml version='1.0'?> <root> You should see a p element: <xi:include href="docwithid.xml" xpointer="element(///)" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback><p id="p1" xml:base="docwithid.xml">Test worked</p></xi:fallback> </xi:include> </root> --- NEW FILE: meaninglessfragmentid.xml --- <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> Test that xpointer is used and fragment ID isn't <xi:include href="test3.xml#nonesuch(/1/name*)"/> </root> --- NEW FILE: badiri2.xml --- <doc xmlns:xi='http://www.w3.org/2001/XInclude'> <xi:include href='scheme://www.example.com/a%5.html'> <xi:fallback>Ooops!</xi:fallback></xi:include></doc> --- NEW FILE: metafallbackwithbadxpointertest.xml --- <root> <xi:include href="fallbackbadxpointer.xml" xpointer="element(/1/1)" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> </root> --- NEW FILE: marshtest.xml --- <!DOCTYPE root [ <!ATTLIST x id ID #IMPLIED> ]> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include xpointer="foo"/> <x id="foo"> <xi:include xpointer="bar"/> </x> <x id="bar"/> </root> --- NEW FILE: bdisclaimer.xml --- <?xml version='1.0'?> <disclaimer> <b><p>The opinions represented herein represent those of the individual and should not be interpreted <b/>as official policy endorsed by this organization.</p></b> </disclaimer> |