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

RE: Schema Question

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

harriet whitlock

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.

Len
http://www.mp3.com/LenBullard

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

------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

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...


  • References:

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.