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

Format for xsd:date contents?

From: Liz Castro <lcastro@cookwood.com>
Date: Mon, 6 Nov 2000 12:14:12 -0500
Message-Id: <v03102807b62c96c87119@[]>
To: xmlschema-dev@w3.org
As far as I can tell from Datatypes 3.3.27, the format of an element of
type xsd:date should be CCCC-MM-DD. But when I validate:

<last_modified>May 16, 1999</last_modified>

or even

<last_modified>fried potatoes</last_modified>


<xsd:element name="last_modified" type="xsd:date"/>

XSV gives me no error. Is that a bug, or doesn't it care what the date
looks like?


Liz Castro
Cookwood Press
Received on Monday, 6 November 2000 12:12:39 UTC

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