- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 13 Apr 2016 09:47:43 -0500
- To: public-xml-core-wg@w3.org
- Message-ID: <87ega9o99s.fsf@nwalsh.com>
Hi folks, I’ve pushed the XInclude 1.1 test suite to the ‘testsuite11’ branch in the W3C XInclude repo: https://github.com/w3c/xinclude/tree/testsuite11 This is a copy of the XInclude 1.0 test suite with two sets of new tests: <testcases creator="Norman Walsh" basedir="ndw-11/test"> <testcase id="ndw-01" href="annot-1.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#attribute-copying">4.3</section> <date qualifier="created">2016-03-28</date> <description>Copy namespaced attributes to included elements. </description> <output>../result/annot-1.xml</output> </testcase> <testcase id="ndw-02" href="annot-2.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#attribute-copying">4.3</section> <date qualifier="created">2016-03-28</date> <description>Attribute copying replaces existing values. </description> <output>../result/annot-2.xml</output> </testcase> <testcase id="ndw-03" href="annot-3.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-28</date> <description>The xml:id can is set with set-xml-id; replacing the existing ID. </description> <output>../result/annot-3.xml</output> </testcase> <testcase id="ndw-04" href="annot-3b.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#attribute-copying">4.3</section> <date qualifier="created">2016-03-28</date> <description>The xml:id can be created with set-xml-id. </description> <output>../result/annot-3b.xml</output> </testcase> <testcase id="ndw-05" href="annot-3c.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#attribute-copying">4.3</section> <date qualifier="created">2016-03-28</date> <description>The xml:id can be removed with set-xml-id. </description> <output>../result/annot-3c.xml</output> </testcase> <testcase id="ndw-06" href="annot-4.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#attribute-copying">4.3</section> <date qualifier="created">2016-03-28</date> <description>Attributes can be copied into no namespace. </description> <output>../result/annot-4.xml</output> </testcase> <testcase id="ndw-07" href="csv-1.xml" type="success" features="xinclude11 altmediatype"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-28</date> <description>Support for new media types. </description> <output>../result/csv-1.xml</output> </testcase> <testcase id="ndw-08" href="text-1.xml" type="success" features="xinclude11 rfc5147"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-28</date> <description>RFC 5147 text parsing. </description> <output>../result/text-1.xml</output> </testcase> <testcase id="ndw-09" href="text-2.xml" type="success" features="xinclude11 rfc5147"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-28</date> <description>RFC 5147 text parsing. </description> <output>../result/text-2.xml</output> </testcase> </testcases> <testcases creator="Norman Walsh" basedir="spec11/test"> <testcase id="spec11-bad-parse" href="bad-parse.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-29</date> <description>A bad parse value is a recoverable error. </description> <output>../result/bad-parse.xml</output> </testcase> <testcase id="spec11-c1" href="c1.xml" type="success"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#basic-example">C.1</section> <date qualifier="created">2016-03-29</date> <description>Example C.1. </description> <output>../result/c1.xml</output> </testcase> <testcase id="spec11-c2" href="c2.xml" type="success"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#text-example">C.2</section> <date qualifier="created">2016-03-29</date> <description>Example C.2. </description> <output>../result/c2.xml</output> </testcase> <testcase id="spec11-c3" href="c3.xml" type="success"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#xml-as-text-example">C.3</section> <date qualifier="created">2016-03-29</date> <description>Example C.3. </description> <output>../result/c3.xml</output> </testcase> <testcase id="spec11-c4" href="c4.xml" type="success"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#fragment-example">C.4</section> <date qualifier="created">2016-03-29</date> <description>Example C.4. </description> <output>../result/c4.xml</output> </testcase> <testcase id="spec11-c6-b" href="c6-b.xml" type="success" features="xinclude11 rfc5147"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#text-example-2">C.6</section> <date qualifier="created">2016-03-29</date> <description>Example C.6 (b). </description> <output>../result/c6-b.xml</output> </testcase> <testcase id="spec11-c6" href="c6.xml" type="success" features="xinclude11 rfc5147"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#text-example-2">C.6</section> <date qualifier="created">2016-03-29</date> <description>Example C.6 (a). </description> <output>../result/c6.xml</output> </testcase> <testcase id="spec11-c7-b" href="c7-b.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#att-copy-example">C.7</section> <date qualifier="created">2016-03-29</date> <description>Example C.7 (b). </description> <output>../result/c7-b.xml</output> </testcase> <testcase id="spec11-c7" href="c7.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#att-copy-example">C.7</section> <date qualifier="created">2016-03-29</date> <description>Example C.7 (a). </description> <output>../result/c7.xml</output> </testcase> <testcase id="spec11-c8" href="c8.xml" type="success"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#fallback-example">C.8</section> <date qualifier="created">2016-03-29</date> <description>Example C.8. </description> <output>../result/c8.xml</output> </testcase> <testcase id="spec11-multi-id" href="multi-id.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-29</date> <description>The set-xml-id attribute applies to all top-level included elements. </description> <output>../result/multi-id.xml</output> </testcase> <testcase id="spec11-no-id-on-text" href="no-id-on-text.xml" type="error" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/"></section> <date qualifier="created">2016-03-29</date> <description>It’s a fatal error to use set-xml-id when parse=“text”. </description> </testcase> <testcase id="spec11-not-copy-xml" href="not-copy-xml.xml" type="success" features="xinclude11"> <contributor>Norman Walsh</contributor> <section resource="https://www.w3.org/TR/xinclude-11/#include_element">3.1</section> <date qualifier="created">2016-03-29</date> <description>Attributes in the xml: namespace are not copied. </description> <output>../result/not-copy-xml.xml</output> </testcase> </testcases> Be seeing you, norm -- Norman Walsh Lead Engineer MarkLogic Corporation Phone: +1 512 761 6676 www.marklogic.com
Received on Wednesday, 13 April 2016 14:48:11 UTC