W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2001

minOccurs and default

From: Tom Welch <twelch@fastlinepub.com>
Date: Thu, 26 Apr 2001 15:20:31 -0400
Message-ID: <D1189290DF91D311945100805FC70452549E04@WEBSVR>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
I am a late-comer to this list and had a simple question about the proposed
recommendation.

Is the following element guaranteed to create one and only one node when the
node is not explicitly defined in the document using this schema?

<element name="one" type="decimal" minOccurs="0" maxOccurs="3" default="1"/>

-- 
Tom Welch
Received on Thursday, 26 April 2001 15:29:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT