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

Empty content for Datatypes

From: Elena Litani <hlitani@jtcsv.com>
Date: Wed, 14 Mar 2001 13:47:38 -0500
Message-ID: <3AAFBCCA.AA1DCF38@jtcsv.com>
To: xmlschema-dev@w3.org
Hi, 

If I have definition in schema:

<element name="age" type="positiveInteger"/>

Will <age/> or <age></age> in instance XML document be valid?

Should I declare an element as "nillable" so that empty content is
allowed?

Thank you,
Elena
Received on Wednesday, 14 March 2001 13:45:38 GMT

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