src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/datatypes.xsd

Wed, 27 Apr 2016 01:27:09 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:27:09 +0800
changeset 0
373ffda63c9a
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/jaxws/
changeset: 657:d47a47f961ee
tag: jdk8u25-b17

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

mercurial