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

complexContent w/ choice minOccurs=0

From: Tom Moog <tmoog@sarvega.com>
Date: Thu, 16 May 2002 15:31:42 -0500
Message-ID: <3CE4172E.CABB0407@sarvega.com>
CC: xmlschema-dev@w3.org
what does minoccurs 0 mean

In Schema Part I [Sec 3.4.2] in the discussion of content type for
complexContent for a restriction it states:

1.1  If one of the following is true ....
1.1.1 [snip]
1.1.2 [snip]
1.1.3
"There is a <choice> among the children with no children
of its own (excluding <annotation>) whose minOccurs attribute
has the actual value 0."

then [the content type is] empty.
-------------------------------------------
Question 1: If a <choice> has no children then what does
it mean to have a minOccurs > 0 ?

Question 2 (terminology): What is the author trying to say
when he writes "the actual value 0" instead of "the value 0".

-----------------------------------------

The appropriate case among the following:
1 If the <restriction> alternative is chosen, then the appropriate case
among the following:
1.1 If one of the following is true
1.1.1 There is no <group>, <all>, <choice> or <sequence> among the
[children];
1.1.2 There is an <all> or <sequence> among the [children] with no
[children] of its own excluding
         <annotation>;
1.1.3 There is a <choice> among the [children] with no [children] of its
own excluding <annotation>
whose minOccurs [attribute] has the ·actual value· 0;
, then empty;
Received on Thursday, 16 May 2002 16:31:53 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-2013 All Rights Reserved.