mkuchtiak@47
|
1 |
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
|
mkristofic@1583
|
2 |
<!--
|
mkristofic@1583
|
3 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
mkristofic@1583
|
4 |
|
mkristofic@1583
|
5 |
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
|
mkristofic@1583
|
6 |
|
mkristofic@1583
|
7 |
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
mkristofic@1583
|
8 |
Other names may be trademarks of their respective owners.
|
mkristofic@1583
|
9 |
|
mkristofic@1583
|
10 |
The contents of this file are subject to the terms of either the GNU
|
mkristofic@1583
|
11 |
General Public License Version 2 only ("GPL") or the Common
|
mkristofic@1583
|
12 |
Development and Distribution License("CDDL") (collectively, the
|
mkristofic@1583
|
13 |
"License"). You may not use this file except in compliance with the
|
mkristofic@1583
|
14 |
License. You can obtain a copy of the License at
|
mkristofic@1583
|
15 |
http://www.netbeans.org/cddl-gplv2.html
|
mkristofic@1583
|
16 |
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
mkristofic@1583
|
17 |
specific language governing permissions and limitations under the
|
mkristofic@1583
|
18 |
License. When distributing the software, include this License Header
|
mkristofic@1583
|
19 |
Notice in each file and include the License file at
|
mkristofic@1583
|
20 |
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
mkristofic@1583
|
21 |
particular file as subject to the "Classpath" exception as provided
|
mkristofic@1583
|
22 |
by Oracle in the GPL Version 2 section of the License file that
|
mkristofic@1583
|
23 |
accompanied this code. If applicable, add the following below the
|
mkristofic@1583
|
24 |
License Header, with the fields enclosed by brackets [] replaced by
|
mkristofic@1583
|
25 |
your own identifying information:
|
mkristofic@1583
|
26 |
"Portions Copyrighted [year] [name of copyright owner]"
|
mkristofic@1583
|
27 |
|
mkristofic@1583
|
28 |
Contributor(s):
|
mkristofic@1583
|
29 |
|
mkristofic@1583
|
30 |
The Original Software is NetBeans. The Initial Developer of the Original
|
mkristofic@1583
|
31 |
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
|
mkristofic@1583
|
32 |
Microsystems, Inc. All Rights Reserved.
|
mkristofic@1583
|
33 |
|
mkristofic@1583
|
34 |
If you wish your version of this file to be governed by only the CDDL
|
mkristofic@1583
|
35 |
or only the GPL Version 2, indicate your decision by adding
|
mkristofic@1583
|
36 |
"[Contributor] elects to include this software in this distribution
|
mkristofic@1583
|
37 |
under the [CDDL or GPL Version 2] license." If you do not indicate a
|
mkristofic@1583
|
38 |
single choice of license, a recipient has the option to distribute
|
mkristofic@1583
|
39 |
your version of this file under either the CDDL, the GPL Version 2 or
|
mkristofic@1583
|
40 |
to extend the choice of license to its licensees as provided above.
|
mkristofic@1583
|
41 |
However, if you add GPL Version 2 code and therefore, elected the GPL
|
mkristofic@1583
|
42 |
Version 2 license, then the option applies only if the new code is
|
mkristofic@1583
|
43 |
made subject to such option by the copyright holder.
|
mkristofic@1583
|
44 |
-->
|
mkuchtiak@47
|
45 |
|
mkuchtiak@47
|
46 |
<!-- The bindingschema -->
|
mkuchtiak@47
|
47 |
<!ENTITY % bindingschema PUBLIC 'bindingschema' 'bindingschema_1_0.dtd' >
|
mkuchtiak@47
|
48 |
|
mkuchtiak@47
|
49 |
<!ENTITY % nds 'xmlns%s;'>
|
mkuchtiak@47
|
50 |
|
mkuchtiak@47
|
51 |
<!-- Define all the element names, with optional prefix -->
|
mkuchtiak@47
|
52 |
<!ENTITY % schema "%p;schema">
|
mkuchtiak@47
|
53 |
<!ENTITY % complexType "%p;complexType">
|
mkuchtiak@47
|
54 |
<!ENTITY % complexContent "%p;complexContent">
|
mkuchtiak@47
|
55 |
<!ENTITY % simpleContent "%p;simpleContent">
|
mkuchtiak@47
|
56 |
<!ENTITY % extension "%p;extension">
|
mkuchtiak@47
|
57 |
<!ENTITY % element "%p;element">
|
mkuchtiak@47
|
58 |
<!ENTITY % unique "%p;unique">
|
mkuchtiak@47
|
59 |
<!ENTITY % key "%p;key">
|
mkuchtiak@47
|
60 |
<!ENTITY % keyref "%p;keyref">
|
mkuchtiak@47
|
61 |
<!ENTITY % selector "%p;selector">
|
mkuchtiak@47
|
62 |
<!ENTITY % field "%p;field">
|
mkuchtiak@47
|
63 |
<!ENTITY % group "%p;group">
|
mkuchtiak@47
|
64 |
<!ENTITY % all "%p;all">
|
mkuchtiak@47
|
65 |
<!ENTITY % choice "%p;choice">
|
mkuchtiak@47
|
66 |
<!ENTITY % sequence "%p;sequence">
|
mkuchtiak@47
|
67 |
<!ENTITY % any "%p;any">
|
mkuchtiak@47
|
68 |
<!ENTITY % anyAttribute "%p;anyAttribute">
|
mkuchtiak@47
|
69 |
<!ENTITY % attribute "%p;attribute">
|
mkuchtiak@47
|
70 |
<!ENTITY % attributeGroup "%p;attributeGroup">
|
mkuchtiak@47
|
71 |
<!ENTITY % include "%p;include">
|
mkuchtiak@47
|
72 |
<!ENTITY % import "%p;import">
|
mkuchtiak@47
|
73 |
<!ENTITY % redefine "%p;redefine">
|
mkuchtiak@47
|
74 |
<!ENTITY % notation "%p;notation">
|
mkuchtiak@47
|
75 |
|
mkuchtiak@47
|
76 |
<!-- annotation elements -->
|
mkuchtiak@47
|
77 |
<!ENTITY % annotation "%p;annotation">
|
mkuchtiak@47
|
78 |
<!ENTITY % appinfo "%p;appinfo">
|
mkuchtiak@47
|
79 |
<!ENTITY % documentation "%p;documentation">
|
mkuchtiak@47
|
80 |
|
mkuchtiak@47
|
81 |
<!-- Customisation entities for the ATTLIST of each element type.
|
mkuchtiak@47
|
82 |
Define one of these if your schema takes advantage of the
|
mkuchtiak@47
|
83 |
anyAttribute='##other' in the schema for schemas -->
|
mkuchtiak@47
|
84 |
|
mkuchtiak@47
|
85 |
<!ENTITY % schemaAttrs ''>
|
mkuchtiak@47
|
86 |
<!ENTITY % complexTypeAttrs ''>
|
mkuchtiak@47
|
87 |
<!ENTITY % complexContentAttrs ''>
|
mkuchtiak@47
|
88 |
<!ENTITY % simpleContentAttrs ''>
|
mkuchtiak@47
|
89 |
<!ENTITY % extensionAttrs ''>
|
mkuchtiak@47
|
90 |
<!ENTITY % elementAttrs ''>
|
mkuchtiak@47
|
91 |
<!ENTITY % groupAttrs ''>
|
mkuchtiak@47
|
92 |
<!ENTITY % allAttrs ''>
|
mkuchtiak@47
|
93 |
<!ENTITY % choiceAttrs ''>
|
mkuchtiak@47
|
94 |
<!ENTITY % sequenceAttrs ''>
|
mkuchtiak@47
|
95 |
<!ENTITY % anyAttrs ''>
|
mkuchtiak@47
|
96 |
<!ENTITY % anyAttributeAttrs ''>
|
mkuchtiak@47
|
97 |
<!ENTITY % attributeAttrs ''>
|
mkuchtiak@47
|
98 |
<!ENTITY % attributeGroupAttrs ''>
|
mkuchtiak@47
|
99 |
<!ENTITY % uniqueAttrs ''>
|
mkuchtiak@47
|
100 |
<!ENTITY % keyAttrs ''>
|
mkuchtiak@47
|
101 |
<!ENTITY % keyrefAttrs ''>
|
mkuchtiak@47
|
102 |
<!ENTITY % selectorAttrs ''>
|
mkuchtiak@47
|
103 |
<!ENTITY % fieldAttrs ''>
|
mkuchtiak@47
|
104 |
<!ENTITY % includeAttrs ''>
|
mkuchtiak@47
|
105 |
<!ENTITY % importAttrs ''>
|
mkuchtiak@47
|
106 |
<!ENTITY % redefineAttrs ''>
|
mkuchtiak@47
|
107 |
<!ENTITY % notationAttrs ''>
|
mkuchtiak@47
|
108 |
<!ENTITY % annotationAttrs ''>
|
mkuchtiak@47
|
109 |
<!ENTITY % appinfoAttrs ''>
|
mkuchtiak@47
|
110 |
<!ENTITY % documentationAttrs ''>
|
mkuchtiak@47
|
111 |
|
mkuchtiak@47
|
112 |
<!ENTITY % complexDerivationSet "CDATA">
|
mkuchtiak@47
|
113 |
<!-- #all or space-separated list drawn from derivationChoice -->
|
mkuchtiak@47
|
114 |
<!ENTITY % blockSet "CDATA">
|
mkuchtiak@47
|
115 |
<!-- #all or space-separated list drawn from
|
mkuchtiak@47
|
116 |
derivationChoice + 'substitution' -->
|
mkuchtiak@47
|
117 |
|
mkuchtiak@47
|
118 |
<!ENTITY % mgs '%all; | %choice; | %sequence;'>
|
mkuchtiak@47
|
119 |
<!ENTITY % cs '%choice; | %sequence;'>
|
mkuchtiak@47
|
120 |
<!ENTITY % formValues '(qualified|unqualified)'>
|
mkuchtiak@47
|
121 |
|
mkuchtiak@47
|
122 |
|
mkuchtiak@47
|
123 |
<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
|
mkuchtiak@47
|
124 |
|
mkuchtiak@47
|
125 |
<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
|
mkuchtiak@47
|
126 |
|
mkuchtiak@47
|
127 |
<!-- This is used in part2 -->
|
mkuchtiak@47
|
128 |
<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
|
mkuchtiak@47
|
129 |
|
mkuchtiak@47
|
130 |
%xs-datatypes;
|
mkuchtiak@47
|
131 |
%bindingschema;
|
mkuchtiak@47
|
132 |
|
mkuchtiak@47
|
133 |
<!-- the duplication below is to produce an unambiguous content model
|
mkuchtiak@47
|
134 |
which allows annotation everywhere -->
|
mkuchtiak@47
|
135 |
<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
|
mkuchtiak@47
|
136 |
(%simpleType; | %complexType;
|
mkuchtiak@47
|
137 |
| %element; | %attribute;
|
mkuchtiak@47
|
138 |
| %attributeGroup; | %group;
|
mkuchtiak@47
|
139 |
| %notation; | %annotation;)* )>
|
mkuchtiak@47
|
140 |
<!ATTLIST %schema;
|
mkuchtiak@47
|
141 |
targetNamespace %URIref; #IMPLIED
|
mkuchtiak@47
|
142 |
version CDATA #IMPLIED
|
mkuchtiak@47
|
143 |
%nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
|
mkuchtiak@47
|
144 |
xmlns CDATA #IMPLIED
|
mkuchtiak@47
|
145 |
finalDefault %complexDerivationSet; ''
|
mkuchtiak@47
|
146 |
blockDefault %blockSet; ''
|
mkuchtiak@47
|
147 |
id ID #IMPLIED
|
mkuchtiak@47
|
148 |
elementFormDefault %formValues; 'unqualified'
|
mkuchtiak@47
|
149 |
attributeFormDefault %formValues; 'unqualified'
|
mkuchtiak@47
|
150 |
xml:lang CDATA #IMPLIED
|
mkuchtiak@47
|
151 |
%schemaAttrs;>
|
mkuchtiak@47
|
152 |
<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
|
mkuchtiak@47
|
153 |
because at the Infoset level where schemas operate,
|
mkuchtiak@47
|
154 |
xmlns(:prefix) is NOT an attribute! -->
|
mkuchtiak@47
|
155 |
<!-- The declaration of xmlns is a convenience for schema authors -->
|
mkuchtiak@47
|
156 |
|
mkuchtiak@47
|
157 |
<!-- The id attribute here and below is for use in external references
|
mkuchtiak@47
|
158 |
from non-schemas using simple fragment identifiers.
|
mkuchtiak@47
|
159 |
It is NOT used for schema-to-schema reference, internal or
|
mkuchtiak@47
|
160 |
external. -->
|
mkuchtiak@47
|
161 |
|
mkuchtiak@47
|
162 |
<!-- a type is a named content type specification which allows attribute
|
mkuchtiak@47
|
163 |
declarations-->
|
mkuchtiak@47
|
164 |
<!-- -->
|
mkuchtiak@47
|
165 |
|
mkuchtiak@47
|
166 |
<!ELEMENT %complexType; ((%annotation;)?,
|
mkuchtiak@47
|
167 |
(%simpleContent;|%complexContent;|
|
mkuchtiak@47
|
168 |
%particleAndAttrs;))>
|
mkuchtiak@47
|
169 |
|
mkuchtiak@47
|
170 |
<!ATTLIST %complexType;
|
mkuchtiak@47
|
171 |
name %NCName; #IMPLIED
|
mkuchtiak@47
|
172 |
id ID #IMPLIED
|
mkuchtiak@47
|
173 |
abstract %boolean; #IMPLIED
|
mkuchtiak@47
|
174 |
final %complexDerivationSet; #IMPLIED
|
mkuchtiak@47
|
175 |
block %complexDerivationSet; #IMPLIED
|
mkuchtiak@47
|
176 |
mixed (true|false) 'false'
|
mkuchtiak@47
|
177 |
%complexTypeAttrs;>
|
mkuchtiak@47
|
178 |
|
mkuchtiak@47
|
179 |
<!-- particleAndAttrs is shorthand for a root type -->
|
mkuchtiak@47
|
180 |
<!-- mixed is disallowed if simpleContent, overriden if complexContent
|
mkuchtiak@47
|
181 |
has one too. -->
|
mkuchtiak@47
|
182 |
|
mkuchtiak@47
|
183 |
<!-- If anyAttribute appears in one or more referenced attributeGroups
|
mkuchtiak@47
|
184 |
and/or explicitly, the intersection of the permissions is used -->
|
mkuchtiak@47
|
185 |
|
mkuchtiak@47
|
186 |
<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
|
mkuchtiak@47
|
187 |
<!ATTLIST %complexContent;
|
mkuchtiak@47
|
188 |
mixed (true|false) #IMPLIED
|
mkuchtiak@47
|
189 |
id ID #IMPLIED
|
mkuchtiak@47
|
190 |
%complexContentAttrs;>
|
mkuchtiak@47
|
191 |
|
mkuchtiak@47
|
192 |
<!-- restriction should use the branch defined above, not the simple
|
mkuchtiak@47
|
193 |
one from part2; extension should use the full model -->
|
mkuchtiak@47
|
194 |
|
mkuchtiak@47
|
195 |
<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
|
mkuchtiak@47
|
196 |
<!ATTLIST %simpleContent;
|
mkuchtiak@47
|
197 |
id ID #IMPLIED
|
mkuchtiak@47
|
198 |
%simpleContentAttrs;>
|
mkuchtiak@47
|
199 |
|
mkuchtiak@47
|
200 |
<!-- restriction should use the simple branch from part2, not the
|
mkuchtiak@47
|
201 |
one defined above; extension should have no particle -->
|
mkuchtiak@47
|
202 |
|
mkuchtiak@47
|
203 |
<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
|
mkuchtiak@47
|
204 |
<!ATTLIST %extension;
|
mkuchtiak@47
|
205 |
base %QName; #REQUIRED
|
mkuchtiak@47
|
206 |
id ID #IMPLIED
|
mkuchtiak@47
|
207 |
%extensionAttrs;>
|
mkuchtiak@47
|
208 |
|
mkuchtiak@47
|
209 |
<!-- an element is declared by either:
|
mkuchtiak@47
|
210 |
a name and a type (either nested or referenced via the type attribute)
|
mkuchtiak@47
|
211 |
or a ref to an existing element declaration -->
|
mkuchtiak@47
|
212 |
|
mkuchtiak@47
|
213 |
<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
|
mkuchtiak@47
|
214 |
(%unique; | %key; | %keyref;)*)>
|
mkuchtiak@47
|
215 |
<!-- simpleType or complexType only if no type|ref attribute -->
|
mkuchtiak@47
|
216 |
<!-- ref not allowed at top level -->
|
mkuchtiak@47
|
217 |
<!ATTLIST %element;
|
mkuchtiak@47
|
218 |
name %NCName; #IMPLIED
|
mkuchtiak@47
|
219 |
id ID #IMPLIED
|
mkuchtiak@47
|
220 |
ref %QName; #IMPLIED
|
mkuchtiak@47
|
221 |
type %QName; #IMPLIED
|
mkuchtiak@47
|
222 |
minOccurs %nonNegativeInteger; #IMPLIED
|
mkuchtiak@47
|
223 |
maxOccurs CDATA #IMPLIED
|
mkuchtiak@47
|
224 |
nillable %boolean; #IMPLIED
|
mkuchtiak@47
|
225 |
substitutionGroup %QName; #IMPLIED
|
mkuchtiak@47
|
226 |
abstract %boolean; #IMPLIED
|
mkuchtiak@47
|
227 |
final %complexDerivationSet; #IMPLIED
|
mkuchtiak@47
|
228 |
block %blockSet; #IMPLIED
|
mkuchtiak@47
|
229 |
default CDATA #IMPLIED
|
mkuchtiak@47
|
230 |
fixed CDATA #IMPLIED
|
mkuchtiak@47
|
231 |
form %formValues; #IMPLIED
|
mkuchtiak@47
|
232 |
%elementAttrs;>
|
mkuchtiak@47
|
233 |
<!-- type and ref are mutually exclusive.
|
mkuchtiak@47
|
234 |
name and ref are mutually exclusive, one is required -->
|
mkuchtiak@47
|
235 |
<!-- In the absence of type AND ref, type defaults to type of
|
mkuchtiak@47
|
236 |
substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
|
mkuchtiak@47
|
237 |
<!-- default and fixed are mutually exclusive -->
|
mkuchtiak@47
|
238 |
|
mkuchtiak@47
|
239 |
<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
|
mkuchtiak@47
|
240 |
<!ATTLIST %group;
|
mkuchtiak@47
|
241 |
name %NCName; #IMPLIED
|
mkuchtiak@47
|
242 |
ref %QName; #IMPLIED
|
mkuchtiak@47
|
243 |
minOccurs %nonNegativeInteger; #IMPLIED
|
mkuchtiak@47
|
244 |
maxOccurs CDATA #IMPLIED
|
mkuchtiak@47
|
245 |
id ID #IMPLIED
|
mkuchtiak@47
|
246 |
%groupAttrs;>
|
mkuchtiak@47
|
247 |
|
mkuchtiak@47
|
248 |
<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
|
mkuchtiak@47
|
249 |
<!ATTLIST %all;
|
mkuchtiak@47
|
250 |
minOccurs (1) #IMPLIED
|
mkuchtiak@47
|
251 |
maxOccurs (1) #IMPLIED
|
mkuchtiak@47
|
252 |
id ID #IMPLIED
|
mkuchtiak@47
|
253 |
%allAttrs;>
|
mkuchtiak@47
|
254 |
|
mkuchtiak@47
|
255 |
<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
mkuchtiak@47
|
256 |
<!ATTLIST %choice;
|
mkuchtiak@47
|
257 |
minOccurs %nonNegativeInteger; #IMPLIED
|
mkuchtiak@47
|
258 |
maxOccurs CDATA #IMPLIED
|
mkuchtiak@47
|
259 |
id ID #IMPLIED
|
mkuchtiak@47
|
260 |
%choiceAttrs;>
|
mkuchtiak@47
|
261 |
|
mkuchtiak@47
|
262 |
<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
mkuchtiak@47
|
263 |
<!ATTLIST %sequence;
|
mkuchtiak@47
|
264 |
minOccurs %nonNegativeInteger; #IMPLIED
|
mkuchtiak@47
|
265 |
maxOccurs CDATA #IMPLIED
|
mkuchtiak@47
|
266 |
id ID #IMPLIED
|
mkuchtiak@47
|
267 |
%sequenceAttrs;>
|
mkuchtiak@47
|
268 |
|
mkuchtiak@47
|
269 |
<!-- an anonymous grouping in a model, or
|
mkuchtiak@47
|
270 |
a top-level named group definition, or a reference to same -->
|
mkuchtiak@47
|
271 |
|
mkuchtiak@47
|
272 |
<!-- Note that if order is 'all', group is not allowed inside.
|
mkuchtiak@47
|
273 |
If order is 'all' THIS group must be alone (or referenced alone) at
|
mkuchtiak@47
|
274 |
the top level of a content model -->
|
mkuchtiak@47
|
275 |
<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
|
mkuchtiak@47
|
276 |
<!-- Should allow minOccurs=0 inside order='all' . . . -->
|
mkuchtiak@47
|
277 |
|
mkuchtiak@47
|
278 |
<!ELEMENT %any; (%annotation;)?>
|
mkuchtiak@47
|
279 |
<!ATTLIST %any;
|
mkuchtiak@47
|
280 |
namespace CDATA '##any'
|
mkuchtiak@47
|
281 |
processContents (skip|lax|strict) 'strict'
|
mkuchtiak@47
|
282 |
minOccurs %nonNegativeInteger; '1'
|
mkuchtiak@47
|
283 |
maxOccurs CDATA '1'
|
mkuchtiak@47
|
284 |
id ID #IMPLIED
|
mkuchtiak@47
|
285 |
%anyAttrs;>
|
mkuchtiak@47
|
286 |
|
mkuchtiak@47
|
287 |
<!-- namespace is interpreted as follows:
|
mkuchtiak@47
|
288 |
##any - - any non-conflicting WFXML at all
|
mkuchtiak@47
|
289 |
|
mkuchtiak@47
|
290 |
##other - - any non-conflicting WFXML from namespace other
|
mkuchtiak@47
|
291 |
than targetNamespace
|
mkuchtiak@47
|
292 |
|
mkuchtiak@47
|
293 |
##local - - any unqualified non-conflicting WFXML/attribute
|
mkuchtiak@47
|
294 |
one or - - any non-conflicting WFXML from
|
mkuchtiak@47
|
295 |
more URI the listed namespaces
|
mkuchtiak@47
|
296 |
references
|
mkuchtiak@47
|
297 |
|
mkuchtiak@47
|
298 |
##targetNamespace ##local may appear in the above list,
|
mkuchtiak@47
|
299 |
with the obvious meaning -->
|
mkuchtiak@47
|
300 |
|
mkuchtiak@47
|
301 |
<!ELEMENT %anyAttribute; (%annotation;)?>
|
mkuchtiak@47
|
302 |
<!ATTLIST %anyAttribute;
|
mkuchtiak@47
|
303 |
namespace CDATA '##any'
|
mkuchtiak@47
|
304 |
processContents (skip|lax|strict) 'strict'
|
mkuchtiak@47
|
305 |
id ID #IMPLIED
|
mkuchtiak@47
|
306 |
%anyAttributeAttrs;>
|
mkuchtiak@47
|
307 |
<!-- namespace is interpreted as for 'any' above -->
|
mkuchtiak@47
|
308 |
|
mkuchtiak@47
|
309 |
<!-- simpleType only if no type|ref attribute -->
|
mkuchtiak@47
|
310 |
<!-- ref not allowed at top level, name iff at top level -->
|
mkuchtiak@47
|
311 |
<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
|
mkuchtiak@47
|
312 |
<!ATTLIST %attribute;
|
mkuchtiak@47
|
313 |
name %NCName; #IMPLIED
|
mkuchtiak@47
|
314 |
id ID #IMPLIED
|
mkuchtiak@47
|
315 |
ref %QName; #IMPLIED
|
mkuchtiak@47
|
316 |
type %QName; #IMPLIED
|
mkuchtiak@47
|
317 |
use (prohibited|optional|required) #IMPLIED
|
mkuchtiak@47
|
318 |
default CDATA #IMPLIED
|
mkuchtiak@47
|
319 |
fixed CDATA #IMPLIED
|
mkuchtiak@47
|
320 |
form %formValues; #IMPLIED
|
mkuchtiak@47
|
321 |
%attributeAttrs;>
|
mkuchtiak@47
|
322 |
<!-- type and ref are mutually exclusive.
|
mkuchtiak@47
|
323 |
name and ref are mutually exclusive, one is required -->
|
mkuchtiak@47
|
324 |
<!-- default for use is optional when nested, none otherwise -->
|
mkuchtiak@47
|
325 |
<!-- default and fixed are mutually exclusive -->
|
mkuchtiak@47
|
326 |
<!-- type attr and simpleType content are mutually exclusive -->
|
mkuchtiak@47
|
327 |
|
mkuchtiak@47
|
328 |
<!-- an attributeGroup is a named collection of attribute decls, or a
|
mkuchtiak@47
|
329 |
reference thereto -->
|
mkuchtiak@47
|
330 |
<!ELEMENT %attributeGroup; ((%annotation;)?,
|
mkuchtiak@47
|
331 |
(%attribute; | %attributeGroup;)*,
|
mkuchtiak@47
|
332 |
(%anyAttribute;)?) >
|
mkuchtiak@47
|
333 |
<!ATTLIST %attributeGroup;
|
mkuchtiak@47
|
334 |
name %NCName; #IMPLIED
|
mkuchtiak@47
|
335 |
id ID #IMPLIED
|
mkuchtiak@47
|
336 |
ref %QName; #IMPLIED
|
mkuchtiak@47
|
337 |
%attributeGroupAttrs;>
|
mkuchtiak@47
|
338 |
|
mkuchtiak@47
|
339 |
<!-- ref iff no content, no name. ref iff not top level -->
|
mkuchtiak@47
|
340 |
|
mkuchtiak@47
|
341 |
<!-- better reference mechanisms -->
|
mkuchtiak@47
|
342 |
<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
|
mkuchtiak@47
|
343 |
<!ATTLIST %unique;
|
mkuchtiak@47
|
344 |
name %NCName; #REQUIRED
|
mkuchtiak@47
|
345 |
id ID #IMPLIED
|
mkuchtiak@47
|
346 |
%uniqueAttrs;>
|
mkuchtiak@47
|
347 |
|
mkuchtiak@47
|
348 |
<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)>
|
mkuchtiak@47
|
349 |
<!ATTLIST %key;
|
mkuchtiak@47
|
350 |
name %NCName; #REQUIRED
|
mkuchtiak@47
|
351 |
id ID #IMPLIED
|
mkuchtiak@47
|
352 |
%keyAttrs;>
|
mkuchtiak@47
|
353 |
|
mkuchtiak@47
|
354 |
<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
|
mkuchtiak@47
|
355 |
<!ATTLIST %keyref;
|
mkuchtiak@47
|
356 |
name %NCName; #REQUIRED
|
mkuchtiak@47
|
357 |
refer %QName; #REQUIRED
|
mkuchtiak@47
|
358 |
id ID #IMPLIED
|
mkuchtiak@47
|
359 |
%keyrefAttrs;>
|
mkuchtiak@47
|
360 |
|
mkuchtiak@47
|
361 |
<!ELEMENT %selector; ((%annotation;)?)>
|
mkuchtiak@47
|
362 |
<!ATTLIST %selector;
|
mkuchtiak@47
|
363 |
xpath %XPathExpr; #REQUIRED
|
mkuchtiak@47
|
364 |
id ID #IMPLIED
|
mkuchtiak@47
|
365 |
%selectorAttrs;>
|
mkuchtiak@47
|
366 |
<!ELEMENT %field; ((%annotation;)?)>
|
mkuchtiak@47
|
367 |
<!ATTLIST %field;
|
mkuchtiak@47
|
368 |
xpath %XPathExpr; #REQUIRED
|
mkuchtiak@47
|
369 |
id ID #IMPLIED
|
mkuchtiak@47
|
370 |
%fieldAttrs;>
|
mkuchtiak@47
|
371 |
|
mkuchtiak@47
|
372 |
<!-- Schema combination mechanisms -->
|
mkuchtiak@47
|
373 |
<!ELEMENT %include; (%annotation;)?>
|
mkuchtiak@47
|
374 |
<!ATTLIST %include;
|
mkuchtiak@47
|
375 |
schemaLocation %URIref; #REQUIRED
|
mkuchtiak@47
|
376 |
id ID #IMPLIED
|
mkuchtiak@47
|
377 |
%includeAttrs;>
|
mkuchtiak@47
|
378 |
|
mkuchtiak@47
|
379 |
<!ELEMENT %import; (%annotation;)?>
|
mkuchtiak@47
|
380 |
<!ATTLIST %import;
|
mkuchtiak@47
|
381 |
namespace %URIref; #IMPLIED
|
mkuchtiak@47
|
382 |
schemaLocation %URIref; #IMPLIED
|
mkuchtiak@47
|
383 |
id ID #IMPLIED
|
mkuchtiak@47
|
384 |
%importAttrs;>
|
mkuchtiak@47
|
385 |
|
mkuchtiak@47
|
386 |
<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
|
mkuchtiak@47
|
387 |
%attributeGroup; | %group;)*>
|
mkuchtiak@47
|
388 |
<!ATTLIST %redefine;
|
mkuchtiak@47
|
389 |
schemaLocation %URIref; #REQUIRED
|
mkuchtiak@47
|
390 |
id ID #IMPLIED
|
mkuchtiak@47
|
391 |
%redefineAttrs;>
|
mkuchtiak@47
|
392 |
|
mkuchtiak@47
|
393 |
<!ELEMENT %notation; (%annotation;)?>
|
mkuchtiak@47
|
394 |
<!ATTLIST %notation;
|
mkuchtiak@47
|
395 |
name %NCName; #REQUIRED
|
mkuchtiak@47
|
396 |
id ID #IMPLIED
|
mkuchtiak@47
|
397 |
public CDATA #REQUIRED
|
mkuchtiak@47
|
398 |
system %URIref; #IMPLIED
|
mkuchtiak@47
|
399 |
%notationAttrs;>
|
mkuchtiak@47
|
400 |
|
mkuchtiak@47
|
401 |
<!-- Annotation is either application information or documentation -->
|
mkuchtiak@47
|
402 |
<!-- By having these here they are available for datatypes as well
|
mkuchtiak@47
|
403 |
as all the structures elements -->
|
mkuchtiak@47
|
404 |
|
mkuchtiak@47
|
405 |
<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
|
mkuchtiak@47
|
406 |
<!ATTLIST %annotation; %annotationAttrs;>
|
mkuchtiak@47
|
407 |
|
mkuchtiak@47
|
408 |
<!-- User must define annotation elements in internal subset for this
|
mkuchtiak@47
|
409 |
to work -->
|
mkuchtiak@47
|
410 |
<!ELEMENT %appinfo; (((%globalBindings; | %schemaBindings; | %class; | %property; | %typesafeEnumClass; | %typesafeEnumMember; | %javaType;) | %bindings;)*)> <!-- too restrictive -->
|
mkuchtiak@47
|
411 |
<!ATTLIST %appinfo;
|
mkuchtiak@47
|
412 |
source %URIref; #IMPLIED
|
mkuchtiak@47
|
413 |
id ID #IMPLIED
|
mkuchtiak@47
|
414 |
%appinfoAttrs;>
|
mkuchtiak@47
|
415 |
<!ELEMENT %documentation; ANY> <!-- too restrictive -->
|
mkuchtiak@47
|
416 |
<!ATTLIST %documentation;
|
mkuchtiak@47
|
417 |
source %URIref; #IMPLIED
|
mkuchtiak@47
|
418 |
id ID #IMPLIED
|
mkuchtiak@47
|
419 |
xml:lang CDATA #IMPLIED
|
mkuchtiak@47
|
420 |
%documentationAttrs;>
|
mkuchtiak@47
|
421 |
|
mkuchtiak@47
|
422 |
<!NOTATION XMLSchemaStructures PUBLIC
|
mkuchtiak@47
|
423 |
'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
|
mkuchtiak@47
|
424 |
<!NOTATION XML PUBLIC
|
mkuchtiak@47
|
425 |
'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
|