W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2007

RE: SimpleType as valid derivation of abstract type in 1.1 ?

From: Michael Kay <mike@saxonica.com>
Date: Fri, 9 Mar 2007 10:54:22 -0000
To: "'Pete Cordell'" <petexmldev@tech-know-ware.com>, "'Guillaume Lebleu'" <gl@brixlogic.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <008401c76239$4c2ca280$6401a8c0@turtle>

> In your example the ObjId type is defaulted to xs:anyType; a 
> complex content type.  To make it simple content, you need to 
> do something like:


I think (without checking my facts) it would also work if the base type has
an empty content model,

<xs:complexType name="obj" abstract="true">

Michael Kay
Received on Friday, 9 March 2007 10:54:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:41 UTC