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 12139 - [IBM] TypeAlternative test s3_12ii06
Summary: [IBM] TypeAlternative test s3_12ii06
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: IBM tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 18:01 UTC by Michael Kay
Modified: 2011-07-29 14:54 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2011-02-19 18:01:03 UTC
The XPath expression 

test="(@kind cast as messageTypeString)='string'"

refers to a type that is not present in the static context for the expression. This is a static XPath error; therefore the schema is invalid. 

(It is tagged in the metadata as valid; the comment in the test appears to concede that this is incorrect.)
Comment 1 David Ezell 2011-07-29 14:38:34 UTC
changing metadata to schema is invalid, and remove the instance test.
Comment 2 C. M. Sperberg-McQueen 2011-07-29 14:54:41 UTC
Resetting the 'component' field of this bug report appropriately.