Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/simple-test/datetime-test.xsd
Ariel Backenroth 4cd6ce00f8 adding support for schema date types xs:time, xs:gDay, xs:gMonth, xs:gYear, xs:MonthDay, xs:gYearMonth.
introducing concept of composite widgets for handling YearMonthPicker and MonthDayPicker.

streamlining call point for commiting value changes.

more work on implementing xf:switch.

removing deprecation warning from DatePickerGenerator.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-21 23:37:56 +00:00

22 lines
1014 B
XML

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:alf="http://www.alfresco.org"
elementFormDefault="qualified" >
<xs:element name="datetime-test">
<xs:complexType>
<xs:sequence>
<xs:element name="datetime" type="xs:dateTime" minOccurs="1" maxOccurs="1"/>
<xs:element name="date" type="xs:date" minOccurs="1" maxOccurs="1"/>
<xs:element name="time" type="xs:time" minOccurs="1" maxOccurs="1"/>
<xs:element name="day" type="xs:gDay" minOccurs="1" maxOccurs="1"/>
<xs:element name="month" type="xs:gMonth" minOccurs="1" maxOccurs="1"/>
<xs:element name="year" type="xs:gYear" minOccurs="1" maxOccurs="1"/>
<xs:element name="month_day" type="xs:gMonthDay" minOccurs="1" maxOccurs="1"/>
<xs:element name="year_month" type="xs:gYearMonth" minOccurs="1" maxOccurs="1"/>
<!-- not supported by chiba -->
<!-- xs:element name="duration" type="xs:duration" minOccurs="1" maxOccurs="1"/ -->
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>