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