Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: keyref with empty sets >Thread Next - versioning and extensibility RE: Occurrence constraintsTo: xmlschema-dev@--.--- Date: 6/3/2004 2:06:00 PM
At 01:02 PM 6/3/2004 -0400, you wrote:
>The last clause of the following constraint rules out having
>both minOccurs="0" and maxOccurs="0" specified:
Thank you, I couldn't find that particular constraint no matter how hard I
looked (I now realize I was always searching for "maxOccurs" not "{max
occurs}"...).
>On the other hand, there are also multiple parenthetical comments, such as
>
> (unless minOccurs=maxOccurs=0, in which case the item
> corresponds to no component at all)
>
>But I think the constraint dominates.
The funny thing is, since I couldn't find the constraint myself, and no
else responded, I was going to use a "vote" of my available
parsers/validators (xerces, XSV, SQC, XMLSpy">XMLSpy and Oxygen) . The outcome of
the vote was 5-0 that it _is_ ok to have minOccurs=maxOccurs=0!
Thanks again,
Keith
--------------------------------------------------
Keith Suderman
Technical Specialist
American National Corpus
suderman@c...
http://americannationalcorpus.org
From jeffs@a... Thu Jun 3 18:20:03 2004
Return | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
