W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2002

datatype for empty content?

From: Francis Brouns <francis.brouns@ou.nl>
Date: Fri, 8 Nov 2002 10:38:13 +0100
Message-ID: <000301c2870a$8f169600$91b01491@otecdev.pwo.ou.nl>
To: <xmlschema-dev@w3.org>


in our schema we have some empty elements, or empty elements with
attributes. An application based on our schema should return dates and times
for these empty elements. Is it possible to indicate that in our schema?
Both XSV and IBM SQC report errors when using base="xs:dateTime" in the
restriction, while XML Spy has no problems with this.

The XML Schema spec state that an empty element with attributes is a
restriction of anyType. This seems to indicate that derived types are not


Francis Brouns
Received on Friday, 8 November 2002 04:37:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:06 UTC