Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_protocolXSDs / MGW / xml.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2000-2015 Ericsson Telecom AB
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
11 xmlns:xml="http://www.w3.org/XML/1998/namespace"
12 xmlns:xs="http://www.w3.org/2001/XMLSchema"
13 xml:lang="en">
14
15 <xs:attribute name="lang">
16 <xs:annotation>
17 <xs:documentation>
18 <div>
19
20 <h3>lang (as an attribute name)</h3>
21 <p>
22 denotes an attribute whose value
23 is a language code for the natural language of the content of
24 any element; its value is inherited. This name is reserved
25 by virtue of its definition in the XML specification.</p>
26
27 </div>
28 <div>
29 <h4>Notes</h4>
30 <p>
31 Attempting to install the relevant ISO 2- and 3-letter
32 codes as the enumerated possible values is probably never
33 going to be a realistic possibility.
34 </p>
35 <p>
36 See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
37 http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
38 and the IANA language subtag registry at
39 <a href="http://www.iana.org/assignments/language-subtag-registry">
40 http://www.iana.org/assignments/language-subtag-registry</a>
41 for further information.
42 </p>
43 <p>
44 The union allows for the 'un-declaration' of xml:lang with
45 the empty string.
46 </p>
47 </div>
48 </xs:documentation>
49 </xs:annotation>
50 <xs:simpleType>
51 <xs:union memberTypes="xs:language">
52 <xs:simpleType>
53 <xs:restriction base="xs:string">
54 <xs:enumeration value=""/>
55 </xs:restriction>
56 </xs:simpleType>
57 </xs:union>
58 </xs:simpleType>
59 </xs:attribute>
60
61 <xs:attribute name="space">
62 <xs:annotation>
63 <xs:documentation>
64 <div>
65
66 <h3>space (as an attribute name)</h3>
67 <p>
68 denotes an attribute whose
69 value is a keyword indicating what whitespace processing
70 discipline is intended for the content of the element; its
71 value is inherited. This name is reserved by virtue of its
72 definition in the XML specification.</p>
73
74 </div>
75 </xs:documentation>
76 </xs:annotation>
77 <xs:simpleType>
78 <xs:restriction base="xs:NCName">
79 <xs:enumeration value="default"/>
80 <xs:enumeration value="preserve"/>
81 </xs:restriction>
82 </xs:simpleType>
83 </xs:attribute>
84
85 <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
86 <xs:documentation>
87 <div>
88
89 <h3>base (as an attribute name)</h3>
90 <p>
91 denotes an attribute whose value
92 provides a URI to be used as the base for interpreting any
93 relative URIs in the scope of the element on which it
94 appears; its value is inherited. This name is reserved
95 by virtue of its definition in the XML Base specification.</p>
96
97 <p>
98 See <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
99 for information about this attribute.
100 </p>
101 </div>
102 </xs:documentation>
103 </xs:annotation>
104 </xs:attribute>
105
106 <xs:attribute name="id" type="xs:ID">
107 <xs:annotation>
108 <xs:documentation>
109 <div>
110
111 <h3>id (as an attribute name)</h3>
112 <p>
113 denotes an attribute whose value
114 should be interpreted as if declared to be of type ID.
115 This name is reserved by virtue of its definition in the
116 xml:id specification.</p>
117
118 <p>
119 See <a href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
120 for information about this attribute.
121 </p>
122 </div>
123 </xs:documentation>
124 </xs:annotation>
125 </xs:attribute>
126
127 <xs:attributeGroup name="specialAttrs">
128 <xs:attribute ref="xml:base"/>
129 <xs:attribute ref="xml:lang"/>
130 <xs:attribute ref="xml:space"/>
131 <xs:attribute ref="xml:id"/>
132 </xs:attributeGroup>
133
134 </xs:schema>
This page took 0.042295 seconds and 6 git commands to generate.