Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_xsds / XmlTest_time_withEnum.xsd
CommitLineData
970ed795 1<!--
d44e3c4f 2 Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/epl-v10.html
d44e3c4f 7
8 Contributors:
9 Balasko, Jeno
10 Raduly, Csaba
11-->
970ed795
EL
12<schema xmlns="http://www.w3.org/2001/XMLSchema"
13 xmlns:ns3="www.XmlTest.org/time_withEnum"
14 targetNamespace="www.XmlTest.org/time_withEnum">
15 <annotation>
16 <documentation xml:lang="en">
17 This documentum tests based on
18 XML Schema Part 0: Primer Second Edition,
19 2.3 Simple Types and
20 Appendix B
21 XML Schema Part 2: Datatypes Second Edition
22 3 Built-in Datatypes
23
24 Only existence of built in data types are checked until pattern has been developed
25 </documentation>
26 </annotation>
27
28<simpleType name="DateTimeWithEnum">
29 <restriction base="dateTime">
30 <enumeration value='2009-10-10T14:30:00-05:00'/>
31 <enumeration value='2009-10-10T15:31:00.0-05:00'/>
32 <enumeration value='2009-10-10T16:32:00.00-05:00'/>
33 <enumeration value='2009-10-10T11:33:00.000-05:00'/>
34 </restriction>
35</simpleType>
36
37<simpleType name="MyDate" >
38 <restriction base="date">
39 <enumeration value='2009-10-10'/>
40 </restriction>
41</simpleType>
42
43<simpleType name="MyTime">
44 <restriction base="time">
45 <enumeration value='14:35:01.000'/>
46 <enumeration value='14:34:01.000'/>
47 </restriction>
48</simpleType>
49
50<simpleType name="MyGYear">
51 <restriction base="gYear">
52 <enumeration value='1956'/>
53 <enumeration value='2009'/>
54 <enumeration value='1914'/>
55 </restriction>
56</simpleType>
57
58<simpleType name="MyGYearMonth" >
59 <restriction base="gYearMonth">
60 <enumeration value='1956-12'/>
61 <enumeration value='2009-10'/>
62 <enumeration value='1914-05'/>
63 </restriction>
64</simpleType>
65
66<simpleType name="MyGMonth">
67 <restriction base="gMonth">
68 <enumeration value='--12'/>
69 <enumeration value='--10'/>
70 <enumeration value='--05'/>
71 </restriction>
72</simpleType>
73
74<simpleType name="MyGMonthDay">
75 <restriction base="gMonthDay">
76 <enumeration value='--12-21'/>
77 <enumeration value='--10-30'/>
78 <enumeration value='--05-01'/>
79 </restriction>
80</simpleType>
81
82<simpleType name="MyDay">
83<restriction base="gDay">
84 <enumeration value='---12'/>
85 <enumeration value='---10'/>
86 <enumeration value='---05'/>
87 </restriction>
88</simpleType>
89</schema>
This page took 0.027885 seconds and 5 git commands to generate.