Import schema used in minimal conformance test cases

View: New views
2 Messages — Rating Filter:   Alert me  

Import schema used in minimal conformance test cases

by Xavier Franc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Many tests use an 'import schema' directive,
yet this feature is not supposed to be available
in a minimally conformant XQuery processor
(example: group SeqExprCast)

Regards



Re: Import schema used in minimal conformance test cases

by Andrew Eisenberg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Our Guidelines for Running the XML Query Test Suite [1] allow these directives to be customized before the query is run.
The Customizing Namespaces section says:

"This declaration can be customized in one of the following three ways:

   1. Unchanged: use schema import as indicated in the original query
   2. Remove the schema import declaration from the query, and add namespace declaration using same name and URI to statically known namespaces before the query is executed.
   3. Replace schema import with namespace declaration using same name and URI."


Also, you might want to look at  issue 1997, which was raised several months ago by David Carlisle [2].



                                               -- Andrew

[1] Guidelines for Running the XML Query Test Suite
http://www.w3.org/XML/Query/test-suite/Guidelines%20for%20Running%20the%20XML%20Query%20Test%20Suite.html

[2] Bugzilla Bug 1997 dependence on schema import
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1997

--------------------
Andrew Eisenberg
IBM
4 Technology Park Drive
Westford, MA  01886

andrew.eisenberg@...




Xavier Franc <xfranc@...>
Sent by: public-xqts-comments-request@...

01/10/2006 03:18 PM

To
public-xqts-comments@...
cc
Subject
Import schema used in minimal conformance test cases






Many tests use an 'import schema' directive,
yet this feature is not supposed to be available
in a minimally conformant XQuery processor
(example: group SeqExprCast)

Regards