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

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC