W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

Types date, time and dateTime.

From: Roberto Hideki <hideki@rededc.com.br>
Date: Tue, 03 Sep 2002 11:04:09 -0600
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Hi !

Im learning XML Schema and Ill like suggest a normalization of the types 
date, time and their derivations. I believe this facilit the manipulation 
the data from an application.
<xs:element name="testDate" type="xs:date>
             <xs:element name="testYear" type="xs:year"/>
             <xs:element name="testMonth" type="xs:month"/>
             <xs:element name="testDay" type="xs:day"/>

My doubt is what element the restriction must be made: In the complexType 
(date) or in the sympleType (year, month and day).

Regards for your attention,

Roberto Hideki Tatemoto
So Paulo Brazil
Received on Tuesday, 3 September 2002 13:05:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:00 UTC