[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: maxOccurs bug

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 10 Mar 2008 08:25:25 +0200
To: Chris <jesdisciple@gmail.com>
Cc: xmlschema-dev@w3.org
Message-ID: <20080310062525.GB17046@karelia>
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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.