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

RE: may dataTyped elements be empty?

From: David E. Cleary <davec@progress.com>
Date: Mon, 22 Jan 2001 10:05:23 -0500
To: <francis@redrice.com>, "xmlSchema-dev" <xmlschema-dev@w3.org>
Message-ID: <NDBBIOBPAGDGFJAHFCGGCEPHCEAA.davec@progress.com>
> I ahve found documentation for the xsi:nullable attribute but cannot
> find any explicit discussion of this issue. Which is correct, please?

In your schema, add a nullable="true" attribute to your element declaration.
In your instance, define the xsi: namespace and add a xsi:null="true"
attribute to your instance element. Lastly, make sure XMLSpy has support for
xsi:null.

David Cleary
Progress Software
Received on Monday, 22 January 2001 10:08:47 GMT

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