Hi Dare, > NOTE: The above constraint on {type definition} > <http://www.w3.org/TR/xmlschema-1/#type_definition> means that in > deriving a type by restriction, any contained type definitions must > themselves be explicitly derived by restriction from the > corresponding type definitions in the base definition. > > However this runs contrary to both the text in 'Essential XML Quick > Reference' on XML Schema xs:restriction (p. 337) and the example in > the XML Schema Primer[1] which imply that simply defining the > contained type again in a derived type without the contained type > deriving by restriction is allowable. XML Spy also validates both > schemas. > > So are we interpreting the recommendation correctly or not? For what it's worth, I think that you are, and that the Primer is in error. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/Received on Saturday, 16 March 2002 06:22:00 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:22 GMT