RE: Occurrence constraints

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, XML Spy 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@cs.vassar.edu
http://americannationalcorpus.org

Received on Thursday, 3 June 2004 18:06:42 UTC