OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Schema Question

Looks that way to me too, Harriet.  Any or all in any order dependant 
on min/max constraints with a max of one.  For choice, one can set it's
min/max too. 

I am being dense today.  Medication. :-)


Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h

-----Original Message-----
From: H. Whitlock [mailto:whitlohs@UMDNJ.EDU]
Sent: Tuesday, June 12, 2001 3:25 PM
To: Bullard, Claude L (Len); xml-dev@lists.xml.org
Subject: RE: Schema Question

I'm a newbie here (so pardon my intrusion), no guru, and worse, I could be
displaying my blonde streaks. However, the way I read the recommendation,
whether or not an element occurs is dependent on how it's min occurs
property is defined. I'll admit that the recommendation is tough:
"group must: ...(all) contain all and only exactly zero or one of each
element specified in {particles}. The elements can occur in any order. In
this case, to reduce implementation complexity, {particles} is restricted to
contain local and top-level element declarations only, with {min occurs}=0
or 1, {max occurs}=1. "
Perhaps I'm oversimplifying here, but if I slip past that seemingly
contradictory first line (which I think was meant to list the possible
combinations, rather than constrain them) and read the final line, the fact
that the element may have "min occurs=0" would establish it as optional.
I've been thinking of "all" in opposition to "choice" where "choice" can be
compared to radio buttons and "all" to checkboxes (with "reorderable"
boxes). Sure hope I've not been messing this one up.

I await correction.

Harriet Whitlock

-----Original Message-----
From: Bullard, Claude L (Len) [mailto:clbullar@ingr.com]
Sent: Tuesday, June 12, 2001 2:41 PM
To: xml-dev@lists.xml.org
Subject: Schema Question

A quickie for the XML Schema gurus.  Is the
meaning of the ALL compositor

o All in any order
o Any or all in any order

The spec production seems to indicate the
latter but I thought I understood it was
the former.


Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h

The xml-dev list is sponsored by XML.org, an initiative of OASIS

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org