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

Re: Format for xsd:date contents?

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 06 Nov 2000 18:21:22 +0100
Message-ID: <3A06E892.32F4DC74@dyomedea.com>
To: Liz Castro <lcastro@cookwood.com>
CC: xmlschema-dev@w3.org
Liz,

Liz Castro wrote:
> 
> 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>
> 
> against
> 
> <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?

You should have a look at the xsv status page [1] under "3.2.   Not
implemented yet" :

"Simple type conformance, other than enumerations and max/min for
numeric types "

Hope this helps.

Eric

[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html


> Thanks,
> Liz
> 
> _______________
> Liz Castro
> Cookwood Press
> mailto:lcastro@cookwood.com
> http://www.cookwood.com

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------
Received on Monday, 6 November 2000 12:21:36 GMT

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