W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > July 2004

Re: FW: New Test suite from 6-30

From: Sandra Martinez <sandra.martinez@nist.gov>
Date: Thu, 15 Jul 2004 11:21:18 -0400
Message-Id: <6.0.0.22.2.20040715110222.01e61720@mailserver.nist.gov>
To: "Jonathan Marsh" <jmarsh@microsoft.com>
Cc: <public-xml-core-wg@w3.org>


At 02:33 PM 7/14/2004, Jonathan Marsh wrote:

>Test suite comments...
>
>-----Original Message-----
>From: www-xml-xinclude-comments-request@w3.org
>[mailto:www-xml-xinclude-comments-request@w3.org] On Behalf Of Elliotte
>Harold
>Sent: Wednesday, July 14, 2004 5:09 AM
>To: www-xml-xinclude-comments@w3.org
>Subject: New Test suite from 6-30
>
>
>Thanks for the new test suite. It is quite a bit easier to use than the
>old one. The features attribute in testdesc.xml is very helpful. There
>are still some issues in a few of the test cases though:
>
>1. Many of the NIST test results still contain unnecessary document type
>
>declarations such as <!DOCTYPE x> even though these are not present in
>the source documents and thus not present in the source infoset.

The following tests contain unnecessary document type:

Nist-include-01.xml
Nist-include-16.xml
Nist-include-18.xml
Nist-include-19.xml
Nist-include-20.xml
Nist-include-22.xml
Nist-include-34.xml
Nist-include-35.xml
Nist-include-36.xml
Nist-include-37.xml
Nist-include-38.xml
Nist-include-50.xml
Nist-include-51.xml
Nist-include-52.xml


The following tests contain necessary document type:

Nist-include-55.xml
Nist-include-21.xml
Nist-include-28.xml
Nist-include-29.xml
Nist-include-30.xml

The following test includes another xml document that contains an expanded 
entity reference. The test result contains a doctype -- I am not sure if 
this is the right result.

Nist-include-49.xml

>2. On the flip side, one test case is missing a DOCTYPE declaration it
>should have, book.xml in EDUNI. i.e. there is a DOCTYPE in the source
>document but not in the result document.

He is right.


>3. It would be nice if the features attribute included a string for
>unparsed-entities. This would apply to NIST test cases 55 and 56
>
>         <testcase id="Nist-include-55" href="nist-include-55.xml"
>                   type="success" features="unparsed-entities">
>             <contributor>Sandra I. Martinez</contributor>
>             <section
>resource="http://www.w3.org/TR/xinclude/#unparsed-entities">4.5.1</secti
>on>
>             <date qualifier="created">January, 2003</date>
>             <description> Including a duplicate unparsed entity.
>             Test should ignore duplicate unparsed entity. </description>
>
>             <output>../../result/nist-include-55.xml</output>
>         </testcase>
>
>         <testcase id="Nist-include-56" href="nist-include-56.xml"
>                   type="error" features="unparsed-entities">
>             <contributor>Sandra I. Martinez</contributor>
>             <section
>resource="http://www.w3.org/TR/xinclude/#unparsed-entities">4.5.1</secti
>on>
>             <date qualifier="created">January, 2003</date>
>             <description>  Including an unparsed entity with same name,
>             but different sysid. Test should fail. </description>
>         </testcase>


>--
>Elliotte Rusty Harold

Sandra I. Martinez
National Institute of Standards and Technology
100 Bureau Drive, Stop 8970,
Gaithersburg, Md. 20899

(301) 975-3579
sandra.martinez@nist.gov
Received on Thursday, 15 July 2004 11:21:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:31 GMT