xommelier 0.1.16 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,240 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <xs:schema targetNamespace="http://www.w3.org/2005/Atom" elementFormDefault="qualified"
3
- attributeFormDefault="unqualified"
4
- xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema">
5
- <xs:annotation>
6
- <xs:documentation>
7
- This version of the Atom schema is based on version 1.0 of the format specifications,
8
- found here http://www.atomenabled.org/developers/syndication/atom-format-spec.php.
9
- </xs:documentation>
10
- </xs:annotation>
11
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd" />
12
- <xs:annotation>
13
- <xs:documentation>
14
- An Atom document may have two root elements, feed and entry, as defined in section 2.
15
- </xs:documentation>
16
- </xs:annotation>
17
- <xs:element name="feed" type="atom:feedType"/>
18
- <xs:element name="entry" type="atom:entryType"/>
19
- <xs:complexType name="textType" mixed="true">
20
- <xs:annotation>
21
- <xs:documentation>
22
- The Atom text construct is defined in section 3.1 of the format spec.
23
- </xs:documentation>
24
- </xs:annotation>
25
- <xs:sequence>
26
- <xs:any namespace="http://www.w3.org/1999/xhtml" minOccurs="0"/>
27
- </xs:sequence>
28
- <xs:attribute name="type" >
29
- <xs:simpleType>
30
- <xs:restriction base="xs:token">
31
- <xs:enumeration value="text"/>
32
- <xs:enumeration value="html"/>
33
- <xs:enumeration value="xhtml"/>
34
- </xs:restriction>
35
- </xs:simpleType>
36
- </xs:attribute>
37
- <xs:attributeGroup ref="atom:commonAttributes"/>
38
- </xs:complexType>
39
- <xs:complexType name="personType">
40
- <xs:annotation>
41
- <xs:documentation>
42
- The Atom person construct is defined in section 3.2 of the format spec.
43
- </xs:documentation>
44
- </xs:annotation>
45
- <xs:choice minOccurs="1" maxOccurs="unbounded">
46
- <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
47
- <xs:element name="uri" type="atom:uriType" minOccurs="0" maxOccurs="1" />
48
- <xs:element name="email" type="atom:emailType" minOccurs="0" maxOccurs="1" />
49
- <xs:any namespace="##other"/>
50
- </xs:choice>
51
- <xs:attributeGroup ref="atom:commonAttributes"/>
52
- </xs:complexType>
53
- <xs:simpleType name="emailType">
54
- <xs:annotation>
55
- <xs:documentation>
56
- Schema definition for an email address.
57
- </xs:documentation>
58
- </xs:annotation>
59
- <xs:restriction base="xs:normalizedString">
60
- <xs:pattern value="\w+@(\w+\.)+\w+" />
61
- </xs:restriction>
62
- </xs:simpleType>
63
- <xs:complexType name="feedType">
64
- <xs:annotation>
65
- <xs:documentation>
66
- The Atom feed construct is defined in section 4.1.1 of the format spec.
67
- </xs:documentation>
68
- </xs:annotation>
69
- <xs:choice minOccurs="3" maxOccurs="unbounded">
70
- <xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
71
- <xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded" />
72
- <xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
73
- <xs:element name="generator" type="atom:generatorType" minOccurs="0" maxOccurs="1" />
74
- <xs:element name="icon" type="atom:iconType" minOccurs="0" maxOccurs="1" />
75
- <xs:element name="id" type="atom:idType" minOccurs="1" maxOccurs="1" />
76
- <xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded" />
77
- <xs:element name="logo" type="atom:logoType" minOccurs="0" maxOccurs="1" />
78
- <xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1" />
79
- <xs:element name="subtitle" type="atom:textType" minOccurs="0" maxOccurs="1" />
80
- <xs:element name="title" type="atom:textType" minOccurs="1" maxOccurs="1" />
81
- <xs:element name="updated" type="atom:dateTimeType" minOccurs="1" maxOccurs="1" />
82
- <xs:element name="entry" type="atom:entryType" minOccurs="0" maxOccurs="unbounded" />
83
- <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
84
- </xs:choice>
85
- <xs:attributeGroup ref="atom:commonAttributes"/>
86
- </xs:complexType>
87
- <xs:complexType name="entryType">
88
- <xs:annotation>
89
- <xs:documentation>
90
- The Atom entry construct is defined in section 4.1.2 of the format spec.
91
- </xs:documentation>
92
- </xs:annotation>
93
- <xs:choice maxOccurs="unbounded">
94
- <xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
95
- <xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded" />
96
- <xs:element name="content" type="atom:contentType" minOccurs="0" maxOccurs="1" />
97
- <xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
98
- <xs:element name="id" type="atom:idType" minOccurs="1" maxOccurs="1" />
99
- <xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded" />
100
- <xs:element name="published" type="atom:dateTimeType" minOccurs="0" maxOccurs="1" />
101
- <xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1" />
102
- <xs:element name="source" type="atom:textType" minOccurs="0" maxOccurs="1" />
103
- <xs:element name="summary" type="atom:textType" minOccurs="0" maxOccurs="1" />
104
- <xs:element name="title" type="atom:textType" minOccurs="1" maxOccurs="1" />
105
- <xs:element name="updated" type="atom:dateTimeType" minOccurs="1" maxOccurs="1" />
106
- <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
107
- </xs:choice>
108
- <xs:attributeGroup ref="atom:commonAttributes"/>
109
- </xs:complexType>
110
- <xs:complexType name="contentType" mixed="true">
111
- <xs:annotation>
112
- <xs:documentation>
113
- The Atom content construct is defined in section 4.1.3 of the format spec.
114
- </xs:documentation>
115
- </xs:annotation>
116
- <xs:sequence>
117
- <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
118
- </xs:sequence>
119
- <xs:attribute name="type" type="xs:string"/>
120
- <xs:attribute name="src" type="xs:anyURI"/>
121
- <xs:attributeGroup ref="atom:commonAttributes"/>
122
- </xs:complexType>
123
- <xs:complexType name="categoryType">
124
- <xs:annotation>
125
- <xs:documentation>
126
- The Atom cagegory construct is defined in section 4.2.2 of the format spec.
127
- </xs:documentation>
128
- </xs:annotation>
129
- <xs:attribute name="term" type="xs:string" use="required"/>
130
- <xs:attribute name="scheme" type="xs:anyURI" use="optional"/>
131
- <xs:attribute name="label" type="xs:string" use="optional"/>
132
- <xs:attributeGroup ref="atom:commonAttributes" />
133
- </xs:complexType>
134
- <xs:complexType name="generatorType">
135
- <xs:annotation>
136
- <xs:documentation>
137
- The Atom generator element is defined in section 4.2.4 of the format spec.
138
- </xs:documentation>
139
- </xs:annotation>
140
- <xs:simpleContent>
141
- <xs:extension base="xs:string">
142
- <xs:attribute name="uri" use="optional" type="xs:anyURI" />
143
- <xs:attribute name="version" use="optional" type="xs:string" />
144
- <xs:attributeGroup ref="atom:commonAttributes"/>
145
- </xs:extension>
146
- </xs:simpleContent>
147
- </xs:complexType>
148
- <xs:complexType name="iconType">
149
- <xs:annotation>
150
- <xs:documentation>
151
- The Atom icon construct is defined in section 4.2.5 of the format spec.
152
- </xs:documentation>
153
- </xs:annotation>
154
- <xs:simpleContent>
155
- <xs:extension base="xs:anyURI">
156
- <xs:attributeGroup ref="atom:commonAttributes"/>
157
- </xs:extension>
158
- </xs:simpleContent>
159
- </xs:complexType>
160
- <xs:complexType name="idType">
161
- <xs:annotation>
162
- <xs:documentation>
163
- The Atom id construct is defined in section 4.2.6 of the format spec.
164
- </xs:documentation>
165
- </xs:annotation>
166
- <xs:simpleContent>
167
- <xs:extension base="xs:anyURI">
168
- <xs:attributeGroup ref="atom:commonAttributes"/>
169
- </xs:extension>
170
- </xs:simpleContent>
171
- </xs:complexType>
172
- <xs:complexType name="linkType" mixed="true">
173
- <xs:annotation>
174
- <xs:documentation>
175
- The Atom link construct is defined in section 3.4 of the format spec.
176
- </xs:documentation>
177
- </xs:annotation>
178
- <xs:attribute name="href" use="required" type="xs:anyURI" />
179
- <xs:attribute name="rel" type="xs:string" use="optional"/>
180
- <xs:attribute name="type" use="optional" type="xs:string" />
181
- <xs:attribute name="hreflang" use="optional" type="xs:NMTOKEN" />
182
- <xs:attribute name="title" use="optional" type="xs:string" />
183
- <xs:attribute name="length" use="optional" type="xs:positiveInteger" />
184
- <xs:attributeGroup ref="atom:commonAttributes"/>
185
- </xs:complexType>
186
- <xs:complexType name="logoType">
187
- <xs:annotation>
188
- <xs:documentation>
189
- The Atom logo construct is defined in section 4.2.8 of the format spec.
190
- </xs:documentation>
191
- </xs:annotation>
192
- <xs:simpleContent>
193
- <xs:extension base="xs:anyURI">
194
- <xs:attributeGroup ref="atom:commonAttributes"/>
195
- </xs:extension>
196
- </xs:simpleContent>
197
- </xs:complexType>
198
- <xs:complexType name="sourceType">
199
- <xs:annotation>
200
- <xs:documentation>
201
- The Atom source construct is defined in section 4.2.11 of the format spec.
202
- </xs:documentation>
203
- </xs:annotation>
204
- <xs:choice maxOccurs="unbounded">
205
- <xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded"/>
206
- <xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded"/>
207
- <xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded"/>
208
- <xs:element name="generator" type="atom:generatorType" minOccurs="0" maxOccurs="1"/>
209
- <xs:element name="icon" type="atom:iconType" minOccurs="0" maxOccurs="1"/>
210
- <xs:element name="id" type="atom:idType" minOccurs="0" maxOccurs="1"/>
211
- <xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded"/>
212
- <xs:element name="logo" type="atom:logoType" minOccurs="0" maxOccurs="1"/>
213
- <xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1"/>
214
- <xs:element name="subtitle" type="atom:textType" minOccurs="0" maxOccurs="1"/>
215
- <xs:element name="title" type="atom:textType" minOccurs="0" maxOccurs="1"/>
216
- <xs:element name="updated" type="atom:dateTimeType" minOccurs="0" maxOccurs="1"/>
217
- <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
218
- </xs:choice>
219
- <xs:attributeGroup ref="atom:commonAttributes"/>
220
- </xs:complexType>
221
- <xs:complexType name="uriType">
222
- <xs:simpleContent>
223
- <xs:extension base="xs:anyURI">
224
- <xs:attributeGroup ref="atom:commonAttributes"/>
225
- </xs:extension>
226
- </xs:simpleContent>
227
- </xs:complexType>
228
- <xs:complexType name="dateTimeType">
229
- <xs:simpleContent>
230
- <xs:extension base="xs:dateTime">
231
- <xs:attributeGroup ref="atom:commonAttributes"/>
232
- </xs:extension>
233
- </xs:simpleContent>
234
- </xs:complexType>
235
- <xs:attributeGroup name="commonAttributes">
236
- <xs:attribute ref="xml:base" />
237
- <xs:attribute ref="xml:lang" />
238
- <xs:anyAttribute namespace="##other"/>
239
- </xs:attributeGroup>
240
- </xs:schema>