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

Applying a minInclusive facet on date types.

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Sat, 04 Nov 2000 13:58:58 +0100
Message-ID: <3A040812.D86730F@dyomedea.com>
To: xmlschema-dev@w3.org
Hi,

According to XML Schema Part 2 [1], the minInclusive facet is valid for
date types.

However, XSV "1.173/1.80 of 2000/10/18 15:54:58" gives the following
error:

"facet minInclusive value not a valid numeric literal: 1900-01-01"

when parsing the following type definition: 

<xsd:simpleType name="sinceType">
 <xsd:restriction base="xsd:date">
  <xsd:minInclusive  value="1900-01-01"/>
 </xsd:restriction>
</xsd:simpleType>

Thanks

Eric

[1] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#date
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------
Received on Saturday, 4 November 2000 08:01:19 GMT

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