Re: Format for xsd:date contents?

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 UTC