[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[XML Schema 1.1] Order of openness

From: Costello, Roger L. <costello@mitre.org>
Date: Sun, 7 Jun 2009 07:51:32 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB5003FD40C1B7@IMCMBX3.MITRE.ORG>
[XML Schema 1.1] Order of openness

Hi Folks,

When declaring open content, the "amount" of openness is determined by the value of the mode attribute:

   <openContent mode="_____">
       ...
   </openContent>

Here is the order of openness:

interleave is greater than suffix is greater than none


Thus, there are only two rules to remember regarding a subtype and its parent type:

    Derive-by-extension: a subtype cannot 
    specify openness that is less than its 
    parent's openness.

    Derive-by-restriction: a subtype cannot 
    specify openness that is greater than its 
    parent's openness.


Do you agree?

/Roger
Received on Sunday, 7 June 2009 11:52:05 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.