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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] modeling, validating and documenting an xml grammar

[ Lists Home | Date Index | Thread Index ]

Joe English wrote:
> What are the real-world use cases of minOccurs and maxOccurs?
> In my experience, occurrence constraints specifying anything
> other than zero, one, or many are almost always an indication
> of a bad design decision somewhere in the system.

The lack of compelling use cases is most probably why M-N didn't make it
into RELAX NG v1.0. The deficiency is not a big problem. Maybe the TC saw it
as syntax sugar? Don't remember.

> (Or maybe that *is* the use case?  To be able to accurately
> describe badly normalized legacy RDBMSs and other such things?)

Don't know, but I'd be interested to know. Who out there is using
minOccurs/maxOccurs in XML Schema beyond zero-one-many? Can you live without
minOccurs/maxOccurs or do you gotta have it?

Mike





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS