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

RE: Schema Question

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: "H. Whitlock" <whitlohs@U...>, xml-dev@l...
  • Date: Tue, 12 Jun 2001 15:32:54 -0500

schema xml order
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@U...]
Sent: Tuesday, June 12, 2001 3:25 PM
To: Bullard, Claude L (Len); xml-dev@l...
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@i...]
Sent: Tuesday, June 12, 2001 2:41 PM
To: xml-dev@l...
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@l...


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.