This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3762 - schema-element()/schema-attribute() not tested
Summary: schema-element()/schema-attribute() not tested
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 17:14 UTC by Frans Englich
Modified: 2006-09-27 15:16 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2006-09-22 17:14:05 UTC
From XQTS 1.0:

bash-2.05b$ find -name "*.xq" | xargs grep -nHR "schema-element"
bash-2.05b$ find -name "*.xq" | xargs grep -nHR "schema-attribute"
bash-2.05b$

It looks like no tests at all exists for the node tests schema-element()/schema-attribute(). I've written four tests locally that tests basic error handling, suitable for schema-aware and non schema-aware implementations.

Proposed solution:

* Add a new group under Optional Features/Schema Import Feature that use schema-element()/schema-attribute() with schema types.
* Include my local tests
Comment 1 Andrew Eisenberg 2006-09-27 15:16:13 UTC
Yes, that seems the right thing to do.