RE: Reg. <all> model group extension

 
> 
> I don't believe you are allowed to extend xs:all in XSD 1.0.  
> This has been relaxed in the upcoming 1.1.

Correct (thanks for spotting this, Pete).

After fixing a couple of typos (bad XML end tags), I get the following from
Saxon 9.2 running with -xsdversion:1.0:

Error on line 15 of test.xsd:
  The type DerivedType is defined with xs:all so (in XSD 1.0) it cannot be
derived by
  extension from a non-empty type
Schema processing failed: The schema is invalid

but with -xsdversion:1.1 I get:

Schema checking successful.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Received on Monday, 30 November 2009 15:11:41 UTC