Import schema used in minimal conformance test cases

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Import schema used in minimal conformance test cases

Xavier Franc

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


Reply | Threaded
Open this post in threaded view
|

Re: Import schema used in minimal conformance test cases

Andrew Eisenberg-2

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

[hidden email]




Xavier Franc <[hidden email]>
Sent by: [hidden email]

01/10/2006 03:18 PM

To
[hidden email]
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