Stanimir Stamenkov wrote: > /Andrew Paterson/: [snip] > > it ignores the minOccurs="1" attribute on the group > > reference and allows the elements to be omitted. > > Nothing is ignored but both definitions are effectively the same - > see "Schema Component Constraint: Effective Total Range (all and > sequence)" <http://www.w3.org/TR/xmlschema-1/#cos-seq-range>.
Many thanks for explaining that. I must confess that I often find standards documents hard to read but your explanation has really clarified it for me. Note: I came to XML from EDI where mandatory composites with all elements optional are fairly common and have the obvious meaning. I must say that I am glad that there are only two elements in the group - if there were a lot of elements, it would require a long and complicated "choice" structure to represent it! Thanks again, Andrew All opinions are completely my own - after all, who else would want to take credit for them? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
