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 3364 - modules-schema-context
Summary: modules-schema-context
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 13:34 UTC by Michael Kay
Modified: 2006-06-20 17:59 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-06-19 13:34:20 UTC
The library module used in this test, context-lib.xq, contains the expression:

"47" cast as simple:int

However, the imported schema simple.xsd does not define an atomic type named simple:int. It contains an element declaration of that name, but the type of this element is xs:int.

I believe the test should therefore fail with a static error.
Comment 1 Carmelo Montanez 2006-06-20 17:59:07 UTC
Michael:

Thanks for the input.  This is not one of my tests, however I did fixed a few problems with it (hope nothing got broken):

1) Created an actual type (myType) on "simple.xsd"
2) added some ";" from function definitions
3) Recreated the output as the original one was incorrect.

Thanks,
Carmelo