[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. 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...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|