Complex content derived from simple content - test case particlesZ031

The test schema particlesZ031.xsd is deemed valid in XSD 1.0. It looks 
like this:

<xs:schema xmlns="http://cscB2BCIDXSchemas.Schema1" 
<xs:element name="Root" type="Type1" />
<xs:element name="Record" type="Type2" />
<xs:complexType name="Type1">
<xs:extension base="xs:string">
<xs:attribute name="Field1" type="xs:string" />
<xs:complexType name="Type2">
<xs:extension base="Type1">
<xs:attribute name="Field2" type="xs:string" />

With my 1.1 processor, it's coming up as invalid:

   The type Type2 has complex content so it cannot be derived by 
extension from the complex
   type Type1 which has simple content

I'm having trouble finding the rule that my processor is enforcing here, 
and because it looks like a backwards incompatibility, I'd just like to 
check that it's a deliberate change that we know about.

Michael Kay

Received on Thursday, 8 July 2010 14:48:21 UTC