From: Oleg T. <he...@us...> - 2004-10-13 17:47:11
|
Update of /cvsroot/mvp-xml/XInclude/v1/test/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6609/v1/test/tests Added Files: binary.bin disclaimer.xml document.xml fallbacknotchildinclude.xml filenotfound.xml includechildofinclude.xml includesitself.xml nohref.xml nonxmlchar.xml result.xml twofallbacks.xml unknownparseattr.xml Log Message: Added some basic tests. --- NEW FILE: includechildofinclude.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer2.xml" parse="xml"> <foo><xi:include href="disclaimer.xml"/></foo> <xi:include href="disclaimer.xml"/> <xi:fallback> <xi:include href="disclaimer.xml"/> </xi:fallback> <foo></foo> </xi:include> foo </document> --- NEW FILE: disclaimer.xml --- <?xml version='1.0'?> <!-- comment --> <?pi foo ?> <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: result.xml --- <?xml version="1.0" encoding="utf-8"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <!-- comment --> <?pi foo ?> <disclaimer xml:base="disclaimer.xml"> <p>The opinions represented herein represent those of the individual and should not be interpreted as official policy endorsed by this organization.</p> </disclaimer> foo </document> --- NEW FILE: fallbacknotchildinclude.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:fallback>N/A</xi:fallback> <xi:include href="disclaimer.xml" parse="xml"><foo></foo></xi:include> foo </document> --- NEW FILE: nohref.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include parse="xml"><foo></foo></xi:include> foo </document> --- NEW FILE: document.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" parse="xml"><foo></foo></xi:include> foo </document> --- NEW FILE: nonxmlchar.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="binary.bin" parse="text"/> foo </document> --- NEW FILE: binary.bin --- (This appears to be a binary file; contents omitted.) --- NEW FILE: filenotfound.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="thereisnosuchfile.xml"><foo></foo></xi:include> foo </document> --- NEW FILE: twofallbacks.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer2.xml" parse="xml"> <foo><xi:include href="disclaimer.xml"/></foo> <xi:fallback> <xi:include href="disclaimer.xml"/> </xi:fallback> <xi:fallback> <xi:include href="disclaimer.xml"/> </xi:fallback> <foo></foo> </xi:include> foo </document> --- NEW FILE: unknownparseattr.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="disclaimer.xml" parse="foo"><foo></foo></xi:include> foo </document> --- NEW FILE: includesitself.xml --- <?xml version="1.0"?> <document xmlns:xi="http://www.w3.org/2003/XInclude"> <p>120 Mz is adequate for an average home user.</p> <xi:include href="includesitself.xml" parse="text"><foo></foo></xi:include> foo </document> |