[Home] [By Thread] [By Date] [Recent Entries]


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member