Re: maxOccurs bug

Hi Chris,

Chris <jesdisciple@gmail.com> writes:

> <xsd:all>
>   <xsd:element name="example" maxOccurs="2"/>
> </xsd:all>

The validator you are using is correct: elements within the 'all'
compositor cannot have maxOccurs greater than 1.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Received on Monday, 10 March 2008 06:42:50 UTC