author | mkos |
Sun, 30 Dec 2012 00:00:00 +0100 | |
changeset 22678 | ac1ea46be942 |
parent 12009 | 4abb694f273a |
permissions | -rw-r--r-- |
12009 | 1 |
<?xml version='1.0'?> |
2 |
<!-- |
|
22678
ac1ea46be942
8029237: Update copyright year to match last edit in jaxws repository for 2012
mkos
parents:
12009
diff
changeset
|
3 |
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
12009 | 4 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
||
6 |
This code is free software; you can redistribute it and/or modify it |
|
7 |
under the terms of the GNU General Public License version 2 only, as |
|
8 |
published by the Free Software Foundation. Oracle designates this |
|
9 |
particular file as subject to the "Classpath" exception as provided |
|
10 |
by Oracle in the LICENSE file that accompanied this code. |
|
11 |
||
12 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
13 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 |
version 2 for more details (a copy is included in the LICENSE file that |
|
16 |
accompanied this code). |
|
17 |
||
18 |
You should have received a copy of the GNU General Public License version |
|
19 |
2 along with this work; if not, write to the Free Software Foundation, |
|
20 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
21 |
||
22 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
23 |
or visit www.oracle.com if you need additional information or have any |
|
24 |
questions. |
|
25 |
--> |
|
26 |
||
27 |
<!-- XML Schema schema for XML Schemas: Part 2: Datatypes --> |
|
28 |
<!-- |
|
29 |
This file is fed to XSOM to build schema components for built-in datatypes. |
|
30 |
This file is *NOT* for validating the source schema files. |
|
31 |
--> |
|
32 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
33 |
targetNamespace="http://www.w3.org/2001/XMLSchema" |
|
34 |
version="Id: datatypes.xsd,v 1.52 2001/04/27 11:49:21 ht Exp " |
|
35 |
elementFormDefault="qualified" |
|
36 |
blockDefault="#all" |
|
37 |
xml:lang="en"> |
|
38 |
||
39 |
<xs:simpleType name="string" > |
|
40 |
<xs:restriction base="xs:anySimpleType"> |
|
41 |
<xs:whiteSpace value="preserve" /> |
|
42 |
</xs:restriction> |
|
43 |
</xs:simpleType> |
|
44 |
||
45 |
<xs:simpleType name="boolean" > |
|
46 |
<xs:restriction base="xs:anySimpleType"> |
|
47 |
<xs:whiteSpace value="collapse" fixed="true" |
|
48 |
/> |
|
49 |
</xs:restriction> |
|
50 |
</xs:simpleType> |
|
51 |
||
52 |
<xs:simpleType name="float" > |
|
53 |
<xs:restriction base="xs:anySimpleType"> |
|
54 |
<xs:whiteSpace value="collapse" fixed="true" |
|
55 |
/> |
|
56 |
</xs:restriction> |
|
57 |
</xs:simpleType> |
|
58 |
||
59 |
<xs:simpleType name="double" > |
|
60 |
<xs:restriction base="xs:anySimpleType"> |
|
61 |
<xs:whiteSpace value="collapse" fixed="true" |
|
62 |
/> |
|
63 |
</xs:restriction> |
|
64 |
</xs:simpleType> |
|
65 |
||
66 |
<xs:simpleType name="decimal" > |
|
67 |
<xs:restriction base="xs:anySimpleType"> |
|
68 |
<xs:whiteSpace value="collapse" fixed="true" |
|
69 |
/> |
|
70 |
</xs:restriction> |
|
71 |
</xs:simpleType> |
|
72 |
||
73 |
<xs:simpleType name="duration" > |
|
74 |
<xs:restriction base="xs:anySimpleType"> |
|
75 |
<xs:whiteSpace value="collapse" fixed="true" |
|
76 |
/> |
|
77 |
</xs:restriction> |
|
78 |
</xs:simpleType> |
|
79 |
||
80 |
<xs:simpleType name="dateTime" > |
|
81 |
<xs:restriction base="xs:anySimpleType"> |
|
82 |
<xs:whiteSpace value="collapse" fixed="true" |
|
83 |
/> |
|
84 |
</xs:restriction> |
|
85 |
</xs:simpleType> |
|
86 |
||
87 |
<xs:simpleType name="time" > |
|
88 |
<xs:restriction base="xs:anySimpleType"> |
|
89 |
<xs:whiteSpace value="collapse" fixed="true" |
|
90 |
/> |
|
91 |
</xs:restriction> |
|
92 |
</xs:simpleType> |
|
93 |
||
94 |
<xs:simpleType name="date" > |
|
95 |
<xs:restriction base="xs:anySimpleType"> |
|
96 |
<xs:whiteSpace value="collapse" fixed="true" |
|
97 |
/> |
|
98 |
</xs:restriction> |
|
99 |
</xs:simpleType> |
|
100 |
||
101 |
<xs:simpleType name="gYearMonth" > |
|
102 |
<xs:restriction base="xs:anySimpleType"> |
|
103 |
<xs:whiteSpace value="collapse" fixed="true" |
|
104 |
/> |
|
105 |
</xs:restriction> |
|
106 |
</xs:simpleType> |
|
107 |
||
108 |
<xs:simpleType name="gYear" > |
|
109 |
<xs:restriction base="xs:anySimpleType"> |
|
110 |
<xs:whiteSpace value="collapse" fixed="true" |
|
111 |
/> |
|
112 |
</xs:restriction> |
|
113 |
</xs:simpleType> |
|
114 |
||
115 |
<xs:simpleType name="gMonthDay" > |
|
116 |
<xs:restriction base="xs:anySimpleType"> |
|
117 |
<xs:whiteSpace value="collapse" fixed="true" |
|
118 |
/> |
|
119 |
</xs:restriction> |
|
120 |
</xs:simpleType> |
|
121 |
||
122 |
<xs:simpleType name="gDay" > |
|
123 |
<xs:restriction base="xs:anySimpleType"> |
|
124 |
<xs:whiteSpace value="collapse" fixed="true" |
|
125 |
/> |
|
126 |
</xs:restriction> |
|
127 |
</xs:simpleType> |
|
128 |
||
129 |
<xs:simpleType name="gMonth" > |
|
130 |
<xs:restriction base="xs:anySimpleType"> |
|
131 |
<xs:whiteSpace value="collapse" fixed="true" |
|
132 |
/> |
|
133 |
</xs:restriction> |
|
134 |
</xs:simpleType> |
|
135 |
||
136 |
<xs:simpleType name="hexBinary" > |
|
137 |
<xs:restriction base="xs:anySimpleType"> |
|
138 |
<xs:whiteSpace value="collapse" fixed="true" |
|
139 |
/> |
|
140 |
</xs:restriction> |
|
141 |
</xs:simpleType> |
|
142 |
||
143 |
<xs:simpleType name="base64Binary" > |
|
144 |
<xs:restriction base="xs:anySimpleType"> |
|
145 |
<xs:whiteSpace value="collapse" fixed="true" |
|
146 |
/> |
|
147 |
</xs:restriction> |
|
148 |
</xs:simpleType> |
|
149 |
||
150 |
<xs:simpleType name="anyURI" > |
|
151 |
<xs:restriction base="xs:anySimpleType"> |
|
152 |
<xs:whiteSpace value="collapse" fixed="true" |
|
153 |
/> |
|
154 |
</xs:restriction> |
|
155 |
</xs:simpleType> |
|
156 |
||
157 |
<xs:simpleType name="QName" > |
|
158 |
<xs:restriction base="xs:anySimpleType"> |
|
159 |
<xs:whiteSpace value="collapse" fixed="true" |
|
160 |
/> |
|
161 |
</xs:restriction> |
|
162 |
</xs:simpleType> |
|
163 |
||
164 |
<xs:simpleType name="NOTATION" > |
|
165 |
<xs:restriction base="xs:anySimpleType"> |
|
166 |
<xs:whiteSpace value="collapse" fixed="true" |
|
167 |
/> |
|
168 |
</xs:restriction> |
|
169 |
</xs:simpleType> |
|
170 |
||
171 |
<xs:simpleType name="normalizedString" > |
|
172 |
<xs:restriction base="xs:string"> |
|
173 |
<xs:whiteSpace value="replace" |
|
174 |
/> |
|
175 |
</xs:restriction> |
|
176 |
</xs:simpleType> |
|
177 |
||
178 |
<xs:simpleType name="token" > |
|
179 |
<xs:restriction base="xs:normalizedString"> |
|
180 |
<xs:whiteSpace value="collapse" /> |
|
181 |
</xs:restriction> |
|
182 |
</xs:simpleType> |
|
183 |
||
184 |
<xs:simpleType name="language" > |
|
185 |
<xs:restriction base="xs:token"> |
|
186 |
<xs:pattern |
|
187 |
value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*" |
|
188 |
> |
|
189 |
<xs:annotation> |
|
190 |
<xs:documentation |
|
191 |
source="http://www.w3.org/TR/REC-xml#NT-LanguageID"> |
|
192 |
pattern specifies the content of section 2.12 of XML 1.0e2 |
|
193 |
and RFC 1766 |
|
194 |
</xs:documentation> |
|
195 |
</xs:annotation> |
|
196 |
</xs:pattern> |
|
197 |
</xs:restriction> |
|
198 |
</xs:simpleType> |
|
199 |
||
200 |
<xs:simpleType name="IDREFS" > |
|
201 |
<xs:restriction> |
|
202 |
<xs:simpleType> |
|
203 |
<xs:list itemType="xs:IDREF"/> |
|
204 |
</xs:simpleType> |
|
205 |
<xs:minLength value="1" /> |
|
206 |
</xs:restriction> |
|
207 |
</xs:simpleType> |
|
208 |
||
209 |
<xs:simpleType name="ENTITIES" > |
|
210 |
<xs:restriction> |
|
211 |
<xs:simpleType> |
|
212 |
<xs:list itemType="xs:ENTITY"/> |
|
213 |
</xs:simpleType> |
|
214 |
<xs:minLength value="1" /> |
|
215 |
</xs:restriction> |
|
216 |
</xs:simpleType> |
|
217 |
||
218 |
<xs:simpleType name="NMTOKEN" > |
|
219 |
<xs:restriction base="xs:token"> |
|
220 |
<xs:pattern value="\c+" > |
|
221 |
<xs:annotation> |
|
222 |
<xs:documentation |
|
223 |
source="http://www.w3.org/TR/REC-xml#NT-Nmtoken"> |
|
224 |
pattern matches production 7 from the XML spec |
|
225 |
</xs:documentation> |
|
226 |
</xs:annotation> |
|
227 |
</xs:pattern> |
|
228 |
</xs:restriction> |
|
229 |
</xs:simpleType> |
|
230 |
||
231 |
<xs:simpleType name="NMTOKENS" > |
|
232 |
<xs:restriction> |
|
233 |
<xs:simpleType> |
|
234 |
<xs:list itemType="xs:NMTOKEN"/> |
|
235 |
</xs:simpleType> |
|
236 |
<xs:minLength value="1" /> |
|
237 |
</xs:restriction> |
|
238 |
</xs:simpleType> |
|
239 |
||
240 |
<xs:simpleType name="Name" > |
|
241 |
<xs:restriction base="xs:token"> |
|
242 |
<xs:pattern value="\i\c*" > |
|
243 |
<xs:annotation> |
|
244 |
<xs:documentation |
|
245 |
source="http://www.w3.org/TR/REC-xml#NT-Name"> |
|
246 |
pattern matches production 5 from the XML spec |
|
247 |
</xs:documentation> |
|
248 |
</xs:annotation> |
|
249 |
</xs:pattern> |
|
250 |
</xs:restriction> |
|
251 |
</xs:simpleType> |
|
252 |
||
253 |
<xs:simpleType name="NCName" > |
|
254 |
<xs:restriction base="xs:Name"> |
|
255 |
<xs:pattern value="[\i-[:]][\c-[:]]*" > |
|
256 |
<xs:annotation> |
|
257 |
<xs:documentation |
|
258 |
source="http://www.w3.org/TR/REC-xml-names/#NT-NCName"> |
|
259 |
pattern matches production 4 from the Namespaces in XML spec |
|
260 |
</xs:documentation> |
|
261 |
</xs:annotation> |
|
262 |
</xs:pattern> |
|
263 |
</xs:restriction> |
|
264 |
</xs:simpleType> |
|
265 |
||
266 |
<xs:simpleType name="ID" > |
|
267 |
<xs:restriction base="xs:NCName"/> |
|
268 |
</xs:simpleType> |
|
269 |
||
270 |
<xs:simpleType name="IDREF" > |
|
271 |
<xs:restriction base="xs:NCName"/> |
|
272 |
</xs:simpleType> |
|
273 |
||
274 |
<xs:simpleType name="ENTITY" > |
|
275 |
<xs:restriction base="xs:NCName"/> |
|
276 |
</xs:simpleType> |
|
277 |
||
278 |
<xs:simpleType name="integer" > |
|
279 |
<xs:restriction base="xs:decimal"> |
|
280 |
<xs:fractionDigits value="0" fixed="true" /> |
|
281 |
</xs:restriction> |
|
282 |
</xs:simpleType> |
|
283 |
||
284 |
<xs:simpleType name="nonPositiveInteger" > |
|
285 |
<xs:restriction base="xs:integer"> |
|
286 |
<xs:maxInclusive value="0" /> |
|
287 |
</xs:restriction> |
|
288 |
</xs:simpleType> |
|
289 |
||
290 |
<xs:simpleType name="negativeInteger" > |
|
291 |
<xs:restriction base="xs:nonPositiveInteger"> |
|
292 |
<xs:maxInclusive value="-1" /> |
|
293 |
</xs:restriction> |
|
294 |
</xs:simpleType> |
|
295 |
||
296 |
<xs:simpleType name="long" > |
|
297 |
<xs:restriction base="xs:integer"> |
|
298 |
<xs:minInclusive value="-9223372036854775808" /> |
|
299 |
<xs:maxInclusive value="9223372036854775807" /> |
|
300 |
</xs:restriction> |
|
301 |
</xs:simpleType> |
|
302 |
||
303 |
<xs:simpleType name="int" > |
|
304 |
<xs:restriction base="xs:long"> |
|
305 |
<xs:minInclusive value="-2147483648" /> |
|
306 |
<xs:maxInclusive value="2147483647" /> |
|
307 |
</xs:restriction> |
|
308 |
</xs:simpleType> |
|
309 |
||
310 |
<xs:simpleType name="short" > |
|
311 |
<xs:restriction base="xs:int"> |
|
312 |
<xs:minInclusive value="-32768" /> |
|
313 |
<xs:maxInclusive value="32767" /> |
|
314 |
</xs:restriction> |
|
315 |
</xs:simpleType> |
|
316 |
||
317 |
<xs:simpleType name="byte" > |
|
318 |
<xs:restriction base="xs:short"> |
|
319 |
<xs:minInclusive value="-128" /> |
|
320 |
<xs:maxInclusive value="127" /> |
|
321 |
</xs:restriction> |
|
322 |
</xs:simpleType> |
|
323 |
||
324 |
<xs:simpleType name="nonNegativeInteger" > |
|
325 |
<xs:restriction base="xs:integer"> |
|
326 |
<xs:minInclusive value="0" /> |
|
327 |
</xs:restriction> |
|
328 |
</xs:simpleType> |
|
329 |
||
330 |
<xs:simpleType name="unsignedLong" > |
|
331 |
<xs:restriction base="xs:nonNegativeInteger"> |
|
332 |
<xs:maxInclusive value="18446744073709551615" |
|
333 |
/> |
|
334 |
</xs:restriction> |
|
335 |
</xs:simpleType> |
|
336 |
||
337 |
<xs:simpleType name="unsignedInt" > |
|
338 |
<xs:restriction base="xs:unsignedLong"> |
|
339 |
<xs:maxInclusive value="4294967295" |
|
340 |
/> |
|
341 |
</xs:restriction> |
|
342 |
</xs:simpleType> |
|
343 |
||
344 |
<xs:simpleType name="unsignedShort" > |
|
345 |
<xs:restriction base="xs:unsignedInt"> |
|
346 |
<xs:maxInclusive value="65535" /> |
|
347 |
</xs:restriction> |
|
348 |
</xs:simpleType> |
|
349 |
||
350 |
<xs:simpleType name="unsignedByte" > |
|
351 |
<xs:restriction base="xs:unsignedShort"> |
|
352 |
<xs:maxInclusive value="255" /> |
|
353 |
</xs:restriction> |
|
354 |
</xs:simpleType> |
|
355 |
||
356 |
<xs:simpleType name="positiveInteger" > |
|
357 |
<xs:restriction base="xs:nonNegativeInteger"> |
|
358 |
<xs:minInclusive value="1" /> |
|
359 |
</xs:restriction> |
|
360 |
</xs:simpleType> |
|
361 |
||
362 |
||
363 |
</xs:schema> |
|
364 |