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