- From: Roberto Hideki <hideki@rededc.com.br>
- Date: Tue, 03 Sep 2002 11:04:09 -0600
- To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Received on Tuesday, 3 September 2002 13:05:14 UTC
Hi !
I´m learning XML Schema and I´ll like suggest a normalization of the types
date, time and their derivations. I believe this facilit the manipulation
the data from an application.
E.g.
<xs:element name="testDate" type="xs:date>
<xs:complexType>
<xs:sequence>
<xs:element name="testYear" type="xs:year"/>
<xs:element name="testMonth" type="xs:month"/>
<xs:element name="testDay" type="xs:day"/>
</xs:sequence>
</xs:complexType>
</xs:element>
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
São Paulo Brazil
Received on Tuesday, 3 September 2002 13:05:14 UTC