W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

RE: XQTS: why is multiple query elements allowed for test-case?

From: Michael Kay <mhk@mhk.me.uk>
Date: Sun, 13 Nov 2005 16:03:32 -0000
To: "'Frans Englich'" <frans.englich@telia.com>, <public-qt-comments@w3.org>
Message-ID: <E1EbKKW-0004HF-Tx@aji.w3.mag.keio.ac.jp>

I suspect this may have been done with a view to testing modules: at present
I think there are no queries that use multiple modules.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of Frans Englich
> Sent: 13 November 2005 07:50
> To: public-qt-comments@w3.org
> Subject: XQTS: why is multiple query elements allowed for test-case?
> 
> 
> 
> Hello,
> 
> XQTSCatalog.xsd, as per the 0.8.0 release, allows multiple 
> "query" elements 
> for the test-case element. The relevant section looks like this:
> 
>    <xs:complexType name="test-case">
>             <!-- ... -->
>             <xs:element name="query" maxOccurs="unbounded">
>                <!-- ... --->
> 	    </xs:element>
> 
> 
> After checking by changing the schema, it appears that no 
> test-case element 
> have two or more query elements -- all have one.
> 
> I wonder, why is the cardinality unbounded for the query 
> element? I don't 
> understand the purpose, why multiple queries can be of 
> interest to specify 
> for one test case.
> 
> I'll submit a report if it turns out appropriate.
> 
> 
> Cheers,
> 
> 		Frans
> 
> 
Received on Sunday, 13 November 2005 16:03:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT