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