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