W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2002

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

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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:56 UTC