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 14559 - Test stZ007, stZ047, stZ055 (xs:anySimpleType) invalid in XSD 1.1
Summary: Test stZ007, stZ047, stZ055 (xs:anySimpleType) invalid in XSD 1.1
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC All
: P2 normal
Target Milestone: XSD 1.1 PR
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
Keywords: decided
: 15639 (view as bug list)
Depends on:
Reported: 2011-10-25 15:17 UTC by Michael Kay
Modified: 2012-01-20 14:59 UTC (History)
2 users (show)

See Also:


Description Michael Kay 2011-10-25 15:17:07 UTC
I believe the schemas used by these tests are invalid in XSD 1.1. (I think they should be invalid in 1.0 too, but the spec isn't clear).

In all three cases the schema defines a type that is effectively;

    <xs:complexType name="t2">
         <xs:restriction base="t1" >

where t1 is a complex type with simple content, whose simple content type is xs:anySimpleType.

I believe this violates the rule in Part 2 section "The 
Comment 1 David Ezell 2011-11-04 16:00:28 UTC
add a result for 1.1 of schema invalid.
Comment 2 Michael Kay 2011-11-30 09:41:44 UTC
Tests fixed as suggested.
Comment 3 Michael Kay 2012-01-20 14:59:52 UTC
*** Bug 15639 has been marked as a duplicate of this bug. ***