8807a8919936b3ad8e03d3358f381d6deb549dc8
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.model.tosca / src / main / resources / http_www.w3.org_2001_xml.xsd
1 <?xml version='1.0'?>\r
2 <?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>\r
3 <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" \r
4   xmlns:xs="http://www.w3.org/2001/XMLSchema" \r
5   xmlns   ="http://www.w3.org/1999/xhtml"\r
6   xml:lang="en">\r
7 \r
8  <xs:annotation>\r
9   <xs:documentation>\r
10    <div>\r
11     <h1>About the XML namespace</h1>\r
12 \r
13     <div class="bodytext">\r
14      <p>\r
15       This schema document describes the XML namespace, in a form\r
16       suitable for import by other schema documents.\r
17      </p>\r
18      <p>\r
19       See <a href="http://www.w3.org/XML/1998/namespace.html">\r
20       http://www.w3.org/XML/1998/namespace.html</a> and\r
21       <a href="http://www.w3.org/TR/REC-xml">\r
22       http://www.w3.org/TR/REC-xml</a> for information \r
23       about this namespace.\r
24      </p>\r
25      <p>\r
26       Note that local names in this namespace are intended to be\r
27       defined only by the World Wide Web Consortium or its subgroups.\r
28       The names currently defined in this namespace are listed below.\r
29       They should not be used with conflicting semantics by any Working\r
30       Group, specification, or document instance.\r
31      </p>\r
32      <p>   \r
33       See further below in this document for more information about <a\r
34       href="#usage">how to refer to this schema document from your own\r
35       XSD schema documents</a> and about <a href="#nsversioning">the\r
36       namespace-versioning policy governing this schema document</a>.\r
37      </p>\r
38     </div>\r
39    </div>\r
40   </xs:documentation>\r
41  </xs:annotation>\r
42 \r
43  <xs:attribute name="lang">\r
44   <xs:annotation>\r
45    <xs:documentation>\r
46     <div>\r
47      \r
48       <h3>lang (as an attribute name)</h3>\r
49       <p>\r
50        denotes an attribute whose value\r
51        is a language code for the natural language of the content of\r
52        any element; its value is inherited.  This name is reserved\r
53        by virtue of its definition in the XML specification.</p>\r
54      \r
55     </div>\r
56     <div>\r
57      <h4>Notes</h4>\r
58      <p>\r
59       Attempting to install the relevant ISO 2- and 3-letter\r
60       codes as the enumerated possible values is probably never\r
61       going to be a realistic possibility.  \r
62      </p>\r
63      <p>\r
64       See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">\r
65        http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>\r
66       and the IANA language subtag registry at\r
67       <a href="http://www.iana.org/assignments/language-subtag-registry">\r
68        http://www.iana.org/assignments/language-subtag-registry</a>\r
69       for further information.\r
70      </p>\r
71      <p>\r
72       The union allows for the 'un-declaration' of xml:lang with\r
73       the empty string.\r
74      </p>\r
75     </div>\r
76    </xs:documentation>\r
77   </xs:annotation>\r
78   <xs:simpleType>\r
79    <xs:union memberTypes="xs:language">\r
80     <xs:simpleType>    \r
81      <xs:restriction base="xs:string">\r
82       <xs:enumeration value=""/>\r
83      </xs:restriction>\r
84     </xs:simpleType>\r
85    </xs:union>\r
86   </xs:simpleType>\r
87  </xs:attribute>\r
88 \r
89  <xs:attribute name="space">\r
90   <xs:annotation>\r
91    <xs:documentation>\r
92     <div>\r
93      \r
94       <h3>space (as an attribute name)</h3>\r
95       <p>\r
96        denotes an attribute whose\r
97        value is a keyword indicating what whitespace processing\r
98        discipline is intended for the content of the element; its\r
99        value is inherited.  This name is reserved by virtue of its\r
100        definition in the XML specification.</p>\r
101      \r
102     </div>\r
103    </xs:documentation>\r
104   </xs:annotation>\r
105   <xs:simpleType>\r
106    <xs:restriction base="xs:NCName">\r
107     <xs:enumeration value="default"/>\r
108     <xs:enumeration value="preserve"/>\r
109    </xs:restriction>\r
110   </xs:simpleType>\r
111  </xs:attribute>\r
112  \r
113  <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>\r
114    <xs:documentation>\r
115     <div>\r
116      \r
117       <h3>base (as an attribute name)</h3>\r
118       <p>\r
119        denotes an attribute whose value\r
120        provides a URI to be used as the base for interpreting any\r
121        relative URIs in the scope of the element on which it\r
122        appears; its value is inherited.  This name is reserved\r
123        by virtue of its definition in the XML Base specification.</p>\r
124      \r
125      <p>\r
126       See <a\r
127       href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>\r
128       for information about this attribute.\r
129      </p>\r
130     </div>\r
131    </xs:documentation>\r
132   </xs:annotation>\r
133  </xs:attribute>\r
134  \r
135  <xs:attribute name="id" type="xs:ID">\r
136   <xs:annotation>\r
137    <xs:documentation>\r
138     <div>\r
139      \r
140       <h3>id (as an attribute name)</h3> \r
141       <p>\r
142        denotes an attribute whose value\r
143        should be interpreted as if declared to be of type ID.\r
144        This name is reserved by virtue of its definition in the\r
145        xml:id specification.</p>\r
146      \r
147      <p>\r
148       See <a\r
149       href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>\r
150       for information about this attribute.\r
151      </p>\r
152     </div>\r
153    </xs:documentation>\r
154   </xs:annotation>\r
155  </xs:attribute>\r
156 \r
157  <xs:attributeGroup name="specialAttrs">\r
158   <xs:attribute ref="xml:base"/>\r
159   <xs:attribute ref="xml:lang"/>\r
160   <xs:attribute ref="xml:space"/>\r
161   <xs:attribute ref="xml:id"/>\r
162  </xs:attributeGroup>\r
163 \r
164  <xs:annotation>\r
165   <xs:documentation>\r
166    <div>\r
167    \r
168     <h3>Father (in any context at all)</h3> \r
169 \r
170     <div class="bodytext">\r
171      <p>\r
172       denotes Jon Bosak, the chair of \r
173       the original XML Working Group.  This name is reserved by \r
174       the following decision of the W3C XML Plenary and \r
175       XML Coordination groups:\r
176      </p>\r
177      <blockquote>\r
178        <p>\r
179         In appreciation for his vision, leadership and\r
180         dedication the W3C XML Plenary on this 10th day of\r
181         February, 2000, reserves for Jon Bosak in perpetuity\r
182         the XML name "xml:Father".\r
183        </p>\r
184      </blockquote>\r
185     </div>\r
186    </div>\r
187   </xs:documentation>\r
188  </xs:annotation>\r
189 \r
190  <xs:annotation>\r
191   <xs:documentation>\r
192    <div xml:id="usage" id="usage">\r
193     <h2><a name="usage">About this schema document</a></h2>\r
194 \r
195     <div class="bodytext">\r
196      <p>\r
197       This schema defines attributes and an attribute group suitable\r
198       for use by schemas wishing to allow <code>xml:base</code>,\r
199       <code>xml:lang</code>, <code>xml:space</code> or\r
200       <code>xml:id</code> attributes on elements they define.\r
201      </p>\r
202      <p>\r
203       To enable this, such a schema must import this schema for\r
204       the XML namespace, e.g. as follows:\r
205      </p>\r
206      <pre>\r
207           &lt;schema . . .>\r
208            . . .\r
209            &lt;import namespace="http://www.w3.org/XML/1998/namespace"\r
210                       schemaLocation="http://www.w3.org/2001/xml.xsd"/>\r
211      </pre>\r
212      <p>\r
213       or\r
214      </p>\r
215      <pre>\r
216            &lt;import namespace="http://www.w3.org/XML/1998/namespace"\r
217                       schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>\r
218      </pre>\r
219      <p>\r
220       Subsequently, qualified reference to any of the attributes or the\r
221       group defined below will have the desired effect, e.g.\r
222      </p>\r
223      <pre>\r
224           &lt;type . . .>\r
225            . . .\r
226            &lt;attributeGroup ref="xml:specialAttrs"/>\r
227      </pre>\r
228      <p>\r
229       will define a type which will schema-validate an instance element\r
230       with any of those attributes.\r
231      </p>\r
232     </div>\r
233    </div>\r
234   </xs:documentation>\r
235  </xs:annotation>\r
236 \r
237  <xs:annotation>\r
238   <xs:documentation>\r
239    <div id="nsversioning" xml:id="nsversioning">\r
240     <h2><a name="nsversioning">Versioning policy for this schema document</a></h2>\r
241     <div class="bodytext">\r
242      <p>\r
243       In keeping with the XML Schema WG's standard versioning\r
244       policy, this schema document will persist at\r
245       <a href="http://www.w3.org/2009/01/xml.xsd">\r
246        http://www.w3.org/2009/01/xml.xsd</a>.\r
247      </p>\r
248      <p>\r
249       At the date of issue it can also be found at\r
250       <a href="http://www.w3.org/2001/xml.xsd">\r
251        http://www.w3.org/2001/xml.xsd</a>.\r
252      </p>\r
253      <p>\r
254       The schema document at that URI may however change in the future,\r
255       in order to remain compatible with the latest version of XML\r
256       Schema itself, or with the XML namespace itself.  In other words,\r
257       if the XML Schema or XML namespaces change, the version of this\r
258       document at <a href="http://www.w3.org/2001/xml.xsd">\r
259        http://www.w3.org/2001/xml.xsd \r
260       </a> \r
261       will change accordingly; the version at \r
262       <a href="http://www.w3.org/2009/01/xml.xsd">\r
263        http://www.w3.org/2009/01/xml.xsd \r
264       </a> \r
265       will not change.\r
266      </p>\r
267      <p>\r
268       Previous dated (and unchanging) versions of this schema \r
269       document are at:\r
270      </p>\r
271      <ul>\r
272       <li><a href="http://www.w3.org/2009/01/xml.xsd">\r
273         http://www.w3.org/2009/01/xml.xsd</a></li>\r
274       <li><a href="http://www.w3.org/2007/08/xml.xsd">\r
275         http://www.w3.org/2007/08/xml.xsd</a></li>\r
276       <li><a href="http://www.w3.org/2004/10/xml.xsd">\r
277         http://www.w3.org/2004/10/xml.xsd</a></li>\r
278       <li><a href="http://www.w3.org/2001/03/xml.xsd">\r
279         http://www.w3.org/2001/03/xml.xsd</a></li>\r
280      </ul>\r
281     </div>\r
282    </div>\r
283   </xs:documentation>\r
284  </xs:annotation>\r
285 \r
286 </xs:schema>