Update of /cvsroot/mvp-xml/XInclude/v1/test/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13400/v1/test/tests Added Files: count.txt data.xml fallback.xml resolver.xml test2.xml working_example.xml working_example2.xml xpointer.xml Log Message: Basic XInclude tests. --- NEW FILE: working_example2.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2003/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: resolver.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>Raw data from cache:</p> <xi:include href="cache://source.xml"/> <p>Filtered:</p> <xi:include href="cache://source.xml" xpointer="xpointer(//warehouse)"/> </document> --- NEW FILE: xpointer.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="test2.xml" xpointer="f1"/> </document> --- NEW FILE: fallback.xml --- <div xmlns:xi="http://www.w3.org/2003/XInclude"> <xi:include href="no-such-file.txt" parse="text"> <xi:fallback> <xi:include href="and-no-such-one.txt" parse="text"> <xi:fallback><a href="mailto:bo...@ex...">Report error</a></xi:fallback> </xi:include> </xi:fallback> </xi:include> </div> --- NEW FILE: count.txt --- 324387 --- NEW FILE: working_example.xml --- <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>This document has been accessed <xi:include href="count.txt" parse="text"/> times.</p> </document> --- NEW FILE: data.xml --- <?xml version='1.0'?> <data> <item><![CDATA[Brooks & Shields]]></item> </data> --- NEW FILE: test2.xml --- <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE toinclude [ <!ELEMENT book (#PCDATA)> <!ATTLIST book id ID #IMPLIED > <!ELEMENT toinclude (book)> ]> <toinclude xmlns="foo.bar#"> <book id="f1">Books</book> </toinclude> |