W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2005

[xml-dev] RE: Relaunched and expanded XML Schema Test Collection

From: Michael Kay <mike@saxonica.com>
Date: Mon, 23 May 2005 08:16:03 +0100
Message-ID: <002901c55f67$47bbb000$0115a8c0@Elektonika.local>
To: <ElektonikaMail>
Cc: <xmlschema-dev@w3.org>, <xml-dev@lists.xml.org>

There are two test collections at the location Henry referenced:

# Download revised original test collection (6.73 MB)
# Download 2nd edition test collection (2.76 MB) 

Your comments seem to relate to the second one listed.

I suspect Henry was telling us about the first. This seems to have a similar
collection of tests to the original test suite, but with better metadata and
expected results.

What I haven't seen, though, is a process for reporting bugs and for
submitting test results for additional products.

Michael Kay


> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Daniel Veillard
> Sent: 21 May 2005 12:10
> To: Henry S. Thompson
> Cc: xmlschema-dev@w3.org; xml-dev@lists.xml.org
> Subject: Re: Relaunched and expanded XML Schema Test Collection
> 
> 
> On Fri, May 20, 2005 at 10:02:01PM +0100, Henry S. Thompson wrote:
> > 
> > The W3C XML Schema homepage [1] now includes references to a
> > relaunched XML Schema Test Collection in the Resources section [2].
> > 
> > This version consists restructured and expanded metadata 
> for the tests
> > from the original collection, as well as additional tests from NIST
> > for the W3C XML Schema second edition.
> > 
> > ht
> > 
> > [1] http://www.w3.org/XML/Schema.html
> > [2] http://www.w3.org/XML/Schema#resources
> 
>   Do I understand correctly that the new test suite only 
> tests datatypes
> i.e. the part 2 of XML Schemas and does not really cover part 1 ? 
>   I grepped all test files to find ":all" for examples and 
> didn't got any
> hit related to the xsd:all construct.
> 
>   While more testing for schemas part 2 is always welcome, I 
> think it was
> already relatively well covered, and what we desesperately 
> need is coverage
> from part 1 which is where interoperability and understanding of the
> specification is really problematic. Maybe I missed something 
> in the tests
> but currently I see only Datatypes and Metadata subdir in the Tests
> directory which seems to confirm the lack of tests for the 
> Structure part.
> So did I really missed something ? What are the plans for tests of the
> Structure part, currently this relaunched version seems to 
> have abandonned
> a large part of what the previous test suite was testing, to 
> me it is an
> addition but cannot act as a replacement as far as I can guess.
> 
>   I didn't find a readme to get started, could you confirm that
> my analysis of the content below is correct:
> 
> -------------
> I see 3 files in Metadata which are not html output an may be used
> as starting point:
>      AnnotatedTSSchema.xsd: this seems to be a schemas to validate the
>                             test suite definition
>      NISTXMLSchemaDatatypes.testSet: this seems to be the 
> definition of
>                             the test suite data, it seems to define
> 			    19217 instances of tests, each of them
> 			    pointing to a given file in the Datatypes
> 			    subtree
>      W3C-XML-Schema-1_0.suite: no content except stating
>                             "It is "pre-production" and is 
> not an official
> 			     publication of the W3C" and a pointer to
> 			     NISTXMLSchemaDatatypes.testSet
> All the test files are under Datatypes, the hierarchy is 
> classified by type, 
> and the test files points to the schemas they need to be 
> validated against 
> using xsi:schemaLocation pointing to an XSD file in the same 
> directory.
> 
> Expected processing would then to open 
> NISTXMLSchemaDatatypes.testSet and
> walk all the tree, processing each instanceTest individually by doing
> an independant validation of the file being pointed to (based on the
> xsi:schemaLocation) and comparing the output to the 
> <expected> validity
> boolean value (valid or invalid) at a file level.
> -------------
> 
>   thanks,
> 
> Daniel
> 
> -- 
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  
> http://xmlsoft.org/
> daniel@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | 
> 
> 



-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>
Received on Monday, 23 May 2005 07:16:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:50 GMT