Merge lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 into lp:ubuntu/oneiric/jenkins-winstone
- Oneiric (11.10)
- 827651
- Merge into oneiric
Proposed by
James Page
Status: | Merged |
---|---|
Merge reported by: | James Page |
Merged at revision: | not available |
Proposed branch: | lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 |
Merge into: | lp:ubuntu/oneiric/jenkins-winstone |
Diff against target: |
21177 lines (+20803/-202) 24 files modified
.pc/applied-patches (+1/-1) .pc/use_system_servletapi.patch/pom.xml (+0/-151) debian/README.source (+3/-3) debian/changelog (+16/-0) debian/control (+0/-2) debian/copyright (+9/-0) debian/libjenkins-winstone-java.classpath (+0/-1) debian/patches/series (+1/-1) debian/patches/specification-resources.patch (+10419/-0) debian/patches/use_system_servletapi.patch (+0/-30) pom.xml (+0/-13) src/conf/javax/servlet/resources/XMLSchema.dtd (+402/-0) src/conf/javax/servlet/resources/datatypes.dtd (+203/-0) src/conf/javax/servlet/resources/j2ee_1_4.xsd (+1616/-0) src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd (+353/-0) src/conf/javax/servlet/resources/javaee_5.xsd (+2102/-0) src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd (+585/-0) src/conf/javax/servlet/resources/jsp_2_0.xsd (+316/-0) src/conf/javax/servlet/resources/jsp_2_1.xsd (+349/-0) src/conf/javax/servlet/resources/web-app_2_2.dtd (+602/-0) src/conf/javax/servlet/resources/web-app_2_3.dtd (+1022/-0) src/conf/javax/servlet/resources/web-app_2_4.xsd (+1242/-0) src/conf/javax/servlet/resources/web-app_2_5.xsd (+1275/-0) src/conf/javax/servlet/resources/xml.xsd (+287/-0) |
To merge this branch: | bzr merge lp:~james-page/ubuntu/oneiric/jenkins-winstone/827651 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Development Team | Pending | ||
Review via email: mp+72024@code.launchpad.net |
Commit message
Description of the change
Patch in required Java EE specifications under CDDL/GPL-2 license to provide full offline functionality and remove dependencies on libservlet-2.5-java which does not have the full set of specifications required.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.pc/applied-patches' |
2 | --- .pc/applied-patches 2011-06-29 12:16:17 +0000 |
3 | +++ .pc/applied-patches 2011-08-18 11:23:23 +0000 |
4 | @@ -1,2 +1,2 @@ |
5 | java-1.6.patch |
6 | -use_system_servletapi.patch |
7 | +specification-resources.patch |
8 | |
9 | === added directory '.pc/specification-resources.patch' |
10 | === added directory '.pc/specification-resources.patch/src' |
11 | === added directory '.pc/specification-resources.patch/src/conf' |
12 | === added directory '.pc/specification-resources.patch/src/conf/javax' |
13 | === added directory '.pc/specification-resources.patch/src/conf/javax/servlet' |
14 | === added directory '.pc/specification-resources.patch/src/conf/javax/servlet/resources' |
15 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/XMLSchema.dtd' |
16 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/datatypes.dtd' |
17 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/j2ee_1_4.xsd' |
18 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd' |
19 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/javaee_5.xsd' |
20 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd' |
21 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/jsp_2_0.xsd' |
22 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/jsp_2_1.xsd' |
23 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_2.dtd' |
24 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_3.dtd' |
25 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_4.xsd' |
26 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/web-app_2_5.xsd' |
27 | === added file '.pc/specification-resources.patch/src/conf/javax/servlet/resources/xml.xsd' |
28 | === removed directory '.pc/use_system_servletapi.patch' |
29 | === removed file '.pc/use_system_servletapi.patch/pom.xml' |
30 | --- .pc/use_system_servletapi.patch/pom.xml 2011-06-29 12:16:17 +0000 |
31 | +++ .pc/use_system_servletapi.patch/pom.xml 1970-01-01 00:00:00 +0000 |
32 | @@ -1,151 +0,0 @@ |
33 | -<project> |
34 | - <modelVersion>4.0.0</modelVersion> |
35 | - <groupId>org.jenkins-ci</groupId> |
36 | - <artifactId>winstone</artifactId> |
37 | - <version>0.9.10-jenkins-25</version> |
38 | - <packaging>jar</packaging> |
39 | - |
40 | - <name>Winstone</name> |
41 | - <url>http://winstone.sourceforge.net/</url> |
42 | - <description>Winstone is a servlet container that was written out of a desire to provide servlet functionality without the bloat that full J2EE compliance introduces.</description> |
43 | - |
44 | - <licenses> |
45 | - <license> |
46 | - <name>GNU Lesser General Public License version 2.1</name> |
47 | - <url>http://www.gnu.org/licenses/lgpl.html</url> |
48 | - </license> |
49 | - <license> |
50 | - <name>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0</name> |
51 | - <url>http://www.sun.com/cddl/cddl.html</url> |
52 | - </license> |
53 | - </licenses> |
54 | - |
55 | - <scm> |
56 | - <connection>scm:cvs:pserver:anonymous@winstone.cvs.sourceforge.net:/cvsroot/winstone</connection> |
57 | - <url>http://winstone.cvs.sourceforge.net/winstone/winstone</url> |
58 | - </scm> |
59 | - |
60 | - <build> |
61 | - <sourceDirectory>src/java</sourceDirectory> |
62 | - |
63 | - <resources> |
64 | - <resource> |
65 | - <directory>src/conf</directory> |
66 | - <filtering>true</filtering> |
67 | - <includes> |
68 | - <include>**/*.*</include> |
69 | - </includes> |
70 | - </resource> |
71 | - |
72 | - <resource> |
73 | - <directory>src/java</directory> |
74 | - <includes> |
75 | - <include>**/*.properties</include> |
76 | - </includes> |
77 | - </resource> |
78 | - </resources> |
79 | - |
80 | - <testSourceDirectory>src/test</testSourceDirectory> |
81 | - |
82 | - <testResources> |
83 | - <testResource> |
84 | - <directory>src/test</directory> |
85 | - <excludes> |
86 | - <exclude>**/*.java</exclude> |
87 | - </excludes> |
88 | - </testResource> |
89 | - </testResources> |
90 | - |
91 | - <plugins> |
92 | - <plugin> |
93 | - <artifactId>maven-compiler-plugin</artifactId> |
94 | - <configuration> |
95 | - <source>1.5</source> |
96 | - <target>1.5</target> |
97 | - </configuration> |
98 | - </plugin> |
99 | - |
100 | - <plugin> |
101 | - <artifactId>maven-antrun-plugin</artifactId> |
102 | - <executions> |
103 | - <execution> |
104 | - <id>prepare-testwebapp</id> |
105 | - <phase>process-test-classes</phase> |
106 | - <goals> |
107 | - <goal>run</goal> |
108 | - </goals> |
109 | - <configuration> |
110 | - <tasks> |
111 | - <copy overwrite="true" todir="${project.build.directory}"> |
112 | - <fileset dir="${basedir}/src" includes="testwebapp/**"/> |
113 | - </copy> |
114 | - <copy overwrite="true" todir="${project.build.directory}/testwebapp/WEB-INF/classes"> |
115 | - <fileset dir="${project.build.testOutputDirectory}" includes="**"/> |
116 | - </copy> |
117 | - </tasks> |
118 | - </configuration> |
119 | - </execution> |
120 | - </executions> |
121 | - </plugin> |
122 | - |
123 | - <plugin> |
124 | - <artifactId>maven-surefire-plugin</artifactId> |
125 | - <configuration> |
126 | - <includes> |
127 | - <include>**/*Test.java</include> |
128 | - </includes> |
129 | - <excludes> |
130 | - <exclude>**/*NaughtyTest.java</exclude> |
131 | - <exclude>winstone/testCase/load/LoadTest.java</exclude> |
132 | - </excludes> |
133 | - </configuration> |
134 | - </plugin> |
135 | - |
136 | - <plugin> |
137 | - <artifactId>maven-jar-plugin</artifactId> |
138 | - <configuration> |
139 | - <archive> |
140 | - <manifest> |
141 | - <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
142 | - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
143 | - <mainClass>winstone.Launcher</mainClass> |
144 | - </manifest> |
145 | - </archive> |
146 | - </configuration> |
147 | - </plugin> |
148 | - </plugins> |
149 | - </build> |
150 | - |
151 | - <distributionManagement> |
152 | - <repository> |
153 | - <id>maven.jenkins-ci.org</id> |
154 | - <url>http://maven.jenkins-ci.org:8081/content/repositories/releases</url> |
155 | - </repository> |
156 | - </distributionManagement> |
157 | - |
158 | - <repositories> |
159 | - <repository> |
160 | - <id>maven2-repository.dev.java.net</id> |
161 | - <name>Java.net Repository for Maven</name> |
162 | - <url>http://download.java.net/maven/2/</url> |
163 | - </repository> |
164 | - </repositories> |
165 | - |
166 | - <dependencies> |
167 | - <dependency> |
168 | - <groupId>junit</groupId> |
169 | - <artifactId>junit</artifactId> |
170 | - <version>3.8.1</version> |
171 | - <scope>test</scope> |
172 | - </dependency> |
173 | - |
174 | - <dependency> |
175 | - <groupId>httpunit</groupId> |
176 | - <artifactId>httpunit</artifactId> |
177 | - <version>1.6</version> |
178 | - <scope>test</scope> |
179 | - </dependency> |
180 | - </dependencies> |
181 | - |
182 | -</project> |
183 | - |
184 | |
185 | === modified file 'debian/README.source' |
186 | --- debian/README.source 2011-06-29 12:16:17 +0000 |
187 | +++ debian/README.source 2011-08-18 11:23:23 +0000 |
188 | @@ -21,6 +21,6 @@ |
189 | license appears to have been granted to the winstone project |
190 | for these files. |
191 | |
192 | -Sun Microsystems did release these files under CDDL or GPL-2; |
193 | -libservlet2.5-java provides the same files under CDDL/Apache-2.0 |
194 | -so this library is used instead. |
195 | +Sun Microsystems did released these files under CDDL or GPL-2; |
196 | +these versions are patched into the source tree during package build. |
197 | +(see debian/patches/specification-resources.patch) |
198 | |
199 | === modified file 'debian/changelog' |
200 | --- debian/changelog 2011-06-29 12:16:17 +0000 |
201 | +++ debian/changelog 2011-08-18 11:23:23 +0000 |
202 | @@ -1,3 +1,19 @@ |
203 | +jenkins-winstone (0.9.10-jenkins-25+dfsg-0ubuntu2) oneiric; urgency=low |
204 | + |
205 | + * Support offline validation of XML configuration files (LP: #827651): |
206 | + - debian/patches/specification-resources.patch: CDDL/GPL-2 licensed |
207 | + xsd+DTD resources for all servlet, jsp and j2ee specifications. |
208 | + - debian/copyright: documented copyright + license for |
209 | + specification-resources.patch. |
210 | + - debian/control: Removed dependency on libservlet2.5-java, no longer |
211 | + required. |
212 | + - debian/patches/series,debian/patches/use_system_servletapi.patch: |
213 | + Dropped patch as no longer required. |
214 | + - debian/libjenkins-winstone-java.classpath: Dropped as all required |
215 | + resources are now included in winstone. |
216 | + |
217 | + -- James Page <james.page@ubuntu.com> Thu, 18 Aug 2011 09:55:33 +0100 |
218 | + |
219 | jenkins-winstone (0.9.10-jenkins-25+dfsg-0ubuntu1) oneiric; urgency=low |
220 | |
221 | * Initial release |
222 | |
223 | === modified file 'debian/control' |
224 | --- debian/control 2011-06-29 12:16:17 +0000 |
225 | +++ debian/control 2011-08-18 11:23:23 +0000 |
226 | @@ -16,8 +16,6 @@ |
227 | libhttpunit-java, |
228 | libmaven-antrun-plugin-java, |
229 | libmaven-javadoc-plugin-java, |
230 | - libservlet2.5-java, |
231 | - libservlet2.5-java-doc |
232 | Standards-Version: 3.9.2 |
233 | Homepage: http://github.com/jenkinsci/winstone |
234 | |
235 | |
236 | === modified file 'debian/copyright' |
237 | --- debian/copyright 2011-06-29 12:16:17 +0000 |
238 | +++ debian/copyright 2011-08-18 11:23:23 +0000 |
239 | @@ -10,6 +10,10 @@ |
240 | Copyright: 2011, Canonical Ltd (http://www.canonical.com/) |
241 | License: CDDL |
242 | |
243 | +Files: debian/patches/specification-resources.patch |
244 | +Copyright: 1999-2007, Sun Microsystems, Inc |
245 | +License: CDDL or GPL-2 with Classpath exception |
246 | + |
247 | License: CDDL |
248 | COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 |
249 | . |
250 | @@ -395,3 +399,8 @@ |
251 | License: LGPL-2.1 |
252 | On Debian GNU/Linux system you can find the complete text of the |
253 | LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1' |
254 | + |
255 | +License: GPL-2 |
256 | + On Debian GNU/Linux system you can find the complete text of the |
257 | + GPL-2 license in '/usr/share/common-licenses/GPL-2' |
258 | + |
259 | |
260 | === removed file 'debian/libjenkins-winstone-java.classpath' |
261 | --- debian/libjenkins-winstone-java.classpath 2011-06-29 12:16:17 +0000 |
262 | +++ debian/libjenkins-winstone-java.classpath 1970-01-01 00:00:00 +0000 |
263 | @@ -1,1 +0,0 @@ |
264 | -usr/share/java/jenkins-winstone.jar /usr/share/java/servlet-api-2.5.jar |
265 | |
266 | === modified file 'debian/patches/series' |
267 | --- debian/patches/series 2011-06-29 12:16:17 +0000 |
268 | +++ debian/patches/series 2011-08-18 11:23:23 +0000 |
269 | @@ -1,2 +1,2 @@ |
270 | java-1.6.patch |
271 | -use_system_servletapi.patch |
272 | +specification-resources.patch |
273 | |
274 | === added file 'debian/patches/specification-resources.patch' |
275 | --- debian/patches/specification-resources.patch 1970-01-01 00:00:00 +0000 |
276 | +++ debian/patches/specification-resources.patch 2011-08-18 11:23:23 +0000 |
277 | @@ -0,0 +1,10419 @@ |
278 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/XMLSchema.dtd |
279 | +=================================================================== |
280 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
281 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/XMLSchema.dtd 2011-08-18 09:37:53.671397840 +0100 |
282 | +@@ -0,0 +1,402 @@ |
283 | ++<!-- DTD for XML Schemas: Part 1: Structures |
284 | ++ Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN" |
285 | ++ Official Location: http://www.w3.org/2001/XMLSchema.dtd --> |
286 | ++<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ --> |
287 | ++<!-- Note this DTD is NOT normative, or even definitive. --> <!--d--> |
288 | ++<!-- prose copy in the structures REC is the definitive version --> <!--d--> |
289 | ++<!-- (which shouldn't differ from this one except for this --> <!--d--> |
290 | ++<!-- comment and entity expansions, but just in case) --> <!--d--> |
291 | ++<!-- With the exception of cases with multiple namespace |
292 | ++ prefixes for the XML Schema namespace, any XML document which is |
293 | ++ not valid per this DTD given redefinitions in its internal subset of the |
294 | ++ 'p' and 's' parameter entities below appropriate to its namespace |
295 | ++ declaration of the XML Schema namespace is almost certainly not |
296 | ++ a valid schema. --> |
297 | ++ |
298 | ++<!-- The simpleType element and its constituent parts |
299 | ++ are defined in XML Schema: Part 2: Datatypes --> |
300 | ++<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' > |
301 | ++ |
302 | ++<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a |
303 | ++ schema document to establish a different |
304 | ++ namespace prefix --> |
305 | ++<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must |
306 | ++ also define %s as the suffix for the appropriate |
307 | ++ namespace declaration (e.g. :foo) --> |
308 | ++<!ENTITY % nds 'xmlns%s;'> |
309 | ++ |
310 | ++<!-- Define all the element names, with optional prefix --> |
311 | ++<!ENTITY % schema "%p;schema"> |
312 | ++<!ENTITY % complexType "%p;complexType"> |
313 | ++<!ENTITY % complexContent "%p;complexContent"> |
314 | ++<!ENTITY % simpleContent "%p;simpleContent"> |
315 | ++<!ENTITY % extension "%p;extension"> |
316 | ++<!ENTITY % element "%p;element"> |
317 | ++<!ENTITY % unique "%p;unique"> |
318 | ++<!ENTITY % key "%p;key"> |
319 | ++<!ENTITY % keyref "%p;keyref"> |
320 | ++<!ENTITY % selector "%p;selector"> |
321 | ++<!ENTITY % field "%p;field"> |
322 | ++<!ENTITY % group "%p;group"> |
323 | ++<!ENTITY % all "%p;all"> |
324 | ++<!ENTITY % choice "%p;choice"> |
325 | ++<!ENTITY % sequence "%p;sequence"> |
326 | ++<!ENTITY % any "%p;any"> |
327 | ++<!ENTITY % anyAttribute "%p;anyAttribute"> |
328 | ++<!ENTITY % attribute "%p;attribute"> |
329 | ++<!ENTITY % attributeGroup "%p;attributeGroup"> |
330 | ++<!ENTITY % include "%p;include"> |
331 | ++<!ENTITY % import "%p;import"> |
332 | ++<!ENTITY % redefine "%p;redefine"> |
333 | ++<!ENTITY % notation "%p;notation"> |
334 | ++ |
335 | ++<!-- annotation elements --> |
336 | ++<!ENTITY % annotation "%p;annotation"> |
337 | ++<!ENTITY % appinfo "%p;appinfo"> |
338 | ++<!ENTITY % documentation "%p;documentation"> |
339 | ++ |
340 | ++<!-- Customisation entities for the ATTLIST of each element type. |
341 | ++ Define one of these if your schema takes advantage of the |
342 | ++ anyAttribute='##other' in the schema for schemas --> |
343 | ++ |
344 | ++<!ENTITY % schemaAttrs ''> |
345 | ++<!ENTITY % complexTypeAttrs ''> |
346 | ++<!ENTITY % complexContentAttrs ''> |
347 | ++<!ENTITY % simpleContentAttrs ''> |
348 | ++<!ENTITY % extensionAttrs ''> |
349 | ++<!ENTITY % elementAttrs ''> |
350 | ++<!ENTITY % groupAttrs ''> |
351 | ++<!ENTITY % allAttrs ''> |
352 | ++<!ENTITY % choiceAttrs ''> |
353 | ++<!ENTITY % sequenceAttrs ''> |
354 | ++<!ENTITY % anyAttrs ''> |
355 | ++<!ENTITY % anyAttributeAttrs ''> |
356 | ++<!ENTITY % attributeAttrs ''> |
357 | ++<!ENTITY % attributeGroupAttrs ''> |
358 | ++<!ENTITY % uniqueAttrs ''> |
359 | ++<!ENTITY % keyAttrs ''> |
360 | ++<!ENTITY % keyrefAttrs ''> |
361 | ++<!ENTITY % selectorAttrs ''> |
362 | ++<!ENTITY % fieldAttrs ''> |
363 | ++<!ENTITY % includeAttrs ''> |
364 | ++<!ENTITY % importAttrs ''> |
365 | ++<!ENTITY % redefineAttrs ''> |
366 | ++<!ENTITY % notationAttrs ''> |
367 | ++<!ENTITY % annotationAttrs ''> |
368 | ++<!ENTITY % appinfoAttrs ''> |
369 | ++<!ENTITY % documentationAttrs ''> |
370 | ++ |
371 | ++<!ENTITY % complexDerivationSet "CDATA"> |
372 | ++ <!-- #all or space-separated list drawn from derivationChoice --> |
373 | ++<!ENTITY % blockSet "CDATA"> |
374 | ++ <!-- #all or space-separated list drawn from |
375 | ++ derivationChoice + 'substitution' --> |
376 | ++ |
377 | ++<!ENTITY % mgs '%all; | %choice; | %sequence;'> |
378 | ++<!ENTITY % cs '%choice; | %sequence;'> |
379 | ++<!ENTITY % formValues '(qualified|unqualified)'> |
380 | ++ |
381 | ++ |
382 | ++<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'> |
383 | ++ |
384 | ++<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'> |
385 | ++ |
386 | ++<!-- This is used in part2 --> |
387 | ++<!ENTITY % restriction1 '((%mgs; | %group;)?)'> |
388 | ++ |
389 | ++%xs-datatypes; |
390 | ++ |
391 | ++<!-- the duplication below is to produce an unambiguous content model |
392 | ++ which allows annotation everywhere --> |
393 | ++<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*, |
394 | ++ ((%simpleType; | %complexType; |
395 | ++ | %element; | %attribute; |
396 | ++ | %attributeGroup; | %group; |
397 | ++ | %notation; ), |
398 | ++ (%annotation;)*)* )> |
399 | ++<!ATTLIST %schema; |
400 | ++ targetNamespace %URIref; #IMPLIED |
401 | ++ version CDATA #IMPLIED |
402 | ++ %nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema' |
403 | ++ xmlns CDATA #IMPLIED |
404 | ++ finalDefault %complexDerivationSet; '' |
405 | ++ blockDefault %blockSet; '' |
406 | ++ id ID #IMPLIED |
407 | ++ elementFormDefault %formValues; 'unqualified' |
408 | ++ attributeFormDefault %formValues; 'unqualified' |
409 | ++ xml:lang CDATA #IMPLIED |
410 | ++ %schemaAttrs;> |
411 | ++<!-- Note the xmlns declaration is NOT in the Schema for Schemas, |
412 | ++ because at the Infoset level where schemas operate, |
413 | ++ xmlns(:prefix) is NOT an attribute! --> |
414 | ++<!-- The declaration of xmlns is a convenience for schema authors --> |
415 | ++ |
416 | ++<!-- The id attribute here and below is for use in external references |
417 | ++ from non-schemas using simple fragment identifiers. |
418 | ++ It is NOT used for schema-to-schema reference, internal or |
419 | ++ external. --> |
420 | ++ |
421 | ++<!-- a type is a named content type specification which allows attribute |
422 | ++ declarations--> |
423 | ++<!-- --> |
424 | ++ |
425 | ++<!ELEMENT %complexType; ((%annotation;)?, |
426 | ++ (%simpleContent;|%complexContent;| |
427 | ++ %particleAndAttrs;))> |
428 | ++ |
429 | ++<!ATTLIST %complexType; |
430 | ++ name %NCName; #IMPLIED |
431 | ++ id ID #IMPLIED |
432 | ++ abstract %boolean; #IMPLIED |
433 | ++ final %complexDerivationSet; #IMPLIED |
434 | ++ block %complexDerivationSet; #IMPLIED |
435 | ++ mixed (true|false) 'false' |
436 | ++ %complexTypeAttrs;> |
437 | ++ |
438 | ++<!-- particleAndAttrs is shorthand for a root type --> |
439 | ++<!-- mixed is disallowed if simpleContent, overriden if complexContent |
440 | ++ has one too. --> |
441 | ++ |
442 | ++<!-- If anyAttribute appears in one or more referenced attributeGroups |
443 | ++ and/or explicitly, the intersection of the permissions is used --> |
444 | ++ |
445 | ++<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))> |
446 | ++<!ATTLIST %complexContent; |
447 | ++ mixed (true|false) #IMPLIED |
448 | ++ id ID #IMPLIED |
449 | ++ %complexContentAttrs;> |
450 | ++ |
451 | ++<!-- restriction should use the branch defined above, not the simple |
452 | ++ one from part2; extension should use the full model --> |
453 | ++ |
454 | ++<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))> |
455 | ++<!ATTLIST %simpleContent; |
456 | ++ id ID #IMPLIED |
457 | ++ %simpleContentAttrs;> |
458 | ++ |
459 | ++<!-- restriction should use the simple branch from part2, not the |
460 | ++ one defined above; extension should have no particle --> |
461 | ++ |
462 | ++<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))> |
463 | ++<!ATTLIST %extension; |
464 | ++ base %QName; #REQUIRED |
465 | ++ id ID #IMPLIED |
466 | ++ %extensionAttrs;> |
467 | ++ |
468 | ++<!-- an element is declared by either: |
469 | ++ a name and a type (either nested or referenced via the type attribute) |
470 | ++ or a ref to an existing element declaration --> |
471 | ++ |
472 | ++<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?, |
473 | ++ (%unique; | %key; | %keyref;)*)> |
474 | ++<!-- simpleType or complexType only if no type|ref attribute --> |
475 | ++<!-- ref not allowed at top level --> |
476 | ++<!ATTLIST %element; |
477 | ++ name %NCName; #IMPLIED |
478 | ++ id ID #IMPLIED |
479 | ++ ref %QName; #IMPLIED |
480 | ++ type %QName; #IMPLIED |
481 | ++ minOccurs %nonNegativeInteger; #IMPLIED |
482 | ++ maxOccurs CDATA #IMPLIED |
483 | ++ nillable %boolean; #IMPLIED |
484 | ++ substitutionGroup %QName; #IMPLIED |
485 | ++ abstract %boolean; #IMPLIED |
486 | ++ final %complexDerivationSet; #IMPLIED |
487 | ++ block %blockSet; #IMPLIED |
488 | ++ default CDATA #IMPLIED |
489 | ++ fixed CDATA #IMPLIED |
490 | ++ form %formValues; #IMPLIED |
491 | ++ %elementAttrs;> |
492 | ++<!-- type and ref are mutually exclusive. |
493 | ++ name and ref are mutually exclusive, one is required --> |
494 | ++<!-- In the absence of type AND ref, type defaults to type of |
495 | ++ substitutionGroup, if any, else the ur-type, i.e. unconstrained --> |
496 | ++<!-- default and fixed are mutually exclusive --> |
497 | ++ |
498 | ++<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)> |
499 | ++<!ATTLIST %group; |
500 | ++ name %NCName; #IMPLIED |
501 | ++ ref %QName; #IMPLIED |
502 | ++ minOccurs %nonNegativeInteger; #IMPLIED |
503 | ++ maxOccurs CDATA #IMPLIED |
504 | ++ id ID #IMPLIED |
505 | ++ %groupAttrs;> |
506 | ++ |
507 | ++<!ELEMENT %all; ((%annotation;)?, (%element;)*)> |
508 | ++<!ATTLIST %all; |
509 | ++ minOccurs (1) #IMPLIED |
510 | ++ maxOccurs (1) #IMPLIED |
511 | ++ id ID #IMPLIED |
512 | ++ %allAttrs;> |
513 | ++ |
514 | ++<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)> |
515 | ++<!ATTLIST %choice; |
516 | ++ minOccurs %nonNegativeInteger; #IMPLIED |
517 | ++ maxOccurs CDATA #IMPLIED |
518 | ++ id ID #IMPLIED |
519 | ++ %choiceAttrs;> |
520 | ++ |
521 | ++<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)> |
522 | ++<!ATTLIST %sequence; |
523 | ++ minOccurs %nonNegativeInteger; #IMPLIED |
524 | ++ maxOccurs CDATA #IMPLIED |
525 | ++ id ID #IMPLIED |
526 | ++ %sequenceAttrs;> |
527 | ++ |
528 | ++<!-- an anonymous grouping in a model, or |
529 | ++ a top-level named group definition, or a reference to same --> |
530 | ++ |
531 | ++<!-- Note that if order is 'all', group is not allowed inside. |
532 | ++ If order is 'all' THIS group must be alone (or referenced alone) at |
533 | ++ the top level of a content model --> |
534 | ++<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside --> |
535 | ++<!-- Should allow minOccurs=0 inside order='all' . . . --> |
536 | ++ |
537 | ++<!ELEMENT %any; (%annotation;)?> |
538 | ++<!ATTLIST %any; |
539 | ++ namespace CDATA '##any' |
540 | ++ processContents (skip|lax|strict) 'strict' |
541 | ++ minOccurs %nonNegativeInteger; '1' |
542 | ++ maxOccurs CDATA '1' |
543 | ++ id ID #IMPLIED |
544 | ++ %anyAttrs;> |
545 | ++ |
546 | ++<!-- namespace is interpreted as follows: |
547 | ++ ##any - - any non-conflicting WFXML at all |
548 | ++ |
549 | ++ ##other - - any non-conflicting WFXML from namespace other |
550 | ++ than targetNamespace |
551 | ++ |
552 | ++ ##local - - any unqualified non-conflicting WFXML/attribute |
553 | ++ one or - - any non-conflicting WFXML from |
554 | ++ more URI the listed namespaces |
555 | ++ references |
556 | ++ |
557 | ++ ##targetNamespace ##local may appear in the above list, |
558 | ++ with the obvious meaning --> |
559 | ++ |
560 | ++<!ELEMENT %anyAttribute; (%annotation;)?> |
561 | ++<!ATTLIST %anyAttribute; |
562 | ++ namespace CDATA '##any' |
563 | ++ processContents (skip|lax|strict) 'strict' |
564 | ++ id ID #IMPLIED |
565 | ++ %anyAttributeAttrs;> |
566 | ++<!-- namespace is interpreted as for 'any' above --> |
567 | ++ |
568 | ++<!-- simpleType only if no type|ref attribute --> |
569 | ++<!-- ref not allowed at top level, name iff at top level --> |
570 | ++<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)> |
571 | ++<!ATTLIST %attribute; |
572 | ++ name %NCName; #IMPLIED |
573 | ++ id ID #IMPLIED |
574 | ++ ref %QName; #IMPLIED |
575 | ++ type %QName; #IMPLIED |
576 | ++ use (prohibited|optional|required) #IMPLIED |
577 | ++ default CDATA #IMPLIED |
578 | ++ fixed CDATA #IMPLIED |
579 | ++ form %formValues; #IMPLIED |
580 | ++ %attributeAttrs;> |
581 | ++<!-- type and ref are mutually exclusive. |
582 | ++ name and ref are mutually exclusive, one is required --> |
583 | ++<!-- default for use is optional when nested, none otherwise --> |
584 | ++<!-- default and fixed are mutually exclusive --> |
585 | ++<!-- type attr and simpleType content are mutually exclusive --> |
586 | ++ |
587 | ++<!-- an attributeGroup is a named collection of attribute decls, or a |
588 | ++ reference thereto --> |
589 | ++<!ELEMENT %attributeGroup; ((%annotation;)?, |
590 | ++ (%attribute; | %attributeGroup;)*, |
591 | ++ (%anyAttribute;)?) > |
592 | ++<!ATTLIST %attributeGroup; |
593 | ++ name %NCName; #IMPLIED |
594 | ++ id ID #IMPLIED |
595 | ++ ref %QName; #IMPLIED |
596 | ++ %attributeGroupAttrs;> |
597 | ++ |
598 | ++<!-- ref iff no content, no name. ref iff not top level --> |
599 | ++ |
600 | ++<!-- better reference mechanisms --> |
601 | ++<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)> |
602 | ++<!ATTLIST %unique; |
603 | ++ name %NCName; #REQUIRED |
604 | ++ id ID #IMPLIED |
605 | ++ %uniqueAttrs;> |
606 | ++ |
607 | ++<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)> |
608 | ++<!ATTLIST %key; |
609 | ++ name %NCName; #REQUIRED |
610 | ++ id ID #IMPLIED |
611 | ++ %keyAttrs;> |
612 | ++ |
613 | ++<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)> |
614 | ++<!ATTLIST %keyref; |
615 | ++ name %NCName; #REQUIRED |
616 | ++ refer %QName; #REQUIRED |
617 | ++ id ID #IMPLIED |
618 | ++ %keyrefAttrs;> |
619 | ++ |
620 | ++<!ELEMENT %selector; ((%annotation;)?)> |
621 | ++<!ATTLIST %selector; |
622 | ++ xpath %XPathExpr; #REQUIRED |
623 | ++ id ID #IMPLIED |
624 | ++ %selectorAttrs;> |
625 | ++<!ELEMENT %field; ((%annotation;)?)> |
626 | ++<!ATTLIST %field; |
627 | ++ xpath %XPathExpr; #REQUIRED |
628 | ++ id ID #IMPLIED |
629 | ++ %fieldAttrs;> |
630 | ++ |
631 | ++<!-- Schema combination mechanisms --> |
632 | ++<!ELEMENT %include; (%annotation;)?> |
633 | ++<!ATTLIST %include; |
634 | ++ schemaLocation %URIref; #REQUIRED |
635 | ++ id ID #IMPLIED |
636 | ++ %includeAttrs;> |
637 | ++ |
638 | ++<!ELEMENT %import; (%annotation;)?> |
639 | ++<!ATTLIST %import; |
640 | ++ namespace %URIref; #IMPLIED |
641 | ++ schemaLocation %URIref; #IMPLIED |
642 | ++ id ID #IMPLIED |
643 | ++ %importAttrs;> |
644 | ++ |
645 | ++<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; | |
646 | ++ %attributeGroup; | %group;)*> |
647 | ++<!ATTLIST %redefine; |
648 | ++ schemaLocation %URIref; #REQUIRED |
649 | ++ id ID #IMPLIED |
650 | ++ %redefineAttrs;> |
651 | ++ |
652 | ++<!ELEMENT %notation; (%annotation;)?> |
653 | ++<!ATTLIST %notation; |
654 | ++ name %NCName; #REQUIRED |
655 | ++ id ID #IMPLIED |
656 | ++ public CDATA #REQUIRED |
657 | ++ system %URIref; #IMPLIED |
658 | ++ %notationAttrs;> |
659 | ++ |
660 | ++<!-- Annotation is either application information or documentation --> |
661 | ++<!-- By having these here they are available for datatypes as well |
662 | ++ as all the structures elements --> |
663 | ++ |
664 | ++<!ELEMENT %annotation; (%appinfo; | %documentation;)*> |
665 | ++<!ATTLIST %annotation; %annotationAttrs;> |
666 | ++ |
667 | ++<!-- User must define annotation elements in internal subset for this |
668 | ++ to work --> |
669 | ++<!ELEMENT %appinfo; ANY> <!-- too restrictive --> |
670 | ++<!ATTLIST %appinfo; |
671 | ++ source %URIref; #IMPLIED |
672 | ++ id ID #IMPLIED |
673 | ++ %appinfoAttrs;> |
674 | ++<!ELEMENT %documentation; ANY> <!-- too restrictive --> |
675 | ++<!ATTLIST %documentation; |
676 | ++ source %URIref; #IMPLIED |
677 | ++ id ID #IMPLIED |
678 | ++ xml:lang CDATA #IMPLIED |
679 | ++ %documentationAttrs;> |
680 | ++ |
681 | ++<!NOTATION XMLSchemaStructures PUBLIC |
682 | ++ 'structures' 'http://www.w3.org/2001/XMLSchema.xsd' > |
683 | ++<!NOTATION XML PUBLIC |
684 | ++ 'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' > |
685 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/datatypes.dtd |
686 | +=================================================================== |
687 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
688 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/datatypes.dtd 2011-08-18 09:38:09.181383207 +0100 |
689 | +@@ -0,0 +1,203 @@ |
690 | ++<!-- |
691 | ++ DTD for XML Schemas: Part 2: Datatypes |
692 | ++ $Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $ |
693 | ++ Note this DTD is NOT normative, or even definitive. - - the |
694 | ++ prose copy in the datatypes REC is the definitive version |
695 | ++ (which shouldn't differ from this one except for this comment |
696 | ++ and entity expansions, but just in case) |
697 | ++ --> |
698 | ++ |
699 | ++<!-- |
700 | ++ This DTD cannot be used on its own, it is intended |
701 | ++ only for incorporation in XMLSchema.dtd, q.v. |
702 | ++ --> |
703 | ++ |
704 | ++<!-- Define all the element names, with optional prefix --> |
705 | ++<!ENTITY % simpleType "%p;simpleType"> |
706 | ++<!ENTITY % restriction "%p;restriction"> |
707 | ++<!ENTITY % list "%p;list"> |
708 | ++<!ENTITY % union "%p;union"> |
709 | ++<!ENTITY % maxExclusive "%p;maxExclusive"> |
710 | ++<!ENTITY % minExclusive "%p;minExclusive"> |
711 | ++<!ENTITY % maxInclusive "%p;maxInclusive"> |
712 | ++<!ENTITY % minInclusive "%p;minInclusive"> |
713 | ++<!ENTITY % totalDigits "%p;totalDigits"> |
714 | ++<!ENTITY % fractionDigits "%p;fractionDigits"> |
715 | ++<!ENTITY % length "%p;length"> |
716 | ++<!ENTITY % minLength "%p;minLength"> |
717 | ++<!ENTITY % maxLength "%p;maxLength"> |
718 | ++<!ENTITY % enumeration "%p;enumeration"> |
719 | ++<!ENTITY % whiteSpace "%p;whiteSpace"> |
720 | ++<!ENTITY % pattern "%p;pattern"> |
721 | ++ |
722 | ++<!-- |
723 | ++ Customisation entities for the ATTLIST of each element |
724 | ++ type. Define one of these if your schema takes advantage |
725 | ++ of the anyAttribute='##other' in the schema for schemas |
726 | ++ --> |
727 | ++ |
728 | ++<!ENTITY % simpleTypeAttrs ""> |
729 | ++<!ENTITY % restrictionAttrs ""> |
730 | ++<!ENTITY % listAttrs ""> |
731 | ++<!ENTITY % unionAttrs ""> |
732 | ++<!ENTITY % maxExclusiveAttrs ""> |
733 | ++<!ENTITY % minExclusiveAttrs ""> |
734 | ++<!ENTITY % maxInclusiveAttrs ""> |
735 | ++<!ENTITY % minInclusiveAttrs ""> |
736 | ++<!ENTITY % totalDigitsAttrs ""> |
737 | ++<!ENTITY % fractionDigitsAttrs ""> |
738 | ++<!ENTITY % lengthAttrs ""> |
739 | ++<!ENTITY % minLengthAttrs ""> |
740 | ++<!ENTITY % maxLengthAttrs ""> |
741 | ++<!ENTITY % enumerationAttrs ""> |
742 | ++<!ENTITY % whiteSpaceAttrs ""> |
743 | ++<!ENTITY % patternAttrs ""> |
744 | ++ |
745 | ++<!-- Define some entities for informative use as attribute |
746 | ++ types --> |
747 | ++<!ENTITY % URIref "CDATA"> |
748 | ++<!ENTITY % XPathExpr "CDATA"> |
749 | ++<!ENTITY % QName "NMTOKEN"> |
750 | ++<!ENTITY % QNames "NMTOKENS"> |
751 | ++<!ENTITY % NCName "NMTOKEN"> |
752 | ++<!ENTITY % nonNegativeInteger "NMTOKEN"> |
753 | ++<!ENTITY % boolean "(true|false)"> |
754 | ++<!ENTITY % simpleDerivationSet "CDATA"> |
755 | ++<!-- |
756 | ++ #all or space-separated list drawn from derivationChoice |
757 | ++ --> |
758 | ++ |
759 | ++<!-- |
760 | ++ Note that the use of 'facet' below is less restrictive |
761 | ++ than is really intended: There should in fact be no |
762 | ++ more than one of each of minInclusive, minExclusive, |
763 | ++ maxInclusive, maxExclusive, totalDigits, fractionDigits, |
764 | ++ length, maxLength, minLength within datatype, |
765 | ++ and the min- and max- variants of Inclusive and Exclusive |
766 | ++ are mutually exclusive. On the other hand, pattern and |
767 | ++ enumeration may repeat. |
768 | ++ --> |
769 | ++<!ENTITY % minBound "(%minInclusive; | %minExclusive;)"> |
770 | ++<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)"> |
771 | ++<!ENTITY % bounds "%minBound; | %maxBound;"> |
772 | ++<!ENTITY % numeric "%totalDigits; | %fractionDigits;"> |
773 | ++<!ENTITY % ordered "%bounds; | %numeric;"> |
774 | ++<!ENTITY % unordered |
775 | ++ "%pattern; | %enumeration; | %whiteSpace; | %length; | |
776 | ++ %maxLength; | %minLength;"> |
777 | ++<!ENTITY % facet "%ordered; | %unordered;"> |
778 | ++<!ENTITY % facetAttr |
779 | ++ "value CDATA #REQUIRED |
780 | ++ id ID #IMPLIED"> |
781 | ++<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED"> |
782 | ++<!ENTITY % facetModel "(%annotation;)?"> |
783 | ++<!ELEMENT %simpleType; |
784 | ++ ((%annotation;)?, (%restriction; | %list; | %union;))> |
785 | ++<!ATTLIST %simpleType; |
786 | ++ name %NCName; #IMPLIED |
787 | ++ final %simpleDerivationSet; #IMPLIED |
788 | ++ id ID #IMPLIED |
789 | ++ %simpleTypeAttrs;> |
790 | ++<!-- name is required at top level --> |
791 | ++<!ELEMENT %restriction; ((%annotation;)?, |
792 | ++ (%restriction1; | |
793 | ++ ((%simpleType;)?,(%facet;)*)), |
794 | ++ (%attrDecls;))> |
795 | ++<!ATTLIST %restriction; |
796 | ++ base %QName; #IMPLIED |
797 | ++ id ID #IMPLIED |
798 | ++ %restrictionAttrs;> |
799 | ++<!-- |
800 | ++ base and simpleType child are mutually exclusive, |
801 | ++ one is required. |
802 | ++ |
803 | ++ restriction is shared between simpleType and |
804 | ++ simpleContent and complexContent (in XMLSchema.xsd). |
805 | ++ restriction1 is for the latter cases, when this |
806 | ++ is restricting a complex type, as is attrDecls. |
807 | ++ --> |
808 | ++<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)> |
809 | ++<!ATTLIST %list; |
810 | ++ itemType %QName; #IMPLIED |
811 | ++ id ID #IMPLIED |
812 | ++ %listAttrs;> |
813 | ++<!-- |
814 | ++ itemType and simpleType child are mutually exclusive, |
815 | ++ one is required |
816 | ++ --> |
817 | ++<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)> |
818 | ++<!ATTLIST %union; |
819 | ++ id ID #IMPLIED |
820 | ++ memberTypes %QNames; #IMPLIED |
821 | ++ %unionAttrs;> |
822 | ++<!-- |
823 | ++ At least one item in memberTypes or one simpleType |
824 | ++ child is required |
825 | ++ --> |
826 | ++ |
827 | ++<!ELEMENT %maxExclusive; %facetModel;> |
828 | ++<!ATTLIST %maxExclusive; |
829 | ++ %facetAttr; |
830 | ++ %fixedAttr; |
831 | ++ %maxExclusiveAttrs;> |
832 | ++<!ELEMENT %minExclusive; %facetModel;> |
833 | ++<!ATTLIST %minExclusive; |
834 | ++ %facetAttr; |
835 | ++ %fixedAttr; |
836 | ++ %minExclusiveAttrs;> |
837 | ++ |
838 | ++<!ELEMENT %maxInclusive; %facetModel;> |
839 | ++<!ATTLIST %maxInclusive; |
840 | ++ %facetAttr; |
841 | ++ %fixedAttr; |
842 | ++ %maxInclusiveAttrs;> |
843 | ++<!ELEMENT %minInclusive; %facetModel;> |
844 | ++<!ATTLIST %minInclusive; |
845 | ++ %facetAttr; |
846 | ++ %fixedAttr; |
847 | ++ %minInclusiveAttrs;> |
848 | ++ |
849 | ++<!ELEMENT %totalDigits; %facetModel;> |
850 | ++<!ATTLIST %totalDigits; |
851 | ++ %facetAttr; |
852 | ++ %fixedAttr; |
853 | ++ %totalDigitsAttrs;> |
854 | ++<!ELEMENT %fractionDigits; %facetModel;> |
855 | ++<!ATTLIST %fractionDigits; |
856 | ++ %facetAttr; |
857 | ++ %fixedAttr; |
858 | ++ %fractionDigitsAttrs;> |
859 | ++ |
860 | ++<!ELEMENT %length; %facetModel;> |
861 | ++<!ATTLIST %length; |
862 | ++ %facetAttr; |
863 | ++ %fixedAttr; |
864 | ++ %lengthAttrs;> |
865 | ++<!ELEMENT %minLength; %facetModel;> |
866 | ++<!ATTLIST %minLength; |
867 | ++ %facetAttr; |
868 | ++ %fixedAttr; |
869 | ++ %minLengthAttrs;> |
870 | ++<!ELEMENT %maxLength; %facetModel;> |
871 | ++<!ATTLIST %maxLength; |
872 | ++ %facetAttr; |
873 | ++ %fixedAttr; |
874 | ++ %maxLengthAttrs;> |
875 | ++ |
876 | ++<!-- This one can be repeated --> |
877 | ++<!ELEMENT %enumeration; %facetModel;> |
878 | ++<!ATTLIST %enumeration; |
879 | ++ %facetAttr; |
880 | ++ %enumerationAttrs;> |
881 | ++ |
882 | ++<!ELEMENT %whiteSpace; %facetModel;> |
883 | ++<!ATTLIST %whiteSpace; |
884 | ++ %facetAttr; |
885 | ++ %fixedAttr; |
886 | ++ %whiteSpaceAttrs;> |
887 | ++ |
888 | ++<!-- This one can be repeated --> |
889 | ++<!ELEMENT %pattern; %facetModel;> |
890 | ++<!ATTLIST %pattern; |
891 | ++ %facetAttr; |
892 | ++ %patternAttrs;> |
893 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/j2ee_1_4.xsd |
894 | +=================================================================== |
895 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
896 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/j2ee_1_4.xsd 2011-08-18 09:34:02.141615523 +0100 |
897 | +@@ -0,0 +1,1616 @@ |
898 | ++<?xml version="1.0" encoding="UTF-8"?> |
899 | ++<xsd:schema |
900 | ++ targetNamespace="http://java.sun.com/xml/ns/j2ee" |
901 | ++ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" |
902 | ++ xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
903 | ++ elementFormDefault="qualified" |
904 | ++ attributeFormDefault="unqualified" |
905 | ++ version="1.4"> |
906 | ++ <xsd:annotation> |
907 | ++ <xsd:documentation> |
908 | ++ @(#)j2ee_1_4.xsds 1.43 03/09/16 |
909 | ++ </xsd:documentation> |
910 | ++ </xsd:annotation> |
911 | ++ |
912 | ++ <xsd:annotation> |
913 | ++ <xsd:documentation> |
914 | ++ |
915 | ++ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
916 | ++ |
917 | ++ Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. |
918 | ++ |
919 | ++ The contents of this file are subject to the terms of either the |
920 | ++ GNU General Public License Version 2 only ("GPL") or the Common |
921 | ++ Development and Distribution License("CDDL") (collectively, the |
922 | ++ "License"). You may not use this file except in compliance with |
923 | ++ the License. You can obtain a copy of the License at |
924 | ++ https://glassfish.dev.java.net/public/CDDL+GPL.html or |
925 | ++ glassfish/bootstrap/legal/LICENSE.txt. See the License for the |
926 | ++ specific language governing permissions and limitations under the |
927 | ++ License. |
928 | ++ |
929 | ++ When distributing the software, include this License Header |
930 | ++ Notice in each file and include the License file at |
931 | ++ glassfish/bootstrap/legal/LICENSE.txt. Sun designates this |
932 | ++ particular file as subject to the "Classpath" exception as |
933 | ++ provided by Sun in the GPL Version 2 section of the License file |
934 | ++ that accompanied this code. If applicable, add the following |
935 | ++ below the License Header, with the fields enclosed by brackets [] |
936 | ++ replaced by your own identifying information: |
937 | ++ "Portions Copyrighted [year] [name of copyright owner]" |
938 | ++ |
939 | ++ Contributor(s): |
940 | ++ |
941 | ++ If you wish your version of this file to be governed by only the |
942 | ++ CDDL or only the GPL Version 2, indicate your decision by adding |
943 | ++ "[Contributor] elects to include this software in this |
944 | ++ distribution under the [CDDL or GPL Version 2] license." If you |
945 | ++ don't indicate a single choice of license, a recipient has the |
946 | ++ option to distribute your version of this file under either the |
947 | ++ CDDL, the GPL Version 2 or to extend the choice of license to its |
948 | ++ licensees as provided above. However, if you add GPL Version 2 |
949 | ++ code and therefore, elected the GPL Version 2 license, then the |
950 | ++ option applies only if the new code is made subject to such |
951 | ++ option by the copyright holder. |
952 | ++ |
953 | ++ </xsd:documentation> |
954 | ++ </xsd:annotation> |
955 | ++ |
956 | ++<xsd:annotation> |
957 | ++<xsd:documentation> |
958 | ++ |
959 | ++The following definitions that appear in the common |
960 | ++shareable schema(s) of J2EE deployment descriptors should be |
961 | ++interpreted with respect to the context they are included: |
962 | ++ |
963 | ++Deployment Component may indicate one of the following: |
964 | ++ j2ee application; |
965 | ++ application client; |
966 | ++ web application; |
967 | ++ enterprise bean; |
968 | ++ resource adapter; |
969 | ++ |
970 | ++Deployment File may indicate one of the following: |
971 | ++ ear file; |
972 | ++ war file; |
973 | ++ jar file; |
974 | ++ rar file; |
975 | ++ |
976 | ++</xsd:documentation> |
977 | ++</xsd:annotation> |
978 | ++ |
979 | ++ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" |
980 | ++ schemaLocation="http://www.w3.org/2001/xml.xsd"/> |
981 | ++ |
982 | ++ <xsd:include schemaLocation= |
983 | ++ "http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd"/> |
984 | ++ |
985 | ++ |
986 | ++<!-- **************************************************** --> |
987 | ++ |
988 | ++ <xsd:group name="descriptionGroup"> |
989 | ++ <xsd:annotation> |
990 | ++ <xsd:documentation> |
991 | ++ |
992 | ++ This group keeps the usage of the contained description related |
993 | ++ elements consistent across J2EE deployment descriptors. |
994 | ++ |
995 | ++ All elements may occur multiple times with different languages, |
996 | ++ to support localization of the content. |
997 | ++ |
998 | ++ </xsd:documentation> |
999 | ++ </xsd:annotation> |
1000 | ++ <xsd:sequence> |
1001 | ++ <xsd:element name="description" |
1002 | ++ type="j2ee:descriptionType" |
1003 | ++ minOccurs="0" |
1004 | ++ maxOccurs="unbounded"/> |
1005 | ++ <xsd:element name="display-name" |
1006 | ++ type="j2ee:display-nameType" |
1007 | ++ minOccurs="0" |
1008 | ++ maxOccurs="unbounded"/> |
1009 | ++ <xsd:element name="icon" |
1010 | ++ type="j2ee:iconType" |
1011 | ++ minOccurs="0" |
1012 | ++ maxOccurs="unbounded"/> |
1013 | ++ </xsd:sequence> |
1014 | ++ </xsd:group> |
1015 | ++ |
1016 | ++<!-- **************************************************** --> |
1017 | ++ |
1018 | ++ <xsd:complexType name="descriptionType"> |
1019 | ++ <xsd:annotation> |
1020 | ++ <xsd:documentation> |
1021 | ++ |
1022 | ++ The description type is used by a description element to |
1023 | ++ provide text describing the parent element. The elements |
1024 | ++ that use this type should include any information that the |
1025 | ++ Deployment Component's Deployment File file producer wants |
1026 | ++ to provide to the consumer of the Deployment Component's |
1027 | ++ Deployment File (i.e., to the Deployer). Typically, the |
1028 | ++ tools used by such a Deployment File consumer will display |
1029 | ++ the description when processing the parent element that |
1030 | ++ contains the description. |
1031 | ++ |
1032 | ++ The lang attribute defines the language that the |
1033 | ++ description is provided in. The default value is "en" (English). |
1034 | ++ |
1035 | ++ </xsd:documentation> |
1036 | ++ </xsd:annotation> |
1037 | ++ <xsd:simpleContent> |
1038 | ++ <xsd:extension base="j2ee:xsdStringType"> |
1039 | ++ <xsd:attribute ref="xml:lang"/> |
1040 | ++ </xsd:extension> |
1041 | ++ </xsd:simpleContent> |
1042 | ++ </xsd:complexType> |
1043 | ++ |
1044 | ++<!-- **************************************************** --> |
1045 | ++ |
1046 | ++ <xsd:simpleType name="dewey-versionType"> |
1047 | ++ <xsd:annotation> |
1048 | ++ <xsd:documentation> |
1049 | ++ |
1050 | ++ This type defines a dewey decimal which is used |
1051 | ++ to describe versions of documents. |
1052 | ++ |
1053 | ++ </xsd:documentation> |
1054 | ++ </xsd:annotation> |
1055 | ++ |
1056 | ++ <xsd:restriction base="xsd:decimal"> |
1057 | ++ <xsd:whiteSpace value="collapse"/> |
1058 | ++ </xsd:restriction> |
1059 | ++ |
1060 | ++ </xsd:simpleType> |
1061 | ++ |
1062 | ++<!-- **************************************************** --> |
1063 | ++ |
1064 | ++ <xsd:complexType name="display-nameType"> |
1065 | ++ <xsd:annotation> |
1066 | ++ <xsd:documentation> |
1067 | ++ <![CDATA[ |
1068 | ++ |
1069 | ++ The display-name type contains a short name that is intended |
1070 | ++ to be displayed by tools. It is used by display-name |
1071 | ++ elements. The display name need not be unique. |
1072 | ++ |
1073 | ++ Example: |
1074 | ++ |
1075 | ++ ... |
1076 | ++ <display-name xml:lang="en">Employee Self Service</display-name> |
1077 | ++ |
1078 | ++ The value of the xml:lang attribute is "en" (English) by default. |
1079 | ++ |
1080 | ++ ]]> |
1081 | ++ </xsd:documentation> |
1082 | ++ </xsd:annotation> |
1083 | ++ <xsd:simpleContent> |
1084 | ++ <xsd:extension base="j2ee:string"> |
1085 | ++ <xsd:attribute ref="xml:lang"/> |
1086 | ++ </xsd:extension> |
1087 | ++ </xsd:simpleContent> |
1088 | ++ </xsd:complexType> |
1089 | ++ |
1090 | ++<!-- **************************************************** --> |
1091 | ++ |
1092 | ++ <xsd:complexType name="ejb-linkType"> |
1093 | ++ <xsd:annotation> |
1094 | ++ <xsd:documentation> |
1095 | ++ <![CDATA[ |
1096 | ++ |
1097 | ++ The ejb-linkType is used by ejb-link |
1098 | ++ elements in the ejb-ref or ejb-local-ref elements to specify |
1099 | ++ that an EJB reference is linked to enterprise bean. |
1100 | ++ |
1101 | ++ The value of the ejb-link element must be the ejb-name of an |
1102 | ++ enterprise bean in the same ejb-jar file or in another ejb-jar |
1103 | ++ file in the same J2EE application unit. |
1104 | ++ |
1105 | ++ Alternatively, the name in the ejb-link element may be |
1106 | ++ composed of a path name specifying the ejb-jar containing the |
1107 | ++ referenced enterprise bean with the ejb-name of the target |
1108 | ++ bean appended and separated from the path name by "#". The |
1109 | ++ path name is relative to the Deployment File containing |
1110 | ++ Deployment Component that is referencing the enterprise |
1111 | ++ bean. This allows multiple enterprise beans with the same |
1112 | ++ ejb-name to be uniquely identified. |
1113 | ++ |
1114 | ++ Examples: |
1115 | ++ |
1116 | ++ <ejb-link>EmployeeRecord</ejb-link> |
1117 | ++ |
1118 | ++ <ejb-link>../products/product.jar#ProductEJB</ejb-link> |
1119 | ++ |
1120 | ++ ]]> |
1121 | ++ </xsd:documentation> |
1122 | ++ </xsd:annotation> |
1123 | ++ <xsd:simpleContent> |
1124 | ++ <xsd:restriction base="j2ee:string"/> |
1125 | ++ </xsd:simpleContent> |
1126 | ++ </xsd:complexType> |
1127 | ++ |
1128 | ++<!-- **************************************************** --> |
1129 | ++ |
1130 | ++ <xsd:complexType name="ejb-local-refType"> |
1131 | ++ <xsd:annotation> |
1132 | ++ <xsd:documentation> |
1133 | ++ |
1134 | ++ The ejb-local-refType is used by ejb-local-ref elements for |
1135 | ++ the declaration of a reference to an enterprise bean's local |
1136 | ++ home. The declaration consists of: |
1137 | ++ |
1138 | ++ - an optional description |
1139 | ++ - the EJB reference name used in the code of the Deployment |
1140 | ++ Component that's referencing the enterprise bean |
1141 | ++ - the expected type of the referenced enterprise bean |
1142 | ++ - the expected local home and local interfaces of the |
1143 | ++ referenced enterprise bean |
1144 | ++ - optional ejb-link information, used to specify the |
1145 | ++ referenced enterprise bean |
1146 | ++ |
1147 | ++ </xsd:documentation> |
1148 | ++ </xsd:annotation> |
1149 | ++ |
1150 | ++ <xsd:sequence> |
1151 | ++ <xsd:element name="description" |
1152 | ++ type="j2ee:descriptionType" |
1153 | ++ minOccurs="0" |
1154 | ++ maxOccurs="unbounded"/> |
1155 | ++ <xsd:element name="ejb-ref-name" |
1156 | ++ type="j2ee:ejb-ref-nameType"/> |
1157 | ++ <xsd:element name="ejb-ref-type" |
1158 | ++ type="j2ee:ejb-ref-typeType"/> |
1159 | ++ <xsd:element name="local-home" |
1160 | ++ type="j2ee:local-homeType"/> |
1161 | ++ <xsd:element name="local" |
1162 | ++ type="j2ee:localType"/> |
1163 | ++ <xsd:element name="ejb-link" |
1164 | ++ type="j2ee:ejb-linkType" |
1165 | ++ minOccurs="0"/> |
1166 | ++ </xsd:sequence> |
1167 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1168 | ++ </xsd:complexType> |
1169 | ++ |
1170 | ++<!-- **************************************************** --> |
1171 | ++ |
1172 | ++ <xsd:complexType name="ejb-ref-nameType"> |
1173 | ++ <xsd:annotation> |
1174 | ++ <xsd:documentation> |
1175 | ++ <![CDATA[ |
1176 | ++ |
1177 | ++ The ejb-ref-name element contains the name of an EJB |
1178 | ++ reference. The EJB reference is an entry in the |
1179 | ++ Deployment Component's environment and is relative to the |
1180 | ++ java:comp/env context. The name must be unique within the |
1181 | ++ Deployment Component. |
1182 | ++ |
1183 | ++ It is recommended that name is prefixed with "ejb/". |
1184 | ++ |
1185 | ++ Example: |
1186 | ++ |
1187 | ++ <ejb-ref-name>ejb/Payroll</ejb-ref-name> |
1188 | ++ |
1189 | ++ ]]> |
1190 | ++ </xsd:documentation> |
1191 | ++ </xsd:annotation> |
1192 | ++ <xsd:simpleContent> |
1193 | ++ <xsd:restriction base="j2ee:jndi-nameType"/> |
1194 | ++ </xsd:simpleContent> |
1195 | ++ </xsd:complexType> |
1196 | ++ |
1197 | ++<!-- **************************************************** --> |
1198 | ++ |
1199 | ++ <xsd:complexType name="ejb-ref-typeType"> |
1200 | ++ <xsd:annotation> |
1201 | ++ <xsd:documentation> |
1202 | ++ |
1203 | ++ The ejb-ref-typeType contains the expected type of the |
1204 | ++ referenced enterprise bean. |
1205 | ++ |
1206 | ++ The ejb-ref-type designates a value |
1207 | ++ that must be one of the following: |
1208 | ++ |
1209 | ++ Entity |
1210 | ++ Session |
1211 | ++ |
1212 | ++ </xsd:documentation> |
1213 | ++ </xsd:annotation> |
1214 | ++ <xsd:simpleContent> |
1215 | ++ <xsd:restriction base="j2ee:string"> |
1216 | ++ <xsd:enumeration value="Entity"/> |
1217 | ++ <xsd:enumeration value="Session"/> |
1218 | ++ </xsd:restriction> |
1219 | ++ </xsd:simpleContent> |
1220 | ++ </xsd:complexType> |
1221 | ++ |
1222 | ++<!-- **************************************************** --> |
1223 | ++ |
1224 | ++ <xsd:complexType name="ejb-refType"> |
1225 | ++ <xsd:annotation> |
1226 | ++ <xsd:documentation> |
1227 | ++ |
1228 | ++ The ejb-refType is used by ejb-ref elements for the |
1229 | ++ declaration of a reference to an enterprise bean's home. The |
1230 | ++ declaration consists of: |
1231 | ++ |
1232 | ++ - an optional description |
1233 | ++ - the EJB reference name used in the code of |
1234 | ++ the Deployment Component that's referencing the enterprise |
1235 | ++ bean |
1236 | ++ - the expected type of the referenced enterprise bean |
1237 | ++ - the expected home and remote interfaces of the referenced |
1238 | ++ enterprise bean |
1239 | ++ - optional ejb-link information, used to specify the |
1240 | ++ referenced enterprise bean |
1241 | ++ |
1242 | ++ </xsd:documentation> |
1243 | ++ </xsd:annotation> |
1244 | ++ |
1245 | ++ <xsd:sequence> |
1246 | ++ <xsd:element name="description" |
1247 | ++ type="j2ee:descriptionType" |
1248 | ++ minOccurs="0" |
1249 | ++ maxOccurs="unbounded"/> |
1250 | ++ <xsd:element name="ejb-ref-name" |
1251 | ++ type="j2ee:ejb-ref-nameType"/> |
1252 | ++ <xsd:element name="ejb-ref-type" |
1253 | ++ type="j2ee:ejb-ref-typeType"/> |
1254 | ++ |
1255 | ++ <xsd:element name="home" |
1256 | ++ type="j2ee:homeType"/> |
1257 | ++ <xsd:element name="remote" |
1258 | ++ type="j2ee:remoteType"/> |
1259 | ++ <xsd:element name="ejb-link" |
1260 | ++ type="j2ee:ejb-linkType" |
1261 | ++ minOccurs="0"/> |
1262 | ++ </xsd:sequence> |
1263 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1264 | ++ </xsd:complexType> |
1265 | ++ |
1266 | ++<!-- **************************************************** --> |
1267 | ++ |
1268 | ++ <xsd:complexType name="emptyType"> |
1269 | ++ <xsd:annotation> |
1270 | ++ <xsd:documentation> |
1271 | ++ |
1272 | ++ This type is used to designate an empty |
1273 | ++ element when used. |
1274 | ++ |
1275 | ++ </xsd:documentation> |
1276 | ++ </xsd:annotation> |
1277 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1278 | ++ </xsd:complexType> |
1279 | ++ |
1280 | ++<!-- **************************************************** --> |
1281 | ++ |
1282 | ++ <xsd:complexType name="env-entry-type-valuesType"> |
1283 | ++ <xsd:annotation> |
1284 | ++ <xsd:documentation> |
1285 | ++ <![CDATA[ |
1286 | ++ |
1287 | ++ This type contains the fully-qualified Java type of the |
1288 | ++ environment entry value that is expected by the |
1289 | ++ application's code. |
1290 | ++ |
1291 | ++ The following are the legal values of env-entry-type-valuesType: |
1292 | ++ |
1293 | ++ java.lang.Boolean |
1294 | ++ java.lang.Byte |
1295 | ++ java.lang.Character |
1296 | ++ java.lang.String |
1297 | ++ java.lang.Short |
1298 | ++ java.lang.Integer |
1299 | ++ java.lang.Long |
1300 | ++ java.lang.Float |
1301 | ++ java.lang.Double |
1302 | ++ |
1303 | ++ Example: |
1304 | ++ |
1305 | ++ <env-entry-type>java.lang.Boolean</env-entry-type> |
1306 | ++ |
1307 | ++ ]]> |
1308 | ++ </xsd:documentation> |
1309 | ++ </xsd:annotation> |
1310 | ++ <xsd:simpleContent> |
1311 | ++ <xsd:restriction base="j2ee:string"> |
1312 | ++ <xsd:enumeration value="java.lang.Boolean"/> |
1313 | ++ <xsd:enumeration value="java.lang.Byte"/> |
1314 | ++ <xsd:enumeration value="java.lang.Character"/> |
1315 | ++ <xsd:enumeration value="java.lang.String"/> |
1316 | ++ <xsd:enumeration value="java.lang.Short"/> |
1317 | ++ <xsd:enumeration value="java.lang.Integer"/> |
1318 | ++ <xsd:enumeration value="java.lang.Long"/> |
1319 | ++ <xsd:enumeration value="java.lang.Float"/> |
1320 | ++ <xsd:enumeration value="java.lang.Double"/> |
1321 | ++ </xsd:restriction> |
1322 | ++ </xsd:simpleContent> |
1323 | ++ </xsd:complexType> |
1324 | ++ |
1325 | ++<!-- **************************************************** --> |
1326 | ++ |
1327 | ++ <xsd:complexType name="env-entryType"> |
1328 | ++ <xsd:annotation> |
1329 | ++ <xsd:documentation> |
1330 | ++ |
1331 | ++ The env-entryType is used to declare an application's |
1332 | ++ environment entry. The declaration consists of an optional |
1333 | ++ description, the name of the environment entry, and an |
1334 | ++ optional value. If a value is not specified, one must be |
1335 | ++ supplied during deployment. |
1336 | ++ |
1337 | ++ It is used by env-entry elements. |
1338 | ++ |
1339 | ++ </xsd:documentation> |
1340 | ++ </xsd:annotation> |
1341 | ++ |
1342 | ++ <xsd:sequence> |
1343 | ++ <xsd:element name="description" |
1344 | ++ type="j2ee:descriptionType" |
1345 | ++ minOccurs="0" |
1346 | ++ maxOccurs="unbounded"/> |
1347 | ++ <xsd:element name="env-entry-name" |
1348 | ++ type="j2ee:jndi-nameType"> |
1349 | ++ <xsd:annotation> |
1350 | ++ <xsd:documentation> |
1351 | ++ <![CDATA[ |
1352 | ++ |
1353 | ++ The env-entry-name element contains the name of a |
1354 | ++ Deployment Component's environment entry. The name |
1355 | ++ is a JNDI name relative to the java:comp/env |
1356 | ++ context. The name must be unique within a |
1357 | ++ Deployment Component. The uniqueness |
1358 | ++ constraints must be defined within the declared |
1359 | ++ context. |
1360 | ++ |
1361 | ++ Example: |
1362 | ++ |
1363 | ++ <env-entry-name>minAmount</env-entry-name> |
1364 | ++ |
1365 | ++ ]]> |
1366 | ++ </xsd:documentation> |
1367 | ++ </xsd:annotation> |
1368 | ++ </xsd:element> |
1369 | ++ |
1370 | ++ <xsd:element name="env-entry-type" |
1371 | ++ type="j2ee:env-entry-type-valuesType"/> |
1372 | ++ |
1373 | ++ <xsd:element name="env-entry-value" |
1374 | ++ type="j2ee:xsdStringType" |
1375 | ++ minOccurs="0"> |
1376 | ++ <xsd:annotation> |
1377 | ++ <xsd:documentation> |
1378 | ++ <![CDATA[ |
1379 | ++ |
1380 | ++ The env-entry-value designates the value of a |
1381 | ++ Deployment Component's environment entry. The value |
1382 | ++ must be a String that is valid for the |
1383 | ++ constructor of the specified type that takes a |
1384 | ++ single String parameter, or for java.lang.Character, |
1385 | ++ a single character. |
1386 | ++ |
1387 | ++ Example: |
1388 | ++ |
1389 | ++ <env-entry-value>100.00</env-entry-value> |
1390 | ++ |
1391 | ++ ]]> |
1392 | ++ </xsd:documentation> |
1393 | ++ </xsd:annotation> |
1394 | ++ </xsd:element> |
1395 | ++ |
1396 | ++ </xsd:sequence> |
1397 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1398 | ++ </xsd:complexType> |
1399 | ++ |
1400 | ++<!-- **************************************************** --> |
1401 | ++ |
1402 | ++ <xsd:complexType name="fully-qualified-classType"> |
1403 | ++ <xsd:annotation> |
1404 | ++ <xsd:documentation> |
1405 | ++ |
1406 | ++ The elements that use this type designate the name of a |
1407 | ++ Java class or interface. The name is in the form of a |
1408 | ++ "binary name", as defined in the JLS. This is the form |
1409 | ++ of name used in Class.forName(). Tools that need the |
1410 | ++ canonical name (the name used in source code) will need |
1411 | ++ to convert this binary name to the canonical name. |
1412 | ++ |
1413 | ++ </xsd:documentation> |
1414 | ++ </xsd:annotation> |
1415 | ++ <xsd:simpleContent> |
1416 | ++ <xsd:restriction base="j2ee:string"/> |
1417 | ++ </xsd:simpleContent> |
1418 | ++ </xsd:complexType> |
1419 | ++ |
1420 | ++<!-- **************************************************** --> |
1421 | ++ |
1422 | ++ <xsd:complexType name="generic-booleanType"> |
1423 | ++ <xsd:annotation> |
1424 | ++ <xsd:documentation> |
1425 | ++ |
1426 | ++ This type defines four different values which can designate |
1427 | ++ boolean values. This includes values yes and no which are |
1428 | ++ not designated by xsd:boolean |
1429 | ++ |
1430 | ++ </xsd:documentation> |
1431 | ++ </xsd:annotation> |
1432 | ++ <xsd:simpleContent> |
1433 | ++ <xsd:restriction base="j2ee:string"> |
1434 | ++ <xsd:enumeration value="true"/> |
1435 | ++ <xsd:enumeration value="false"/> |
1436 | ++ <xsd:enumeration value="yes"/> |
1437 | ++ <xsd:enumeration value="no"/> |
1438 | ++ </xsd:restriction> |
1439 | ++ </xsd:simpleContent> |
1440 | ++ </xsd:complexType> |
1441 | ++ |
1442 | ++<!-- **************************************************** --> |
1443 | ++ |
1444 | ++ <xsd:complexType name="homeType"> |
1445 | ++ <xsd:annotation> |
1446 | ++ <xsd:documentation> |
1447 | ++ <![CDATA[ |
1448 | ++ |
1449 | ++ The homeType defines the fully-qualified name of |
1450 | ++ an enterprise bean's home interface. |
1451 | ++ |
1452 | ++ Example: |
1453 | ++ |
1454 | ++ <home>com.aardvark.payroll.PayrollHome</home> |
1455 | ++ |
1456 | ++ ]]> |
1457 | ++ </xsd:documentation> |
1458 | ++ </xsd:annotation> |
1459 | ++ <xsd:simpleContent> |
1460 | ++ <xsd:restriction base="j2ee:fully-qualified-classType"/> |
1461 | ++ </xsd:simpleContent> |
1462 | ++ </xsd:complexType> |
1463 | ++ |
1464 | ++<!-- **************************************************** --> |
1465 | ++ |
1466 | ++ <xsd:complexType name="iconType"> |
1467 | ++ <xsd:annotation> |
1468 | ++ <xsd:documentation> |
1469 | ++ |
1470 | ++ The icon type contains small-icon and large-icon elements |
1471 | ++ that specify the file names for small and large GIF or |
1472 | ++ JPEG icon images used to represent the parent element in a |
1473 | ++ GUI tool. |
1474 | ++ |
1475 | ++ The xml:lang attribute defines the language that the |
1476 | ++ icon file names are provided in. Its value is "en" (English) |
1477 | ++ by default. |
1478 | ++ |
1479 | ++ </xsd:documentation> |
1480 | ++ </xsd:annotation> |
1481 | ++ |
1482 | ++ <xsd:sequence> |
1483 | ++ <xsd:element name="small-icon" type="j2ee:pathType" |
1484 | ++ minOccurs="0"> |
1485 | ++ <xsd:annotation> |
1486 | ++ <xsd:documentation> |
1487 | ++ <![CDATA[ |
1488 | ++ |
1489 | ++ The small-icon element contains the name of a file |
1490 | ++ containing a small (16 x 16) icon image. The file |
1491 | ++ name is a relative path within the Deployment |
1492 | ++ Component's Deployment File. |
1493 | ++ |
1494 | ++ The image may be either in the JPEG or GIF format. |
1495 | ++ The icon can be used by tools. |
1496 | ++ |
1497 | ++ Example: |
1498 | ++ |
1499 | ++ <small-icon>employee-service-icon16x16.jpg</small-icon> |
1500 | ++ |
1501 | ++ ]]> |
1502 | ++ </xsd:documentation> |
1503 | ++ </xsd:annotation> |
1504 | ++ </xsd:element> |
1505 | ++ <xsd:element name="large-icon" type="j2ee:pathType" |
1506 | ++ minOccurs="0"> |
1507 | ++ <xsd:annotation> |
1508 | ++ <xsd:documentation> |
1509 | ++ <![CDATA[ |
1510 | ++ |
1511 | ++ The large-icon element contains the name of a file |
1512 | ++ containing a large |
1513 | ++ (32 x 32) icon image. The file name is a relative |
1514 | ++ path within the Deployment Component's Deployment |
1515 | ++ File. |
1516 | ++ |
1517 | ++ The image may be either in the JPEG or GIF format. |
1518 | ++ The icon can be used by tools. |
1519 | ++ |
1520 | ++ Example: |
1521 | ++ |
1522 | ++ <large-icon>employee-service-icon32x32.jpg</large-icon> |
1523 | ++ |
1524 | ++ ]]> |
1525 | ++ </xsd:documentation> |
1526 | ++ </xsd:annotation> |
1527 | ++ </xsd:element> |
1528 | ++ |
1529 | ++ </xsd:sequence> |
1530 | ++ |
1531 | ++ <xsd:attribute ref="xml:lang"/> |
1532 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1533 | ++ |
1534 | ++ </xsd:complexType> |
1535 | ++ |
1536 | ++<!-- **************************************************** --> |
1537 | ++ |
1538 | ++ <xsd:complexType name="java-identifierType"> |
1539 | ++ <xsd:annotation> |
1540 | ++ <xsd:documentation> |
1541 | ++ |
1542 | ++ The java-identifierType defines a Java identifier. |
1543 | ++ The users of this type should further verify that |
1544 | ++ the content does not contain Java reserved keywords. |
1545 | ++ |
1546 | ++ </xsd:documentation> |
1547 | ++ </xsd:annotation> |
1548 | ++ <xsd:simpleContent> |
1549 | ++ <xsd:restriction base="j2ee:string"> |
1550 | ++ <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/> |
1551 | ++ </xsd:restriction> |
1552 | ++ </xsd:simpleContent> |
1553 | ++ </xsd:complexType> |
1554 | ++ |
1555 | ++<!-- **************************************************** --> |
1556 | ++ |
1557 | ++ <xsd:complexType name="java-typeType"> |
1558 | ++ <xsd:annotation> |
1559 | ++ <xsd:documentation> |
1560 | ++ |
1561 | ++ This is a generic type that designates a Java primitive |
1562 | ++ type or a fully qualified name of a Java interface/type, |
1563 | ++ or an array of such types. |
1564 | ++ |
1565 | ++ </xsd:documentation> |
1566 | ++ </xsd:annotation> |
1567 | ++ <xsd:simpleContent> |
1568 | ++ <xsd:restriction base="j2ee:string"> |
1569 | ++ <xsd:pattern value="[^\p{Z}]*"/> |
1570 | ++ </xsd:restriction> |
1571 | ++ </xsd:simpleContent> |
1572 | ++ </xsd:complexType> |
1573 | ++ |
1574 | ++<!-- **************************************************** --> |
1575 | ++ |
1576 | ++ <xsd:complexType name="jndi-nameType"> |
1577 | ++ <xsd:annotation> |
1578 | ++ <xsd:documentation> |
1579 | ++ |
1580 | ++ The jndi-nameType type designates a JNDI name in the |
1581 | ++ Deployment Component's environment and is relative to the |
1582 | ++ java:comp/env context. A JNDI name must be unique within the |
1583 | ++ Deployment Component. |
1584 | ++ |
1585 | ++ </xsd:documentation> |
1586 | ++ </xsd:annotation> |
1587 | ++ <xsd:simpleContent> |
1588 | ++ <xsd:restriction base="j2ee:string"/> |
1589 | ++ </xsd:simpleContent> |
1590 | ++ </xsd:complexType> |
1591 | ++ |
1592 | ++<!-- **************************************************** --> |
1593 | ++ |
1594 | ++ <xsd:group name="jndiEnvironmentRefsGroup"> |
1595 | ++ <xsd:annotation> |
1596 | ++ <xsd:documentation> |
1597 | ++ |
1598 | ++ This group keeps the usage of the contained JNDI environment |
1599 | ++ reference elements consistent across J2EE deployment descriptors. |
1600 | ++ |
1601 | ++ </xsd:documentation> |
1602 | ++ </xsd:annotation> |
1603 | ++ <xsd:sequence> |
1604 | ++ <xsd:element name="env-entry" |
1605 | ++ type="j2ee:env-entryType" |
1606 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1607 | ++ <xsd:element name="ejb-ref" |
1608 | ++ type="j2ee:ejb-refType" |
1609 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1610 | ++ <xsd:element name="ejb-local-ref" |
1611 | ++ type="j2ee:ejb-local-refType" |
1612 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1613 | ++ <xsd:group ref="j2ee:service-refGroup"/> |
1614 | ++ <xsd:element name="resource-ref" |
1615 | ++ type="j2ee:resource-refType" |
1616 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1617 | ++ <xsd:element name="resource-env-ref" |
1618 | ++ type="j2ee:resource-env-refType" |
1619 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1620 | ++ <xsd:element name="message-destination-ref" |
1621 | ++ type="j2ee:message-destination-refType" |
1622 | ++ minOccurs="0" maxOccurs="unbounded"/> |
1623 | ++ </xsd:sequence> |
1624 | ++ </xsd:group> |
1625 | ++ |
1626 | ++<!-- **************************************************** --> |
1627 | ++ |
1628 | ++ <xsd:complexType name="listenerType"> |
1629 | ++ <xsd:annotation> |
1630 | ++ <xsd:documentation> |
1631 | ++ |
1632 | ++ The listenerType indicates the deployment properties for a web |
1633 | ++ application listener bean. |
1634 | ++ |
1635 | ++ </xsd:documentation> |
1636 | ++ </xsd:annotation> |
1637 | ++ |
1638 | ++ <xsd:sequence> |
1639 | ++ <xsd:group ref="j2ee:descriptionGroup"/> |
1640 | ++ <xsd:element name="listener-class" |
1641 | ++ type="j2ee:fully-qualified-classType"> |
1642 | ++ <xsd:annotation> |
1643 | ++ <xsd:documentation> |
1644 | ++ |
1645 | ++ The listener-class element declares a class in the |
1646 | ++ application must be registered as a web |
1647 | ++ application listener bean. The value is the fully |
1648 | ++ qualified classname of the listener class. |
1649 | ++ |
1650 | ++ </xsd:documentation> |
1651 | ++ </xsd:annotation> |
1652 | ++ </xsd:element> |
1653 | ++ </xsd:sequence> |
1654 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1655 | ++ </xsd:complexType> |
1656 | ++ |
1657 | ++<!-- **************************************************** --> |
1658 | ++ |
1659 | ++ <xsd:complexType name="local-homeType"> |
1660 | ++ <xsd:annotation> |
1661 | ++ <xsd:documentation> |
1662 | ++ |
1663 | ++ The local-homeType defines the fully-qualified |
1664 | ++ name of an enterprise bean's local home interface. |
1665 | ++ |
1666 | ++ </xsd:documentation> |
1667 | ++ </xsd:annotation> |
1668 | ++ <xsd:simpleContent> |
1669 | ++ <xsd:restriction base="j2ee:fully-qualified-classType"/> |
1670 | ++ </xsd:simpleContent> |
1671 | ++ </xsd:complexType> |
1672 | ++ |
1673 | ++<!-- **************************************************** --> |
1674 | ++ |
1675 | ++ <xsd:complexType name="localType"> |
1676 | ++ <xsd:annotation> |
1677 | ++ <xsd:documentation> |
1678 | ++ |
1679 | ++ The localType defines the fully-qualified name of an |
1680 | ++ enterprise bean's local interface. |
1681 | ++ |
1682 | ++ </xsd:documentation> |
1683 | ++ </xsd:annotation> |
1684 | ++ <xsd:simpleContent> |
1685 | ++ <xsd:restriction base="j2ee:fully-qualified-classType"/> |
1686 | ++ </xsd:simpleContent> |
1687 | ++ </xsd:complexType> |
1688 | ++ |
1689 | ++<!-- **************************************************** --> |
1690 | ++ |
1691 | ++ <xsd:complexType name="message-destination-linkType"> |
1692 | ++ <xsd:annotation> |
1693 | ++ <xsd:documentation> |
1694 | ++ |
1695 | ++ The message-destination-linkType is used to link a message |
1696 | ++ destination reference or message-driven bean to a message |
1697 | ++ destination. |
1698 | ++ |
1699 | ++ The Assembler sets the value to reflect the flow of messages |
1700 | ++ between producers and consumers in the application. |
1701 | ++ |
1702 | ++ The value must be the message-destination-name of a message |
1703 | ++ destination in the same Deployment File or in another |
1704 | ++ Deployment File in the same J2EE application unit. |
1705 | ++ |
1706 | ++ Alternatively, the value may be composed of a path name |
1707 | ++ specifying a Deployment File containing the referenced |
1708 | ++ message destination with the message-destination-name of the |
1709 | ++ destination appended and separated from the path name by |
1710 | ++ "#". The path name is relative to the Deployment File |
1711 | ++ containing Deployment Component that is referencing the |
1712 | ++ message destination. This allows multiple message |
1713 | ++ destinations with the same name to be uniquely identified. |
1714 | ++ |
1715 | ++ </xsd:documentation> |
1716 | ++ </xsd:annotation> |
1717 | ++ <xsd:simpleContent> |
1718 | ++ <xsd:restriction base="j2ee:string"/> |
1719 | ++ </xsd:simpleContent> |
1720 | ++ </xsd:complexType> |
1721 | ++ |
1722 | ++<!-- **************************************************** --> |
1723 | ++ |
1724 | ++ <xsd:complexType name="message-destination-refType"> |
1725 | ++ <xsd:annotation> |
1726 | ++ <xsd:documentation> |
1727 | ++ <![CDATA[ |
1728 | ++ |
1729 | ++ The message-destination-ref element contains a declaration |
1730 | ++ of Deployment Component's reference to a message destination |
1731 | ++ associated with a resource in Deployment Component's |
1732 | ++ environment. It consists of: |
1733 | ++ |
1734 | ++ - an optional description |
1735 | ++ - the message destination reference name |
1736 | ++ - the message destination type |
1737 | ++ - a specification as to whether the |
1738 | ++ destination is used for |
1739 | ++ consuming or producing messages, or both |
1740 | ++ - a link to the message destination |
1741 | ++ |
1742 | ++ Examples: |
1743 | ++ |
1744 | ++ <message-destination-ref> |
1745 | ++ <message-destination-ref-name>jms/StockQueue |
1746 | ++ </message-destination-ref-name> |
1747 | ++ <message-destination-type>javax.jms.Queue |
1748 | ++ </message-destination-type> |
1749 | ++ <message-destination-usage>Consumes |
1750 | ++ </message-destination-usage> |
1751 | ++ <message-destination-link>CorporateStocks |
1752 | ++ </message-destination-link> |
1753 | ++ </message-destination-ref> |
1754 | ++ |
1755 | ++ ]]> |
1756 | ++ </xsd:documentation> |
1757 | ++ </xsd:annotation> |
1758 | ++ <xsd:sequence> |
1759 | ++ <xsd:element name="description" |
1760 | ++ type="j2ee:descriptionType" |
1761 | ++ minOccurs="0" |
1762 | ++ maxOccurs="unbounded"/> |
1763 | ++ <xsd:element name="message-destination-ref-name" |
1764 | ++ type="j2ee:jndi-nameType"> |
1765 | ++ <xsd:annotation> |
1766 | ++ <xsd:documentation> |
1767 | ++ |
1768 | ++ The message-destination-ref-name element specifies |
1769 | ++ the name of a message destination reference; its |
1770 | ++ value is the environment entry name used in |
1771 | ++ Deployment Component code. The name is a JNDI name |
1772 | ++ relative to the java:comp/env context and must be |
1773 | ++ unique within an ejb-jar (for enterprise beans) or a |
1774 | ++ Deployment File (for others). |
1775 | ++ |
1776 | ++ </xsd:documentation> |
1777 | ++ </xsd:annotation> |
1778 | ++ </xsd:element> |
1779 | ++ <xsd:element name="message-destination-type" |
1780 | ++ type="j2ee:message-destination-typeType"/> |
1781 | ++ <xsd:element name="message-destination-usage" |
1782 | ++ type="j2ee:message-destination-usageType"/> |
1783 | ++ <xsd:element name="message-destination-link" |
1784 | ++ type="j2ee:message-destination-linkType" |
1785 | ++ minOccurs="0"/> |
1786 | ++ </xsd:sequence> |
1787 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1788 | ++ |
1789 | ++ </xsd:complexType> |
1790 | ++ |
1791 | ++<!-- **************************************************** --> |
1792 | ++ |
1793 | ++ <xsd:complexType name="message-destination-typeType"> |
1794 | ++ <xsd:annotation> |
1795 | ++ <xsd:documentation> |
1796 | ++ <![CDATA[ |
1797 | ++ |
1798 | ++ The message-destination-typeType specifies the type of |
1799 | ++ the destination. The type is specified by the Java interface |
1800 | ++ expected to be implemented by the destination. |
1801 | ++ |
1802 | ++ Example: |
1803 | ++ |
1804 | ++ <message-destination-type>javax.jms.Queue |
1805 | ++ </message-destination-type> |
1806 | ++ |
1807 | ++ ]]> |
1808 | ++ </xsd:documentation> |
1809 | ++ </xsd:annotation> |
1810 | ++ <xsd:simpleContent> |
1811 | ++ <xsd:restriction base="j2ee:fully-qualified-classType"/> |
1812 | ++ </xsd:simpleContent> |
1813 | ++ </xsd:complexType> |
1814 | ++ |
1815 | ++<!-- **************************************************** --> |
1816 | ++ |
1817 | ++ <xsd:complexType name="message-destination-usageType"> |
1818 | ++ <xsd:annotation> |
1819 | ++ <xsd:documentation> |
1820 | ++ |
1821 | ++ The message-destination-usageType specifies the use of the |
1822 | ++ message destination indicated by the reference. The value |
1823 | ++ indicates whether messages are consumed from the message |
1824 | ++ destination, produced for the destination, or both. The |
1825 | ++ Assembler makes use of this information in linking producers |
1826 | ++ of a destination with its consumers. |
1827 | ++ |
1828 | ++ The value of the message-destination-usage element must be |
1829 | ++ one of the following: |
1830 | ++ Consumes |
1831 | ++ Produces |
1832 | ++ ConsumesProduces |
1833 | ++ |
1834 | ++ </xsd:documentation> |
1835 | ++ </xsd:annotation> |
1836 | ++ <xsd:simpleContent> |
1837 | ++ <xsd:restriction base="j2ee:string"> |
1838 | ++ <xsd:enumeration value="Consumes"/> |
1839 | ++ <xsd:enumeration value="Produces"/> |
1840 | ++ <xsd:enumeration value="ConsumesProduces"/> |
1841 | ++ </xsd:restriction> |
1842 | ++ </xsd:simpleContent> |
1843 | ++ </xsd:complexType> |
1844 | ++ |
1845 | ++<!-- **************************************************** --> |
1846 | ++ |
1847 | ++ <xsd:complexType name="message-destinationType"> |
1848 | ++ <xsd:annotation> |
1849 | ++ <xsd:documentation> |
1850 | ++ <![CDATA[ |
1851 | ++ |
1852 | ++ The message-destinationType specifies a message |
1853 | ++ destination. The logical destination described by this |
1854 | ++ element is mapped to a physical destination by the Deployer. |
1855 | ++ |
1856 | ++ The message destination element contains: |
1857 | ++ |
1858 | ++ - an optional description |
1859 | ++ - an optional display-name |
1860 | ++ - an optional icon |
1861 | ++ - a message destination name which must be unique |
1862 | ++ among message destination names within the same |
1863 | ++ Deployment File. |
1864 | ++ |
1865 | ++ Example: |
1866 | ++ |
1867 | ++ <message-destination> |
1868 | ++ <message-destination-name>CorporateStocks |
1869 | ++ </message-destination-name> |
1870 | ++ </message-destination> |
1871 | ++ |
1872 | ++ ]]> |
1873 | ++ </xsd:documentation> |
1874 | ++ </xsd:annotation> |
1875 | ++ <xsd:sequence> |
1876 | ++ <xsd:group ref="j2ee:descriptionGroup"/> |
1877 | ++ <xsd:element name="message-destination-name" |
1878 | ++ type="j2ee:string"> |
1879 | ++ <xsd:annotation> |
1880 | ++ <xsd:documentation> |
1881 | ++ |
1882 | ++ The message-destination-name element specifies a |
1883 | ++ name for a message destination. This name must be |
1884 | ++ unique among the names of message destinations |
1885 | ++ within the Deployment File. |
1886 | ++ |
1887 | ++ </xsd:documentation> |
1888 | ++ </xsd:annotation> |
1889 | ++ </xsd:element> |
1890 | ++ </xsd:sequence> |
1891 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1892 | ++ </xsd:complexType> |
1893 | ++ |
1894 | ++<!-- **************************************************** --> |
1895 | ++ |
1896 | ++ <xsd:complexType name="param-valueType"> |
1897 | ++ <xsd:annotation> |
1898 | ++ <xsd:documentation> |
1899 | ++ |
1900 | ++ This type is a general type that can be used to declare |
1901 | ++ parameter/value lists. |
1902 | ++ |
1903 | ++ </xsd:documentation> |
1904 | ++ </xsd:annotation> |
1905 | ++ |
1906 | ++ <xsd:sequence> |
1907 | ++ <xsd:element name="description" |
1908 | ++ type="j2ee:descriptionType" |
1909 | ++ minOccurs="0" |
1910 | ++ maxOccurs="unbounded"/> |
1911 | ++ <xsd:element name="param-name" |
1912 | ++ type="j2ee:string"> |
1913 | ++ <xsd:annotation> |
1914 | ++ <xsd:documentation> |
1915 | ++ |
1916 | ++ The param-name element contains the name of a |
1917 | ++ parameter. |
1918 | ++ |
1919 | ++ </xsd:documentation> |
1920 | ++ </xsd:annotation> |
1921 | ++ </xsd:element> |
1922 | ++ |
1923 | ++ <xsd:element name="param-value" |
1924 | ++ type="j2ee:xsdStringType"> |
1925 | ++ <xsd:annotation> |
1926 | ++ <xsd:documentation> |
1927 | ++ |
1928 | ++ The param-value element contains the value of a |
1929 | ++ parameter. |
1930 | ++ |
1931 | ++ </xsd:documentation> |
1932 | ++ </xsd:annotation> |
1933 | ++ </xsd:element> |
1934 | ++ </xsd:sequence> |
1935 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
1936 | ++ </xsd:complexType> |
1937 | ++ |
1938 | ++<!-- **************************************************** --> |
1939 | ++ |
1940 | ++ <xsd:complexType name="pathType"> |
1941 | ++ <xsd:annotation> |
1942 | ++ <xsd:documentation> |
1943 | ++ |
1944 | ++ The elements that use this type designate either a relative |
1945 | ++ path or an absolute path starting with a "/". |
1946 | ++ |
1947 | ++ In elements that specify a pathname to a file within the |
1948 | ++ same Deployment File, relative filenames (i.e., those not |
1949 | ++ starting with "/") are considered relative to the root of |
1950 | ++ the Deployment File's namespace. Absolute filenames (i.e., |
1951 | ++ those starting with "/") also specify names in the root of |
1952 | ++ the Deployment File's namespace. In general, relative names |
1953 | ++ are preferred. The exception is .war files where absolute |
1954 | ++ names are preferred for consistency with the Servlet API. |
1955 | ++ |
1956 | ++ </xsd:documentation> |
1957 | ++ </xsd:annotation> |
1958 | ++ <xsd:simpleContent> |
1959 | ++ <xsd:restriction base="j2ee:string"/> |
1960 | ++ </xsd:simpleContent> |
1961 | ++ </xsd:complexType> |
1962 | ++ |
1963 | ++<!-- **************************************************** --> |
1964 | ++ |
1965 | ++ <xsd:complexType name="remoteType"> |
1966 | ++ <xsd:annotation> |
1967 | ++ <xsd:documentation> |
1968 | ++ <![CDATA[ |
1969 | ++ |
1970 | ++ The remote element contains the fully-qualified name |
1971 | ++ of the enterprise bean's remote interface. |
1972 | ++ |
1973 | ++ Example: |
1974 | ++ |
1975 | ++ <remote>com.wombat.empl.EmployeeService</remote> |
1976 | ++ |
1977 | ++ ]]> |
1978 | ++ </xsd:documentation> |
1979 | ++ </xsd:annotation> |
1980 | ++ <xsd:simpleContent> |
1981 | ++ <xsd:restriction base="j2ee:fully-qualified-classType"/> |
1982 | ++ </xsd:simpleContent> |
1983 | ++ </xsd:complexType> |
1984 | ++ |
1985 | ++<!-- **************************************************** --> |
1986 | ++ |
1987 | ++ <xsd:complexType name="res-authType"> |
1988 | ++ <xsd:annotation> |
1989 | ++ <xsd:documentation> |
1990 | ++ |
1991 | ++ The res-authType specifies whether the Deployment Component |
1992 | ++ code signs on programmatically to the resource manager, or |
1993 | ++ whether the Container will sign on to the resource manager |
1994 | ++ on behalf of the Deployment Component. In the latter case, |
1995 | ++ the Container uses information that is supplied by the |
1996 | ++ Deployer. |
1997 | ++ |
1998 | ++ The value must be one of the two following: |
1999 | ++ |
2000 | ++ Application |
2001 | ++ Container |
2002 | ++ |
2003 | ++ </xsd:documentation> |
2004 | ++ </xsd:annotation> |
2005 | ++ <xsd:simpleContent> |
2006 | ++ <xsd:restriction base="j2ee:string"> |
2007 | ++ <xsd:enumeration value="Application"/> |
2008 | ++ <xsd:enumeration value="Container"/> |
2009 | ++ </xsd:restriction> |
2010 | ++ </xsd:simpleContent> |
2011 | ++ </xsd:complexType> |
2012 | ++ |
2013 | ++<!-- **************************************************** --> |
2014 | ++ |
2015 | ++ <xsd:complexType name="res-sharing-scopeType"> |
2016 | ++ <xsd:annotation> |
2017 | ++ <xsd:documentation> |
2018 | ++ |
2019 | ++ The res-sharing-scope type specifies whether connections |
2020 | ++ obtained through the given resource manager connection |
2021 | ++ factory reference can be shared. The value, if specified, |
2022 | ++ must be one of the two following: |
2023 | ++ |
2024 | ++ Shareable |
2025 | ++ Unshareable |
2026 | ++ |
2027 | ++ The default value is Shareable. |
2028 | ++ |
2029 | ++ </xsd:documentation> |
2030 | ++ </xsd:annotation> |
2031 | ++ <xsd:simpleContent> |
2032 | ++ <xsd:restriction base="j2ee:string"> |
2033 | ++ <xsd:enumeration value="Shareable"/> |
2034 | ++ <xsd:enumeration value="Unshareable"/> |
2035 | ++ </xsd:restriction> |
2036 | ++ </xsd:simpleContent> |
2037 | ++ </xsd:complexType> |
2038 | ++ |
2039 | ++<!-- **************************************************** --> |
2040 | ++ |
2041 | ++ <xsd:complexType name="resource-env-refType"> |
2042 | ++ <xsd:annotation> |
2043 | ++ <xsd:documentation> |
2044 | ++ <![CDATA[ |
2045 | ++ |
2046 | ++ The resource-env-refType is used to define |
2047 | ++ resource-env-type elements. It contains a declaration of a |
2048 | ++ Deployment Component's reference to an administered object |
2049 | ++ associated with a resource in the Deployment Component's |
2050 | ++ environment. It consists of an optional description, the |
2051 | ++ resource environment reference name, and an indication of |
2052 | ++ the resource environment reference type expected by the |
2053 | ++ Deployment Component code. |
2054 | ++ |
2055 | ++ Example: |
2056 | ++ |
2057 | ++ <resource-env-ref> |
2058 | ++ <resource-env-ref-name>jms/StockQueue |
2059 | ++ </resource-env-ref-name> |
2060 | ++ <resource-env-ref-type>javax.jms.Queue |
2061 | ++ </resource-env-ref-type> |
2062 | ++ </resource-env-ref> |
2063 | ++ |
2064 | ++ ]]> |
2065 | ++ </xsd:documentation> |
2066 | ++ </xsd:annotation> |
2067 | ++ |
2068 | ++ <xsd:sequence> |
2069 | ++ <xsd:element name="description" |
2070 | ++ type="j2ee:descriptionType" |
2071 | ++ minOccurs="0" |
2072 | ++ maxOccurs="unbounded"/> |
2073 | ++ <xsd:element name="resource-env-ref-name" |
2074 | ++ type="j2ee:jndi-nameType"> |
2075 | ++ <xsd:annotation> |
2076 | ++ <xsd:documentation> |
2077 | ++ |
2078 | ++ The resource-env-ref-name element specifies the name |
2079 | ++ of a resource environment reference; its value is |
2080 | ++ the environment entry name used in |
2081 | ++ the Deployment Component code. The name is a JNDI |
2082 | ++ name relative to the java:comp/env context and must |
2083 | ++ be unique within a Deployment Component. |
2084 | ++ |
2085 | ++ </xsd:documentation> |
2086 | ++ </xsd:annotation> |
2087 | ++ </xsd:element> |
2088 | ++ |
2089 | ++ <xsd:element name="resource-env-ref-type" |
2090 | ++ type="j2ee:fully-qualified-classType"> |
2091 | ++ <xsd:annotation> |
2092 | ++ <xsd:documentation> |
2093 | ++ |
2094 | ++ The resource-env-ref-type element specifies the type |
2095 | ++ of a resource environment reference. It is the |
2096 | ++ fully qualified name of a Java language class or |
2097 | ++ interface. |
2098 | ++ |
2099 | ++ </xsd:documentation> |
2100 | ++ </xsd:annotation> |
2101 | ++ </xsd:element> |
2102 | ++ |
2103 | ++ </xsd:sequence> |
2104 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2105 | ++ </xsd:complexType> |
2106 | ++ |
2107 | ++<!-- **************************************************** --> |
2108 | ++ |
2109 | ++ <xsd:complexType name="resource-refType"> |
2110 | ++ <xsd:annotation> |
2111 | ++ <xsd:documentation> |
2112 | ++ <![CDATA[ |
2113 | ++ |
2114 | ++ The resource-refType contains a declaration of a |
2115 | ++ Deployment Component's reference to an external resource. It |
2116 | ++ consists of an optional description, the resource manager |
2117 | ++ connection factory reference name, the indication of the |
2118 | ++ resource manager connection factory type expected by the |
2119 | ++ Deployment Component code, the type of authentication |
2120 | ++ (Application or Container), and an optional specification of |
2121 | ++ the shareability of connections obtained from the resource |
2122 | ++ (Shareable or Unshareable). |
2123 | ++ |
2124 | ++ Example: |
2125 | ++ |
2126 | ++ <resource-ref> |
2127 | ++ <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> |
2128 | ++ <res-type>javax.sql.DataSource</res-type> |
2129 | ++ <res-auth>Container</res-auth> |
2130 | ++ <res-sharing-scope>Shareable</res-sharing-scope> |
2131 | ++ </resource-ref> |
2132 | ++ |
2133 | ++ ]]> |
2134 | ++ </xsd:documentation> |
2135 | ++ </xsd:annotation> |
2136 | ++ |
2137 | ++ <xsd:sequence> |
2138 | ++ <xsd:element name="description" |
2139 | ++ type="j2ee:descriptionType" |
2140 | ++ minOccurs="0" |
2141 | ++ maxOccurs="unbounded"/> |
2142 | ++ <xsd:element name="res-ref-name" |
2143 | ++ type="j2ee:jndi-nameType"> |
2144 | ++ <xsd:annotation> |
2145 | ++ <xsd:documentation> |
2146 | ++ |
2147 | ++ The res-ref-name element specifies the name of a |
2148 | ++ resource manager connection factory reference. |
2149 | ++ The name is a JNDI name relative to the |
2150 | ++ java:comp/env context. |
2151 | ++ The name must be unique within a Deployment File. |
2152 | ++ |
2153 | ++ </xsd:documentation> |
2154 | ++ </xsd:annotation> |
2155 | ++ </xsd:element> |
2156 | ++ |
2157 | ++ <xsd:element name="res-type" |
2158 | ++ type="j2ee:fully-qualified-classType"> |
2159 | ++ <xsd:annotation> |
2160 | ++ <xsd:documentation> |
2161 | ++ |
2162 | ++ The res-type element specifies the type of the data |
2163 | ++ source. The type is specified by the fully qualified |
2164 | ++ Java language class or interface |
2165 | ++ expected to be implemented by the data source. |
2166 | ++ |
2167 | ++ </xsd:documentation> |
2168 | ++ </xsd:annotation> |
2169 | ++ </xsd:element> |
2170 | ++ |
2171 | ++ <xsd:element name="res-auth" |
2172 | ++ type="j2ee:res-authType"/> |
2173 | ++ |
2174 | ++ <xsd:element name="res-sharing-scope" |
2175 | ++ type="j2ee:res-sharing-scopeType" |
2176 | ++ minOccurs="0"/> |
2177 | ++ </xsd:sequence> |
2178 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2179 | ++ </xsd:complexType> |
2180 | ++ |
2181 | ++<!-- **************************************************** --> |
2182 | ++ |
2183 | ++ <xsd:complexType name="role-nameType"> |
2184 | ++ <xsd:annotation> |
2185 | ++ <xsd:documentation> |
2186 | ++ |
2187 | ++ The role-nameType designates the name of a security role. |
2188 | ++ |
2189 | ++ The name must conform to the lexical rules for a token. |
2190 | ++ |
2191 | ++ </xsd:documentation> |
2192 | ++ </xsd:annotation> |
2193 | ++ |
2194 | ++ <xsd:simpleContent> |
2195 | ++ <xsd:restriction base="j2ee:string"/> |
2196 | ++ </xsd:simpleContent> |
2197 | ++ </xsd:complexType> |
2198 | ++ |
2199 | ++<!-- **************************************************** --> |
2200 | ++ |
2201 | ++ <xsd:complexType name="run-asType"> |
2202 | ++ <xsd:annotation> |
2203 | ++ <xsd:documentation> |
2204 | ++ |
2205 | ++ The run-asType specifies the run-as identity to be |
2206 | ++ used for the execution of a component. It contains an |
2207 | ++ optional description, and the name of a security role. |
2208 | ++ |
2209 | ++ </xsd:documentation> |
2210 | ++ </xsd:annotation> |
2211 | ++ |
2212 | ++ <xsd:sequence> |
2213 | ++ <xsd:element name="description" |
2214 | ++ type="j2ee:descriptionType" |
2215 | ++ minOccurs="0" |
2216 | ++ maxOccurs="unbounded"/> |
2217 | ++ <xsd:element name="role-name" |
2218 | ++ type="j2ee:role-nameType"/> |
2219 | ++ </xsd:sequence> |
2220 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2221 | ++ </xsd:complexType> |
2222 | ++ |
2223 | ++<!-- **************************************************** --> |
2224 | ++ |
2225 | ++ <xsd:complexType name="security-role-refType"> |
2226 | ++ <xsd:annotation> |
2227 | ++ <xsd:documentation> |
2228 | ++ |
2229 | ++ The security-role-refType contains the declaration of a |
2230 | ++ security role reference in a component's or a |
2231 | ++ Deployment Component's code. The declaration consists of an |
2232 | ++ optional description, the security role name used in the |
2233 | ++ code, and an optional link to a security role. If the |
2234 | ++ security role is not specified, the Deployer must choose an |
2235 | ++ appropriate security role. |
2236 | ++ |
2237 | ++ </xsd:documentation> |
2238 | ++ </xsd:annotation> |
2239 | ++ |
2240 | ++ <xsd:sequence> |
2241 | ++ <xsd:element name="description" |
2242 | ++ type="j2ee:descriptionType" |
2243 | ++ minOccurs="0" |
2244 | ++ maxOccurs="unbounded"/> |
2245 | ++ <xsd:element name="role-name" |
2246 | ++ type="j2ee:role-nameType"> |
2247 | ++ <xsd:annotation> |
2248 | ++ <xsd:documentation> |
2249 | ++ |
2250 | ++ The value of the role-name element must be the String used |
2251 | ++ as the parameter to the |
2252 | ++ EJBContext.isCallerInRole(String roleName) method or the |
2253 | ++ HttpServletRequest.isUserInRole(String role) method. |
2254 | ++ |
2255 | ++ </xsd:documentation> |
2256 | ++ </xsd:annotation> |
2257 | ++ </xsd:element> |
2258 | ++ |
2259 | ++ <xsd:element name="role-link" |
2260 | ++ type="j2ee:role-nameType" |
2261 | ++ minOccurs="0"> |
2262 | ++ <xsd:annotation> |
2263 | ++ <xsd:documentation> |
2264 | ++ |
2265 | ++ The role-link element is a reference to a defined |
2266 | ++ security role. The role-link element must contain |
2267 | ++ the name of one of the security roles defined in the |
2268 | ++ security-role elements. |
2269 | ++ |
2270 | ++ </xsd:documentation> |
2271 | ++ </xsd:annotation> |
2272 | ++ </xsd:element> |
2273 | ++ </xsd:sequence> |
2274 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2275 | ++ </xsd:complexType> |
2276 | ++ |
2277 | ++<!-- **************************************************** --> |
2278 | ++ |
2279 | ++ <xsd:complexType name="security-roleType"> |
2280 | ++ <xsd:annotation> |
2281 | ++ <xsd:documentation> |
2282 | ++ <![CDATA[ |
2283 | ++ |
2284 | ++ The security-roleType contains the definition of a security |
2285 | ++ role. The definition consists of an optional description of the |
2286 | ++ security role, and the security role name. |
2287 | ++ |
2288 | ++ Example: |
2289 | ++ |
2290 | ++ <security-role> |
2291 | ++ <description> |
2292 | ++ This role includes all employees who are authorized |
2293 | ++ to access the employee service application. |
2294 | ++ </description> |
2295 | ++ <role-name>employee</role-name> |
2296 | ++ </security-role> |
2297 | ++ |
2298 | ++ ]]> |
2299 | ++ </xsd:documentation> |
2300 | ++ </xsd:annotation> |
2301 | ++ |
2302 | ++ <xsd:sequence> |
2303 | ++ <xsd:element name="description" |
2304 | ++ type="j2ee:descriptionType" |
2305 | ++ minOccurs="0" |
2306 | ++ maxOccurs="unbounded"/> |
2307 | ++ <xsd:element name="role-name" |
2308 | ++ type="j2ee:role-nameType"/> |
2309 | ++ </xsd:sequence> |
2310 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2311 | ++ </xsd:complexType> |
2312 | ++ |
2313 | ++<!-- **************************************************** --> |
2314 | ++ |
2315 | ++ <xsd:complexType name="string"> |
2316 | ++ <xsd:annotation> |
2317 | ++ <xsd:documentation> |
2318 | ++ |
2319 | ++ This is a special string datatype that is defined by J2EE as |
2320 | ++ a base type for defining collapsed strings. When schemas |
2321 | ++ require trailing/leading space elimination as well as |
2322 | ++ collapsing the existing whitespace, this base type may be |
2323 | ++ used. |
2324 | ++ |
2325 | ++ </xsd:documentation> |
2326 | ++ </xsd:annotation> |
2327 | ++ <xsd:simpleContent> |
2328 | ++ <xsd:extension base="xsd:token"> |
2329 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2330 | ++ </xsd:extension> |
2331 | ++ </xsd:simpleContent> |
2332 | ++ </xsd:complexType> |
2333 | ++ |
2334 | ++<!-- **************************************************** --> |
2335 | ++ |
2336 | ++ <xsd:complexType name="true-falseType"> |
2337 | ++ <xsd:annotation> |
2338 | ++ <xsd:documentation> |
2339 | ++ |
2340 | ++ This simple type designates a boolean with only two |
2341 | ++ permissible values |
2342 | ++ |
2343 | ++ - true |
2344 | ++ - false |
2345 | ++ |
2346 | ++ </xsd:documentation> |
2347 | ++ </xsd:annotation> |
2348 | ++ <xsd:simpleContent> |
2349 | ++ <xsd:restriction base="j2ee:xsdBooleanType"> |
2350 | ++ <xsd:pattern value="(true|false)"/> |
2351 | ++ </xsd:restriction> |
2352 | ++ </xsd:simpleContent> |
2353 | ++ </xsd:complexType> |
2354 | ++ |
2355 | ++<!-- **************************************************** --> |
2356 | ++ |
2357 | ++ <xsd:complexType name="url-patternType"> |
2358 | ++ <xsd:annotation> |
2359 | ++ <xsd:documentation> |
2360 | ++ |
2361 | ++ The url-patternType contains the url pattern of the mapping. |
2362 | ++ It must follow the rules specified in Section 11.2 of the |
2363 | ++ Servlet API Specification. This pattern is assumed to be in |
2364 | ++ URL-decoded form and must not contain CR(#xD) or LF(#xA). |
2365 | ++ If it contains those characters, the container must inform |
2366 | ++ the developer with a descriptive error message. |
2367 | ++ The container must preserve all characters including whitespaces. |
2368 | ++ |
2369 | ++ </xsd:documentation> |
2370 | ++ </xsd:annotation> |
2371 | ++ <xsd:simpleContent> |
2372 | ++ <xsd:extension base="xsd:string"/> |
2373 | ++ </xsd:simpleContent> |
2374 | ++ </xsd:complexType> |
2375 | ++ |
2376 | ++<!-- **************************************************** --> |
2377 | ++ |
2378 | ++ <xsd:complexType name="xsdAnyURIType"> |
2379 | ++ <xsd:annotation> |
2380 | ++ <xsd:documentation> |
2381 | ++ |
2382 | ++ This type adds an "id" attribute to xsd:anyURI. |
2383 | ++ |
2384 | ++ </xsd:documentation> |
2385 | ++ </xsd:annotation> |
2386 | ++ <xsd:simpleContent> |
2387 | ++ <xsd:extension base="xsd:anyURI"> |
2388 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2389 | ++ </xsd:extension> |
2390 | ++ </xsd:simpleContent> |
2391 | ++ </xsd:complexType> |
2392 | ++ |
2393 | ++<!-- **************************************************** --> |
2394 | ++ |
2395 | ++ <xsd:complexType name="xsdBooleanType"> |
2396 | ++ <xsd:annotation> |
2397 | ++ <xsd:documentation> |
2398 | ++ |
2399 | ++ This type adds an "id" attribute to xsd:boolean. |
2400 | ++ |
2401 | ++ </xsd:documentation> |
2402 | ++ </xsd:annotation> |
2403 | ++ <xsd:simpleContent> |
2404 | ++ <xsd:extension base="xsd:boolean"> |
2405 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2406 | ++ </xsd:extension> |
2407 | ++ </xsd:simpleContent> |
2408 | ++ </xsd:complexType> |
2409 | ++ |
2410 | ++<!-- **************************************************** --> |
2411 | ++ |
2412 | ++ <xsd:complexType name="xsdIntegerType"> |
2413 | ++ <xsd:annotation> |
2414 | ++ <xsd:documentation> |
2415 | ++ |
2416 | ++ This type adds an "id" attribute to xsd:integer. |
2417 | ++ |
2418 | ++ </xsd:documentation> |
2419 | ++ </xsd:annotation> |
2420 | ++ <xsd:simpleContent> |
2421 | ++ <xsd:extension base="xsd:integer"> |
2422 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2423 | ++ </xsd:extension> |
2424 | ++ </xsd:simpleContent> |
2425 | ++ </xsd:complexType> |
2426 | ++ |
2427 | ++<!-- **************************************************** --> |
2428 | ++ |
2429 | ++ <xsd:complexType name="xsdNMTOKENType"> |
2430 | ++ <xsd:annotation> |
2431 | ++ <xsd:documentation> |
2432 | ++ |
2433 | ++ This type adds an "id" attribute to xsd:NMTOKEN. |
2434 | ++ |
2435 | ++ </xsd:documentation> |
2436 | ++ </xsd:annotation> |
2437 | ++ <xsd:simpleContent> |
2438 | ++ <xsd:extension base="xsd:NMTOKEN"> |
2439 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2440 | ++ </xsd:extension> |
2441 | ++ </xsd:simpleContent> |
2442 | ++ </xsd:complexType> |
2443 | ++ |
2444 | ++<!-- **************************************************** --> |
2445 | ++ |
2446 | ++ <xsd:complexType name="xsdNonNegativeIntegerType"> |
2447 | ++ <xsd:annotation> |
2448 | ++ <xsd:documentation> |
2449 | ++ |
2450 | ++ This type adds an "id" attribute to xsd:nonNegativeInteger. |
2451 | ++ |
2452 | ++ </xsd:documentation> |
2453 | ++ </xsd:annotation> |
2454 | ++ <xsd:simpleContent> |
2455 | ++ <xsd:extension base="xsd:nonNegativeInteger"> |
2456 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2457 | ++ </xsd:extension> |
2458 | ++ </xsd:simpleContent> |
2459 | ++ </xsd:complexType> |
2460 | ++ |
2461 | ++<!-- **************************************************** --> |
2462 | ++ |
2463 | ++ <xsd:complexType name="xsdPositiveIntegerType"> |
2464 | ++ <xsd:annotation> |
2465 | ++ <xsd:documentation> |
2466 | ++ |
2467 | ++ This type adds an "id" attribute to xsd:positiveInteger. |
2468 | ++ |
2469 | ++ </xsd:documentation> |
2470 | ++ </xsd:annotation> |
2471 | ++ <xsd:simpleContent> |
2472 | ++ <xsd:extension base="xsd:positiveInteger"> |
2473 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2474 | ++ </xsd:extension> |
2475 | ++ </xsd:simpleContent> |
2476 | ++ </xsd:complexType> |
2477 | ++ |
2478 | ++<!-- **************************************************** --> |
2479 | ++ |
2480 | ++ <xsd:complexType name="xsdQNameType"> |
2481 | ++ <xsd:annotation> |
2482 | ++ <xsd:documentation> |
2483 | ++ |
2484 | ++ This type adds an "id" attribute to xsd:QName. |
2485 | ++ |
2486 | ++ </xsd:documentation> |
2487 | ++ </xsd:annotation> |
2488 | ++ <xsd:simpleContent> |
2489 | ++ <xsd:extension base="xsd:QName"> |
2490 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2491 | ++ </xsd:extension> |
2492 | ++ </xsd:simpleContent> |
2493 | ++ </xsd:complexType> |
2494 | ++ |
2495 | ++<!-- **************************************************** --> |
2496 | ++ |
2497 | ++ <xsd:complexType name="xsdStringType"> |
2498 | ++ <xsd:annotation> |
2499 | ++ <xsd:documentation> |
2500 | ++ |
2501 | ++ This type adds an "id" attribute to xsd:string. |
2502 | ++ |
2503 | ++ </xsd:documentation> |
2504 | ++ </xsd:annotation> |
2505 | ++ <xsd:simpleContent> |
2506 | ++ <xsd:extension base="xsd:string"> |
2507 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2508 | ++ </xsd:extension> |
2509 | ++ </xsd:simpleContent> |
2510 | ++ </xsd:complexType> |
2511 | ++ |
2512 | ++</xsd:schema> |
2513 | ++ |
2514 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd |
2515 | +=================================================================== |
2516 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
2517 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/j2ee_web_services_client_1_1.xsd 2011-08-18 09:34:14.231604192 +0100 |
2518 | +@@ -0,0 +1,353 @@ |
2519 | ++<?xml version="1.0" encoding="UTF-8"?> |
2520 | ++<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" |
2521 | ++ targetNamespace="http://java.sun.com/xml/ns/j2ee" |
2522 | ++ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" |
2523 | ++ xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
2524 | ++ elementFormDefault="qualified" |
2525 | ++ attributeFormDefault="unqualified" |
2526 | ++ version="1.1"> |
2527 | ++ <xsd:annotation> |
2528 | ++ <xsd:documentation> |
2529 | ++ @(#)j2ee_web_services_client_1_1.xsds 1.10 02/11/03 |
2530 | ++ </xsd:documentation> |
2531 | ++ </xsd:annotation> |
2532 | ++ |
2533 | ++ <xsd:annotation> |
2534 | ++ <xsd:documentation> |
2535 | ++ |
2536 | ++ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2537 | ++ |
2538 | ++ Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. |
2539 | ++ |
2540 | ++ The contents of this file are subject to the terms of either the |
2541 | ++ GNU General Public License Version 2 only ("GPL") or the Common |
2542 | ++ Development and Distribution License("CDDL") (collectively, the |
2543 | ++ "License"). You may not use this file except in compliance with |
2544 | ++ the License. You can obtain a copy of the License at |
2545 | ++ https://glassfish.dev.java.net/public/CDDL+GPL.html or |
2546 | ++ glassfish/bootstrap/legal/LICENSE.txt. See the License for the |
2547 | ++ specific language governing permissions and limitations under the |
2548 | ++ License. |
2549 | ++ |
2550 | ++ When distributing the software, include this License Header |
2551 | ++ Notice in each file and include the License file at |
2552 | ++ glassfish/bootstrap/legal/LICENSE.txt. Sun designates this |
2553 | ++ particular file as subject to the "Classpath" exception as |
2554 | ++ provided by Sun in the GPL Version 2 section of the License file |
2555 | ++ that accompanied this code. If applicable, add the following |
2556 | ++ below the License Header, with the fields enclosed by brackets [] |
2557 | ++ replaced by your own identifying information: |
2558 | ++ "Portions Copyrighted [year] [name of copyright owner]" |
2559 | ++ |
2560 | ++ Contributor(s): |
2561 | ++ |
2562 | ++ If you wish your version of this file to be governed by only the |
2563 | ++ CDDL or only the GPL Version 2, indicate your decision by adding |
2564 | ++ "[Contributor] elects to include this software in this |
2565 | ++ distribution under the [CDDL or GPL Version 2] license." If you |
2566 | ++ don't indicate a single choice of license, a recipient has the |
2567 | ++ option to distribute your version of this file under either the |
2568 | ++ CDDL, the GPL Version 2 or to extend the choice of license to its |
2569 | ++ licensees as provided above. However, if you add GPL Version 2 |
2570 | ++ code and therefore, elected the GPL Version 2 license, then the |
2571 | ++ option applies only if the new code is made subject to such |
2572 | ++ option by the copyright holder. |
2573 | ++ |
2574 | ++ </xsd:documentation> |
2575 | ++ </xsd:annotation> |
2576 | ++ |
2577 | ++ <xsd:annotation> |
2578 | ++ <xsd:documentation> |
2579 | ++ |
2580 | ++ (C) Copyright International Business Machines Corporation 2002 |
2581 | ++ |
2582 | ++ </xsd:documentation> |
2583 | ++ </xsd:annotation> |
2584 | ++ |
2585 | ++ |
2586 | ++<!-- **************************************************** --> |
2587 | ++ |
2588 | ++ <xsd:complexType name="port-component-refType"> |
2589 | ++ <xsd:annotation> |
2590 | ++ <xsd:documentation> |
2591 | ++ |
2592 | ++ The port-component-ref element declares a client dependency |
2593 | ++ on the container for resolving a Service Endpoint Interface |
2594 | ++ to a WSDL port. It optionally associates the Service Endpoint |
2595 | ++ Interface with a particular port-component. This is only used |
2596 | ++ by the container for a Service.getPort(Class) method call. |
2597 | ++ |
2598 | ++ </xsd:documentation> |
2599 | ++ </xsd:annotation> |
2600 | ++ |
2601 | ++ <xsd:sequence> |
2602 | ++ <xsd:element name="service-endpoint-interface" |
2603 | ++ type="j2ee:fully-qualified-classType"> |
2604 | ++ <xsd:annotation> |
2605 | ++ <xsd:documentation> |
2606 | ++ |
2607 | ++ The service-endpoint-interface element defines a fully qualified |
2608 | ++ Java class that represents the Service Endpoint Interface of a |
2609 | ++ WSDL port. |
2610 | ++ |
2611 | ++ </xsd:documentation> |
2612 | ++ </xsd:annotation> |
2613 | ++ </xsd:element> |
2614 | ++ |
2615 | ++ <xsd:element name="port-component-link" |
2616 | ++ type="j2ee:string" |
2617 | ++ minOccurs="0" maxOccurs="1"> |
2618 | ++ <xsd:annotation> |
2619 | ++ <xsd:documentation> |
2620 | ++ |
2621 | ++ The port-component-link element links a port-component-ref |
2622 | ++ to a specific port-component required to be made available |
2623 | ++ by a service reference. |
2624 | ++ |
2625 | ++ The value of a port-component-link must be the |
2626 | ++ port-component-name of a port-component in the same module |
2627 | ++ or another module in the same application unit. The syntax |
2628 | ++ for specification follows the syntax defined for ejb-link |
2629 | ++ in the EJB 2.0 specification. |
2630 | ++ |
2631 | ++ </xsd:documentation> |
2632 | ++ </xsd:annotation> |
2633 | ++ </xsd:element> |
2634 | ++ </xsd:sequence> |
2635 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2636 | ++ </xsd:complexType> |
2637 | ++ |
2638 | ++<!-- **************************************************** --> |
2639 | ++ |
2640 | ++ <xsd:group name="service-refGroup"> |
2641 | ++ <xsd:sequence> |
2642 | ++ <xsd:element name="service-ref" |
2643 | ++ type="j2ee:service-refType" |
2644 | ++ minOccurs="0" maxOccurs="unbounded"> |
2645 | ++ <xsd:key name="service-ref_handler-name-key"> |
2646 | ++ <xsd:annotation> |
2647 | ++ <xsd:documentation> |
2648 | ++ |
2649 | ++ Defines the name of the handler. The name must be unique |
2650 | ++ within the module. |
2651 | ++ |
2652 | ++ </xsd:documentation> |
2653 | ++ </xsd:annotation> |
2654 | ++ <xsd:selector xpath="j2ee:handler"/> |
2655 | ++ <xsd:field xpath="j2ee:handler-name"/> |
2656 | ++ </xsd:key> |
2657 | ++ </xsd:element> |
2658 | ++ </xsd:sequence> |
2659 | ++ </xsd:group> |
2660 | ++ |
2661 | ++<!-- **************************************************** --> |
2662 | ++ |
2663 | ++ <xsd:complexType name="service-refType"> |
2664 | ++ <xsd:annotation> |
2665 | ++ <xsd:documentation> |
2666 | ++ |
2667 | ++ The service-ref element declares a reference to a Web |
2668 | ++ service. It contains optional description, display name and |
2669 | ++ icons, a declaration of the required Service interface, |
2670 | ++ an optional WSDL document location, an optional set |
2671 | ++ of JAX-RPC mappings, an optional QName for the service element, |
2672 | ++ an optional set of Service Endpoint Interfaces to be resolved |
2673 | ++ by the container to a WSDL port, and an optional set of handlers. |
2674 | ++ |
2675 | ++ </xsd:documentation> |
2676 | ++ </xsd:annotation> |
2677 | ++ |
2678 | ++ <xsd:sequence> |
2679 | ++ <xsd:group ref="j2ee:descriptionGroup"/> |
2680 | ++ <xsd:element name="service-ref-name" |
2681 | ++ type="j2ee:jndi-nameType"> |
2682 | ++ <xsd:annotation> |
2683 | ++ <xsd:documentation> |
2684 | ++ |
2685 | ++ The service-ref-name element declares logical name that the |
2686 | ++ components in the module use to look up the Web service. It |
2687 | ++ is recommended that all service reference names start with |
2688 | ++ "service/". |
2689 | ++ |
2690 | ++ </xsd:documentation> |
2691 | ++ </xsd:annotation> |
2692 | ++ </xsd:element> |
2693 | ++ |
2694 | ++ <xsd:element name="service-interface" |
2695 | ++ type="j2ee:fully-qualified-classType"> |
2696 | ++ <xsd:annotation> |
2697 | ++ <xsd:documentation> |
2698 | ++ |
2699 | ++ The service-interface element declares the fully qualified class |
2700 | ++ name of the JAX-RPC Service interface the client depends on. |
2701 | ++ In most cases the value will be javax.xml.rpc.Service. A JAX-RPC |
2702 | ++ generated Service Interface class may also be specified. |
2703 | ++ |
2704 | ++ </xsd:documentation> |
2705 | ++ </xsd:annotation> |
2706 | ++ </xsd:element> |
2707 | ++ |
2708 | ++ <xsd:element name="wsdl-file" |
2709 | ++ type="j2ee:xsdAnyURIType" |
2710 | ++ minOccurs="0" maxOccurs="1"> |
2711 | ++ <xsd:annotation> |
2712 | ++ <xsd:documentation> |
2713 | ++ |
2714 | ++ The wsdl-file element contains the URI location of a WSDL |
2715 | ++ file. The location is relative to the root of the module. |
2716 | ++ |
2717 | ++ </xsd:documentation> |
2718 | ++ </xsd:annotation> |
2719 | ++ </xsd:element> |
2720 | ++ |
2721 | ++ <xsd:element name="jaxrpc-mapping-file" |
2722 | ++ type="j2ee:pathType" |
2723 | ++ minOccurs="0" maxOccurs="1"> |
2724 | ++ <xsd:annotation> |
2725 | ++ <xsd:documentation> |
2726 | ++ |
2727 | ++ The jaxrpc-mapping-file element contains the name of a file that |
2728 | ++ describes the JAX-RPC mapping between the Java interaces used by |
2729 | ++ the application and the WSDL description in the wsdl-file. The |
2730 | ++ file name is a relative path within the module file. |
2731 | ++ |
2732 | ++ </xsd:documentation> |
2733 | ++ </xsd:annotation> |
2734 | ++ </xsd:element> |
2735 | ++ |
2736 | ++ <xsd:element name="service-qname" |
2737 | ++ type="j2ee:xsdQNameType" |
2738 | ++ minOccurs="0" maxOccurs="1"> |
2739 | ++ <xsd:annotation> |
2740 | ++ <xsd:documentation> |
2741 | ++ |
2742 | ++ The service-qname element declares the specific WSDL service |
2743 | ++ element that is being refered to. It is not specified if no |
2744 | ++ wsdl-file is declared. |
2745 | ++ |
2746 | ++ </xsd:documentation> |
2747 | ++ </xsd:annotation> |
2748 | ++ </xsd:element> |
2749 | ++ |
2750 | ++ <xsd:element name="port-component-ref" |
2751 | ++ type="j2ee:port-component-refType" |
2752 | ++ minOccurs="0" maxOccurs="unbounded"> |
2753 | ++ <xsd:annotation> |
2754 | ++ <xsd:documentation> |
2755 | ++ |
2756 | ++ The port-component-ref element declares a client dependency |
2757 | ++ on the container for resolving a Service Endpoint Interface |
2758 | ++ to a WSDL port. It optionally associates the Service Endpoint |
2759 | ++ Interface with a particular port-component. This is only used |
2760 | ++ by the container for a Service.getPort(Class) method call. |
2761 | ++ |
2762 | ++ </xsd:documentation> |
2763 | ++ </xsd:annotation> |
2764 | ++ </xsd:element> |
2765 | ++ |
2766 | ++ <xsd:element name="handler" |
2767 | ++ type="j2ee:service-ref_handlerType" |
2768 | ++ minOccurs="0" maxOccurs="unbounded"> |
2769 | ++ <xsd:annotation> |
2770 | ++ <xsd:documentation> |
2771 | ++ |
2772 | ++ Declares the handler for a port-component. Handlers can |
2773 | ++ access the init-param name/value pairs using the |
2774 | ++ HandlerInfo interface. If port-name is not specified, the |
2775 | ++ handler is assumed to be associated with all ports of the |
2776 | ++ service. |
2777 | ++ |
2778 | ++ </xsd:documentation> |
2779 | ++ </xsd:annotation> |
2780 | ++ </xsd:element> |
2781 | ++ </xsd:sequence> |
2782 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2783 | ++ </xsd:complexType> |
2784 | ++ |
2785 | ++<!-- **************************************************** --> |
2786 | ++ |
2787 | ++ <xsd:complexType name="service-ref_handlerType"> |
2788 | ++ <xsd:annotation> |
2789 | ++ <xsd:documentation> |
2790 | ++ |
2791 | ++ Declares the handler for a port-component. Handlers can access the |
2792 | ++ init-param name/value pairs using the HandlerInfo interface. If |
2793 | ++ port-name is not specified, the handler is assumed to be associated |
2794 | ++ with all ports of the service. |
2795 | ++ |
2796 | ++ Used in: service-ref |
2797 | ++ |
2798 | ++ </xsd:documentation> |
2799 | ++ </xsd:annotation> |
2800 | ++ <xsd:sequence> |
2801 | ++ <xsd:group ref="j2ee:descriptionGroup"/> |
2802 | ++ <xsd:element name="handler-name" |
2803 | ++ type="j2ee:string"> |
2804 | ++ <xsd:annotation> |
2805 | ++ <xsd:documentation> |
2806 | ++ |
2807 | ++ Defines the name of the handler. The name must be unique |
2808 | ++ within the module. |
2809 | ++ |
2810 | ++ </xsd:documentation> |
2811 | ++ </xsd:annotation> |
2812 | ++ </xsd:element> |
2813 | ++ <xsd:element name="handler-class" |
2814 | ++ type="j2ee:fully-qualified-classType"> |
2815 | ++ <xsd:annotation> |
2816 | ++ <xsd:documentation> |
2817 | ++ |
2818 | ++ Defines a fully qualified class name for the handler |
2819 | ++ implementation. |
2820 | ++ |
2821 | ++ </xsd:documentation> |
2822 | ++ </xsd:annotation> |
2823 | ++ </xsd:element> |
2824 | ++ <xsd:element name="init-param" |
2825 | ++ type="j2ee:param-valueType" |
2826 | ++ minOccurs="0" maxOccurs="unbounded"/> |
2827 | ++ |
2828 | ++ <xsd:element name="soap-header" |
2829 | ++ type="j2ee:xsdQNameType" |
2830 | ++ minOccurs="0" maxOccurs="unbounded"> |
2831 | ++ <xsd:annotation> |
2832 | ++ <xsd:documentation> |
2833 | ++ |
2834 | ++ Defines the QName of a SOAP header that will be processed |
2835 | ++ by the handler. |
2836 | ++ |
2837 | ++ </xsd:documentation> |
2838 | ++ </xsd:annotation> |
2839 | ++ </xsd:element> |
2840 | ++ |
2841 | ++ <xsd:element name="soap-role" |
2842 | ++ type="j2ee:string" |
2843 | ++ minOccurs="0" maxOccurs="unbounded"> |
2844 | ++ <xsd:annotation> |
2845 | ++ <xsd:documentation> |
2846 | ++ |
2847 | ++ The soap-role element contains a SOAP actor definition that |
2848 | ++ the Handler will play as a role. |
2849 | ++ |
2850 | ++ </xsd:documentation> |
2851 | ++ </xsd:annotation> |
2852 | ++ </xsd:element> |
2853 | ++ |
2854 | ++ <xsd:element name="port-name" |
2855 | ++ type="j2ee:string" |
2856 | ++ minOccurs="0" maxOccurs="unbounded"> |
2857 | ++ <xsd:annotation> |
2858 | ++ <xsd:documentation> |
2859 | ++ |
2860 | ++ The port-name element defines the WSDL port-name that a |
2861 | ++ handler should be associated with. |
2862 | ++ |
2863 | ++ </xsd:documentation> |
2864 | ++ </xsd:annotation> |
2865 | ++ </xsd:element> |
2866 | ++ </xsd:sequence> |
2867 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
2868 | ++ </xsd:complexType> |
2869 | ++ |
2870 | ++</xsd:schema> |
2871 | ++ |
2872 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/javaee_5.xsd |
2873 | +=================================================================== |
2874 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
2875 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/javaee_5.xsd 2011-08-18 09:36:03.641501467 +0100 |
2876 | +@@ -0,0 +1,2102 @@ |
2877 | ++<?xml version="1.0" encoding="UTF-8"?> |
2878 | ++<xsd:schema |
2879 | ++ targetNamespace="http://java.sun.com/xml/ns/javaee" |
2880 | ++ xmlns:javaee="http://java.sun.com/xml/ns/javaee" |
2881 | ++ xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
2882 | ++ elementFormDefault="qualified" |
2883 | ++ attributeFormDefault="unqualified" |
2884 | ++ version="5"> |
2885 | ++ <xsd:annotation> |
2886 | ++ <xsd:documentation> |
2887 | ++ @(#)javaee_5.xsds 1.65 06/02/17 |
2888 | ++ </xsd:documentation> |
2889 | ++ </xsd:annotation> |
2890 | ++ |
2891 | ++ <xsd:annotation> |
2892 | ++ <xsd:documentation> |
2893 | ++ |
2894 | ++ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2895 | ++ |
2896 | ++ Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved. |
2897 | ++ |
2898 | ++ The contents of this file are subject to the terms of either the |
2899 | ++ GNU General Public License Version 2 only ("GPL") or the Common |
2900 | ++ Development and Distribution License("CDDL") (collectively, the |
2901 | ++ "License"). You may not use this file except in compliance with |
2902 | ++ the License. You can obtain a copy of the License at |
2903 | ++ https://glassfish.dev.java.net/public/CDDL+GPL.html or |
2904 | ++ glassfish/bootstrap/legal/LICENSE.txt. See the License for the |
2905 | ++ specific language governing permissions and limitations under the |
2906 | ++ License. |
2907 | ++ |
2908 | ++ When distributing the software, include this License Header |
2909 | ++ Notice in each file and include the License file at |
2910 | ++ glassfish/bootstrap/legal/LICENSE.txt. Sun designates this |
2911 | ++ particular file as subject to the "Classpath" exception as |
2912 | ++ provided by Sun in the GPL Version 2 section of the License file |
2913 | ++ that accompanied this code. If applicable, add the following |
2914 | ++ below the License Header, with the fields enclosed by brackets [] |
2915 | ++ replaced by your own identifying information: |
2916 | ++ "Portions Copyrighted [year] [name of copyright owner]" |
2917 | ++ |
2918 | ++ Contributor(s): |
2919 | ++ |
2920 | ++ If you wish your version of this file to be governed by only the |
2921 | ++ CDDL or only the GPL Version 2, indicate your decision by adding |
2922 | ++ "[Contributor] elects to include this software in this |
2923 | ++ distribution under the [CDDL or GPL Version 2] license." If you |
2924 | ++ don't indicate a single choice of license, a recipient has the |
2925 | ++ option to distribute your version of this file under either the |
2926 | ++ CDDL, the GPL Version 2 or to extend the choice of license to its |
2927 | ++ licensees as provided above. However, if you add GPL Version 2 |
2928 | ++ code and therefore, elected the GPL Version 2 license, then the |
2929 | ++ option applies only if the new code is made subject to such |
2930 | ++ option by the copyright holder. |
2931 | ++ |
2932 | ++ </xsd:documentation> |
2933 | ++ </xsd:annotation> |
2934 | ++ |
2935 | ++<xsd:annotation> |
2936 | ++<xsd:documentation> |
2937 | ++ |
2938 | ++The following definitions that appear in the common |
2939 | ++shareable schema(s) of J2EE deployment descriptors should be |
2940 | ++interpreted with respect to the context they are included: |
2941 | ++ |
2942 | ++Deployment Component may indicate one of the following: |
2943 | ++ j2ee application; |
2944 | ++ application client; |
2945 | ++ web application; |
2946 | ++ enterprise bean; |
2947 | ++ resource adapter; |
2948 | ++ |
2949 | ++Deployment File may indicate one of the following: |
2950 | ++ ear file; |
2951 | ++ war file; |
2952 | ++ jar file; |
2953 | ++ rar file; |
2954 | ++ |
2955 | ++</xsd:documentation> |
2956 | ++</xsd:annotation> |
2957 | ++ |
2958 | ++ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" |
2959 | ++ schemaLocation="http://www.w3.org/2001/xml.xsd"/> |
2960 | ++ |
2961 | ++ <xsd:include schemaLocation="javaee_web_services_client_1_2.xsd"/> |
2962 | ++ |
2963 | ++ |
2964 | ++<!-- **************************************************** --> |
2965 | ++ |
2966 | ++ <xsd:group name="descriptionGroup"> |
2967 | ++ <xsd:annotation> |
2968 | ++ <xsd:documentation> |
2969 | ++ |
2970 | ++ This group keeps the usage of the contained description related |
2971 | ++ elements consistent across Java EE deployment descriptors. |
2972 | ++ |
2973 | ++ All elements may occur multiple times with different languages, |
2974 | ++ to support localization of the content. |
2975 | ++ |
2976 | ++ </xsd:documentation> |
2977 | ++ </xsd:annotation> |
2978 | ++ <xsd:sequence> |
2979 | ++ <xsd:element name="description" |
2980 | ++ type="javaee:descriptionType" |
2981 | ++ minOccurs="0" |
2982 | ++ maxOccurs="unbounded"/> |
2983 | ++ <xsd:element name="display-name" |
2984 | ++ type="javaee:display-nameType" |
2985 | ++ minOccurs="0" |
2986 | ++ maxOccurs="unbounded"/> |
2987 | ++ <xsd:element name="icon" |
2988 | ++ type="javaee:iconType" |
2989 | ++ minOccurs="0" |
2990 | ++ maxOccurs="unbounded"/> |
2991 | ++ </xsd:sequence> |
2992 | ++ </xsd:group> |
2993 | ++ |
2994 | ++<!-- **************************************************** --> |
2995 | ++ |
2996 | ++ <xsd:complexType name="descriptionType"> |
2997 | ++ <xsd:annotation> |
2998 | ++ <xsd:documentation> |
2999 | ++ |
3000 | ++ The description type is used by a description element to |
3001 | ++ provide text describing the parent element. The elements |
3002 | ++ that use this type should include any information that the |
3003 | ++ Deployment Component's Deployment File file producer wants |
3004 | ++ to provide to the consumer of the Deployment Component's |
3005 | ++ Deployment File (i.e., to the Deployer). Typically, the |
3006 | ++ tools used by such a Deployment File consumer will display |
3007 | ++ the description when processing the parent element that |
3008 | ++ contains the description. |
3009 | ++ |
3010 | ++ The lang attribute defines the language that the |
3011 | ++ description is provided in. The default value is "en" (English). |
3012 | ++ |
3013 | ++ </xsd:documentation> |
3014 | ++ </xsd:annotation> |
3015 | ++ <xsd:simpleContent> |
3016 | ++ <xsd:extension base="javaee:xsdStringType"> |
3017 | ++ <xsd:attribute ref="xml:lang"/> |
3018 | ++ </xsd:extension> |
3019 | ++ </xsd:simpleContent> |
3020 | ++ </xsd:complexType> |
3021 | ++ |
3022 | ++<!-- **************************************************** --> |
3023 | ++ |
3024 | ++ <xsd:simpleType name="dewey-versionType"> |
3025 | ++ <xsd:annotation> |
3026 | ++ <xsd:documentation> |
3027 | ++ |
3028 | ++ This type defines a dewey decimal that is used |
3029 | ++ to describe versions of documents. |
3030 | ++ |
3031 | ++ </xsd:documentation> |
3032 | ++ </xsd:annotation> |
3033 | ++ |
3034 | ++ <xsd:restriction base="xsd:token"> |
3035 | ++ <xsd:pattern value="\.?[0-9]+(\.[0-9]+)*"/> |
3036 | ++ </xsd:restriction> |
3037 | ++ </xsd:simpleType> |
3038 | ++ |
3039 | ++<!-- **************************************************** --> |
3040 | ++ |
3041 | ++ <xsd:complexType name="display-nameType"> |
3042 | ++ <xsd:annotation> |
3043 | ++ <xsd:documentation> |
3044 | ++ <![CDATA[ |
3045 | ++ |
3046 | ++ The display-name type contains a short name that is intended |
3047 | ++ to be displayed by tools. It is used by display-name |
3048 | ++ elements. The display name need not be unique. |
3049 | ++ |
3050 | ++ Example: |
3051 | ++ |
3052 | ++ ... |
3053 | ++ <display-name xml:lang="en"> |
3054 | ++ Employee Self Service |
3055 | ++ </display-name> |
3056 | ++ |
3057 | ++ The value of the xml:lang attribute is "en" (English) by default. |
3058 | ++ |
3059 | ++ ]]> |
3060 | ++ </xsd:documentation> |
3061 | ++ </xsd:annotation> |
3062 | ++ <xsd:simpleContent> |
3063 | ++ <xsd:extension base="javaee:string"> |
3064 | ++ <xsd:attribute ref="xml:lang"/> |
3065 | ++ </xsd:extension> |
3066 | ++ </xsd:simpleContent> |
3067 | ++ </xsd:complexType> |
3068 | ++ |
3069 | ++<!-- **************************************************** --> |
3070 | ++ |
3071 | ++ <xsd:complexType name="ejb-linkType"> |
3072 | ++ <xsd:annotation> |
3073 | ++ <xsd:documentation> |
3074 | ++ <![CDATA[ |
3075 | ++ |
3076 | ++ The ejb-linkType is used by ejb-link |
3077 | ++ elements in the ejb-ref or ejb-local-ref elements to specify |
3078 | ++ that an EJB reference is linked to enterprise bean. |
3079 | ++ |
3080 | ++ The value of the ejb-link element must be the ejb-name of an |
3081 | ++ enterprise bean in the same ejb-jar file or in another ejb-jar |
3082 | ++ file in the same Java EE application unit. |
3083 | ++ |
3084 | ++ Alternatively, the name in the ejb-link element may be |
3085 | ++ composed of a path name specifying the ejb-jar containing the |
3086 | ++ referenced enterprise bean with the ejb-name of the target |
3087 | ++ bean appended and separated from the path name by "#". The |
3088 | ++ path name is relative to the Deployment File containing |
3089 | ++ Deployment Component that is referencing the enterprise |
3090 | ++ bean. This allows multiple enterprise beans with the same |
3091 | ++ ejb-name to be uniquely identified. |
3092 | ++ |
3093 | ++ Examples: |
3094 | ++ |
3095 | ++ <ejb-link>EmployeeRecord</ejb-link> |
3096 | ++ |
3097 | ++ <ejb-link>../products/product.jar#ProductEJB</ejb-link> |
3098 | ++ |
3099 | ++ ]]> |
3100 | ++ </xsd:documentation> |
3101 | ++ </xsd:annotation> |
3102 | ++ <xsd:simpleContent> |
3103 | ++ <xsd:restriction base="javaee:string"/> |
3104 | ++ </xsd:simpleContent> |
3105 | ++ </xsd:complexType> |
3106 | ++ |
3107 | ++<!-- **************************************************** --> |
3108 | ++ |
3109 | ++ <xsd:complexType name="ejb-local-refType"> |
3110 | ++ <xsd:annotation> |
3111 | ++ <xsd:documentation> |
3112 | ++ |
3113 | ++ The ejb-local-refType is used by ejb-local-ref elements for |
3114 | ++ the declaration of a reference to an enterprise bean's local |
3115 | ++ home or to the local business interface of a 3.0 bean. |
3116 | ++ The declaration consists of: |
3117 | ++ |
3118 | ++ - an optional description |
3119 | ++ - the EJB reference name used in the code of the Deployment |
3120 | ++ Component that's referencing the enterprise bean. |
3121 | ++ - the optional expected type of the referenced enterprise bean |
3122 | ++ - the optional expected local interface of the referenced |
3123 | ++ enterprise bean or the local business interface of the |
3124 | ++ referenced enterprise bean. |
3125 | ++ - the optional expected local home interface of the referenced |
3126 | ++ enterprise bean. Not applicable if this ejb-local-ref refers |
3127 | ++ to the local business interface of a 3.0 bean. |
3128 | ++ - optional ejb-link information, used to specify the |
3129 | ++ referenced enterprise bean |
3130 | ++ - optional elements to define injection of the named enterprise |
3131 | ++ bean into a component field or property. |
3132 | ++ |
3133 | ++ </xsd:documentation> |
3134 | ++ </xsd:annotation> |
3135 | ++ |
3136 | ++ <xsd:sequence> |
3137 | ++ <xsd:element name="description" |
3138 | ++ type="javaee:descriptionType" |
3139 | ++ minOccurs="0" |
3140 | ++ maxOccurs="unbounded"/> |
3141 | ++ <xsd:element name="ejb-ref-name" |
3142 | ++ type="javaee:ejb-ref-nameType"/> |
3143 | ++ <xsd:element name="ejb-ref-type" |
3144 | ++ type="javaee:ejb-ref-typeType" |
3145 | ++ minOccurs="0"/> |
3146 | ++ <xsd:element name="local-home" |
3147 | ++ type="javaee:local-homeType" |
3148 | ++ minOccurs="0"/> |
3149 | ++ <xsd:element name="local" |
3150 | ++ type="javaee:localType" |
3151 | ++ minOccurs="0"/> |
3152 | ++ <xsd:element name="ejb-link" |
3153 | ++ type="javaee:ejb-linkType" |
3154 | ++ minOccurs="0"/> |
3155 | ++ <xsd:group ref="javaee:resourceGroup"/> |
3156 | ++ </xsd:sequence> |
3157 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3158 | ++ </xsd:complexType> |
3159 | ++ |
3160 | ++<!-- **************************************************** --> |
3161 | ++ |
3162 | ++ <xsd:complexType name="ejb-ref-nameType"> |
3163 | ++ <xsd:annotation> |
3164 | ++ <xsd:documentation> |
3165 | ++ <![CDATA[ |
3166 | ++ |
3167 | ++ The ejb-ref-name element contains the name of an EJB |
3168 | ++ reference. The EJB reference is an entry in the |
3169 | ++ Deployment Component's environment and is relative to the |
3170 | ++ java:comp/env context. The name must be unique within the |
3171 | ++ Deployment Component. |
3172 | ++ |
3173 | ++ It is recommended that name is prefixed with "ejb/". |
3174 | ++ |
3175 | ++ Example: |
3176 | ++ |
3177 | ++ <ejb-ref-name>ejb/Payroll</ejb-ref-name> |
3178 | ++ |
3179 | ++ ]]> |
3180 | ++ </xsd:documentation> |
3181 | ++ </xsd:annotation> |
3182 | ++ <xsd:simpleContent> |
3183 | ++ <xsd:restriction base="javaee:jndi-nameType"/> |
3184 | ++ </xsd:simpleContent> |
3185 | ++ </xsd:complexType> |
3186 | ++ |
3187 | ++<!-- **************************************************** --> |
3188 | ++ |
3189 | ++ <xsd:complexType name="ejb-ref-typeType"> |
3190 | ++ <xsd:annotation> |
3191 | ++ <xsd:documentation> |
3192 | ++ |
3193 | ++ The ejb-ref-typeType contains the expected type of the |
3194 | ++ referenced enterprise bean. |
3195 | ++ |
3196 | ++ The ejb-ref-type designates a value |
3197 | ++ that must be one of the following: |
3198 | ++ |
3199 | ++ Entity |
3200 | ++ Session |
3201 | ++ |
3202 | ++ </xsd:documentation> |
3203 | ++ </xsd:annotation> |
3204 | ++ <xsd:simpleContent> |
3205 | ++ <xsd:restriction base="javaee:string"> |
3206 | ++ <xsd:enumeration value="Entity"/> |
3207 | ++ <xsd:enumeration value="Session"/> |
3208 | ++ </xsd:restriction> |
3209 | ++ </xsd:simpleContent> |
3210 | ++ </xsd:complexType> |
3211 | ++ |
3212 | ++<!-- **************************************************** --> |
3213 | ++ |
3214 | ++ <xsd:complexType name="ejb-refType"> |
3215 | ++ <xsd:annotation> |
3216 | ++ <xsd:documentation> |
3217 | ++ |
3218 | ++ The ejb-refType is used by ejb-ref elements for the |
3219 | ++ declaration of a reference to an enterprise bean's home or |
3220 | ++ to the remote business interface of a 3.0 bean. |
3221 | ++ The declaration consists of: |
3222 | ++ |
3223 | ++ - an optional description |
3224 | ++ - the EJB reference name used in the code of |
3225 | ++ the Deployment Component that's referencing the enterprise |
3226 | ++ bean. |
3227 | ++ - the optional expected type of the referenced enterprise bean |
3228 | ++ - the optional remote interface of the referenced enterprise bean |
3229 | ++ or the remote business interface of the referenced enterprise |
3230 | ++ bean |
3231 | ++ - the optional expected home interface of the referenced |
3232 | ++ enterprise bean. Not applicable if this ejb-ref |
3233 | ++ refers to the remote business interface of a 3.0 bean. |
3234 | ++ - optional ejb-link information, used to specify the |
3235 | ++ referenced enterprise bean |
3236 | ++ - optional elements to define injection of the named enterprise |
3237 | ++ bean into a component field or property |
3238 | ++ |
3239 | ++ </xsd:documentation> |
3240 | ++ </xsd:annotation> |
3241 | ++ |
3242 | ++ <xsd:sequence> |
3243 | ++ <xsd:element name="description" |
3244 | ++ type="javaee:descriptionType" |
3245 | ++ minOccurs="0" |
3246 | ++ maxOccurs="unbounded"/> |
3247 | ++ <xsd:element name="ejb-ref-name" |
3248 | ++ type="javaee:ejb-ref-nameType"/> |
3249 | ++ <xsd:element name="ejb-ref-type" |
3250 | ++ type="javaee:ejb-ref-typeType" |
3251 | ++ minOccurs="0"/> |
3252 | ++ <xsd:element name="home" |
3253 | ++ type="javaee:homeType" |
3254 | ++ minOccurs="0"/> |
3255 | ++ <xsd:element name="remote" |
3256 | ++ type="javaee:remoteType" |
3257 | ++ minOccurs="0"/> |
3258 | ++ <xsd:element name="ejb-link" |
3259 | ++ type="javaee:ejb-linkType" |
3260 | ++ minOccurs="0"/> |
3261 | ++ <xsd:group ref="javaee:resourceGroup"/> |
3262 | ++ </xsd:sequence> |
3263 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3264 | ++ </xsd:complexType> |
3265 | ++ |
3266 | ++<!-- **************************************************** --> |
3267 | ++ |
3268 | ++ <xsd:complexType name="emptyType"> |
3269 | ++ <xsd:annotation> |
3270 | ++ <xsd:documentation> |
3271 | ++ |
3272 | ++ This type is used to designate an empty |
3273 | ++ element when used. |
3274 | ++ |
3275 | ++ </xsd:documentation> |
3276 | ++ </xsd:annotation> |
3277 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3278 | ++ </xsd:complexType> |
3279 | ++ |
3280 | ++<!-- **************************************************** --> |
3281 | ++ |
3282 | ++ <xsd:complexType name="env-entry-type-valuesType"> |
3283 | ++ <xsd:annotation> |
3284 | ++ <xsd:documentation> |
3285 | ++ <![CDATA[ |
3286 | ++ |
3287 | ++ This type contains the fully-qualified Java type of the |
3288 | ++ environment entry value that is expected by the |
3289 | ++ application's code. |
3290 | ++ |
3291 | ++ The following are the legal values of env-entry-type-valuesType: |
3292 | ++ |
3293 | ++ java.lang.Boolean |
3294 | ++ java.lang.Byte |
3295 | ++ java.lang.Character |
3296 | ++ java.lang.String |
3297 | ++ java.lang.Short |
3298 | ++ java.lang.Integer |
3299 | ++ java.lang.Long |
3300 | ++ java.lang.Float |
3301 | ++ java.lang.Double |
3302 | ++ |
3303 | ++ Example: |
3304 | ++ |
3305 | ++ <env-entry-type>java.lang.Boolean</env-entry-type> |
3306 | ++ |
3307 | ++ ]]> |
3308 | ++ </xsd:documentation> |
3309 | ++ </xsd:annotation> |
3310 | ++ <xsd:simpleContent> |
3311 | ++ <xsd:restriction base="javaee:string"> |
3312 | ++ <xsd:enumeration value="java.lang.Boolean"/> |
3313 | ++ <xsd:enumeration value="java.lang.Byte"/> |
3314 | ++ <xsd:enumeration value="java.lang.Character"/> |
3315 | ++ <xsd:enumeration value="java.lang.String"/> |
3316 | ++ <xsd:enumeration value="java.lang.Short"/> |
3317 | ++ <xsd:enumeration value="java.lang.Integer"/> |
3318 | ++ <xsd:enumeration value="java.lang.Long"/> |
3319 | ++ <xsd:enumeration value="java.lang.Float"/> |
3320 | ++ <xsd:enumeration value="java.lang.Double"/> |
3321 | ++ </xsd:restriction> |
3322 | ++ </xsd:simpleContent> |
3323 | ++ </xsd:complexType> |
3324 | ++ |
3325 | ++<!-- **************************************************** --> |
3326 | ++ |
3327 | ++ <xsd:complexType name="env-entryType"> |
3328 | ++ <xsd:annotation> |
3329 | ++ <xsd:documentation> |
3330 | ++ |
3331 | ++ The env-entryType is used to declare an application's |
3332 | ++ environment entry. The declaration consists of an optional |
3333 | ++ description, the name of the environment entry, a type |
3334 | ++ (optional if the value is injected, otherwise required), and |
3335 | ++ an optional value. |
3336 | ++ |
3337 | ++ It also includes optional elements to define injection of |
3338 | ++ the named resource into fields or JavaBeans properties. |
3339 | ++ |
3340 | ++ If a value is not specified and injection is requested, |
3341 | ++ no injection will occur and no entry of the specified name |
3342 | ++ will be created. This allows an initial value to be |
3343 | ++ specified in the source code without being incorrectly |
3344 | ++ changed when no override has been specified. |
3345 | ++ |
3346 | ++ If a value is not specified and no injection is requested, |
3347 | ++ a value must be supplied during deployment. |
3348 | ++ |
3349 | ++ This type is used by env-entry elements. |
3350 | ++ |
3351 | ++ </xsd:documentation> |
3352 | ++ </xsd:annotation> |
3353 | ++ |
3354 | ++ <xsd:sequence> |
3355 | ++ <xsd:element name="description" |
3356 | ++ type="javaee:descriptionType" |
3357 | ++ minOccurs="0" |
3358 | ++ maxOccurs="unbounded"/> |
3359 | ++ <xsd:element name="env-entry-name" |
3360 | ++ type="javaee:jndi-nameType"> |
3361 | ++ <xsd:annotation> |
3362 | ++ <xsd:documentation> |
3363 | ++ <![CDATA[ |
3364 | ++ |
3365 | ++ The env-entry-name element contains the name of a |
3366 | ++ Deployment Component's environment entry. The name |
3367 | ++ is a JNDI name relative to the java:comp/env |
3368 | ++ context. The name must be unique within a |
3369 | ++ Deployment Component. The uniqueness |
3370 | ++ constraints must be defined within the declared |
3371 | ++ context. |
3372 | ++ |
3373 | ++ Example: |
3374 | ++ |
3375 | ++ <env-entry-name>minAmount</env-entry-name> |
3376 | ++ |
3377 | ++ ]]> |
3378 | ++ </xsd:documentation> |
3379 | ++ </xsd:annotation> |
3380 | ++ </xsd:element> |
3381 | ++ |
3382 | ++ <xsd:element name="env-entry-type" |
3383 | ++ type="javaee:env-entry-type-valuesType" |
3384 | ++ minOccurs="0"> |
3385 | ++ <xsd:annotation> |
3386 | ++ <xsd:documentation> |
3387 | ++ <![CDATA[ |
3388 | ++ |
3389 | ++ The env-entry-type element contains the Java language |
3390 | ++ type of the environment entry. If an injection target |
3391 | ++ is specified for the environment entry, the type may |
3392 | ++ be omitted, or must match the type of the injection |
3393 | ++ target. If no injection target is specified, the type |
3394 | ++ is required. |
3395 | ++ |
3396 | ++ Example: |
3397 | ++ |
3398 | ++ <env-entry-type>java.lang.Integer</env-entry-type> |
3399 | ++ |
3400 | ++ ]]> |
3401 | ++ </xsd:documentation> |
3402 | ++ </xsd:annotation> |
3403 | ++ </xsd:element> |
3404 | ++ |
3405 | ++ <xsd:element name="env-entry-value" |
3406 | ++ type="javaee:xsdStringType" |
3407 | ++ minOccurs="0"> |
3408 | ++ <xsd:annotation> |
3409 | ++ <xsd:documentation> |
3410 | ++ <![CDATA[ |
3411 | ++ |
3412 | ++ The env-entry-value designates the value of a |
3413 | ++ Deployment Component's environment entry. The value |
3414 | ++ must be a String that is valid for the |
3415 | ++ constructor of the specified type that takes a |
3416 | ++ single String parameter, or for java.lang.Character, |
3417 | ++ a single character. |
3418 | ++ |
3419 | ++ Example: |
3420 | ++ |
3421 | ++ <env-entry-value>100.00</env-entry-value> |
3422 | ++ |
3423 | ++ ]]> |
3424 | ++ </xsd:documentation> |
3425 | ++ </xsd:annotation> |
3426 | ++ </xsd:element> |
3427 | ++ |
3428 | ++ <xsd:group ref="javaee:resourceGroup"/> |
3429 | ++ |
3430 | ++ </xsd:sequence> |
3431 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3432 | ++ </xsd:complexType> |
3433 | ++ |
3434 | ++<!-- **************************************************** --> |
3435 | ++ |
3436 | ++ <xsd:complexType name="fully-qualified-classType"> |
3437 | ++ <xsd:annotation> |
3438 | ++ <xsd:documentation> |
3439 | ++ |
3440 | ++ The elements that use this type designate the name of a |
3441 | ++ Java class or interface. The name is in the form of a |
3442 | ++ "binary name", as defined in the JLS. This is the form |
3443 | ++ of name used in Class.forName(). Tools that need the |
3444 | ++ canonical name (the name used in source code) will need |
3445 | ++ to convert this binary name to the canonical name. |
3446 | ++ |
3447 | ++ </xsd:documentation> |
3448 | ++ </xsd:annotation> |
3449 | ++ <xsd:simpleContent> |
3450 | ++ <xsd:restriction base="javaee:string"/> |
3451 | ++ </xsd:simpleContent> |
3452 | ++ </xsd:complexType> |
3453 | ++ |
3454 | ++<!-- **************************************************** --> |
3455 | ++ |
3456 | ++ <xsd:complexType name="generic-booleanType"> |
3457 | ++ <xsd:annotation> |
3458 | ++ <xsd:documentation> |
3459 | ++ |
3460 | ++ This type defines four different values which can designate |
3461 | ++ boolean values. This includes values yes and no which are |
3462 | ++ not designated by xsd:boolean |
3463 | ++ |
3464 | ++ </xsd:documentation> |
3465 | ++ </xsd:annotation> |
3466 | ++ <xsd:simpleContent> |
3467 | ++ <xsd:restriction base="javaee:string"> |
3468 | ++ <xsd:enumeration value="true"/> |
3469 | ++ <xsd:enumeration value="false"/> |
3470 | ++ <xsd:enumeration value="yes"/> |
3471 | ++ <xsd:enumeration value="no"/> |
3472 | ++ </xsd:restriction> |
3473 | ++ </xsd:simpleContent> |
3474 | ++ </xsd:complexType> |
3475 | ++ |
3476 | ++<!-- **************************************************** --> |
3477 | ++ |
3478 | ++ <xsd:complexType name="homeType"> |
3479 | ++ <xsd:annotation> |
3480 | ++ <xsd:documentation> |
3481 | ++ <![CDATA[ |
3482 | ++ |
3483 | ++ The homeType defines the fully-qualified name of |
3484 | ++ an enterprise bean's home interface. |
3485 | ++ |
3486 | ++ Example: |
3487 | ++ |
3488 | ++ <home>com.aardvark.payroll.PayrollHome</home> |
3489 | ++ |
3490 | ++ ]]> |
3491 | ++ </xsd:documentation> |
3492 | ++ </xsd:annotation> |
3493 | ++ <xsd:simpleContent> |
3494 | ++ <xsd:restriction base="javaee:fully-qualified-classType"/> |
3495 | ++ </xsd:simpleContent> |
3496 | ++ </xsd:complexType> |
3497 | ++ |
3498 | ++<!-- **************************************************** --> |
3499 | ++ |
3500 | ++ <xsd:complexType name="iconType"> |
3501 | ++ <xsd:annotation> |
3502 | ++ <xsd:documentation> |
3503 | ++ |
3504 | ++ The icon type contains small-icon and large-icon elements |
3505 | ++ that specify the file names for small and large GIF, JPEG, |
3506 | ++ or PNG icon images used to represent the parent element in a |
3507 | ++ GUI tool. |
3508 | ++ |
3509 | ++ The xml:lang attribute defines the language that the |
3510 | ++ icon file names are provided in. Its value is "en" (English) |
3511 | ++ by default. |
3512 | ++ |
3513 | ++ </xsd:documentation> |
3514 | ++ </xsd:annotation> |
3515 | ++ |
3516 | ++ <xsd:sequence> |
3517 | ++ <xsd:element name="small-icon" type="javaee:pathType" |
3518 | ++ minOccurs="0"> |
3519 | ++ <xsd:annotation> |
3520 | ++ <xsd:documentation> |
3521 | ++ <![CDATA[ |
3522 | ++ |
3523 | ++ The small-icon element contains the name of a file |
3524 | ++ containing a small (16 x 16) icon image. The file |
3525 | ++ name is a relative path within the Deployment |
3526 | ++ Component's Deployment File. |
3527 | ++ |
3528 | ++ The image may be in the GIF, JPEG, or PNG format. |
3529 | ++ The icon can be used by tools. |
3530 | ++ |
3531 | ++ Example: |
3532 | ++ |
3533 | ++ <small-icon>employee-service-icon16x16.jpg</small-icon> |
3534 | ++ |
3535 | ++ ]]> |
3536 | ++ </xsd:documentation> |
3537 | ++ </xsd:annotation> |
3538 | ++ </xsd:element> |
3539 | ++ <xsd:element name="large-icon" type="javaee:pathType" |
3540 | ++ minOccurs="0"> |
3541 | ++ <xsd:annotation> |
3542 | ++ <xsd:documentation> |
3543 | ++ <![CDATA[ |
3544 | ++ |
3545 | ++ The large-icon element contains the name of a file |
3546 | ++ containing a large |
3547 | ++ (32 x 32) icon image. The file name is a relative |
3548 | ++ path within the Deployment Component's Deployment |
3549 | ++ File. |
3550 | ++ |
3551 | ++ The image may be in the GIF, JPEG, or PNG format. |
3552 | ++ The icon can be used by tools. |
3553 | ++ |
3554 | ++ Example: |
3555 | ++ |
3556 | ++ <large-icon>employee-service-icon32x32.jpg</large-icon> |
3557 | ++ |
3558 | ++ ]]> |
3559 | ++ </xsd:documentation> |
3560 | ++ </xsd:annotation> |
3561 | ++ </xsd:element> |
3562 | ++ |
3563 | ++ </xsd:sequence> |
3564 | ++ |
3565 | ++ <xsd:attribute ref="xml:lang"/> |
3566 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3567 | ++ |
3568 | ++ </xsd:complexType> |
3569 | ++ |
3570 | ++<!-- **************************************************** --> |
3571 | ++ |
3572 | ++ <xsd:complexType name="injection-targetType"> |
3573 | ++ <xsd:annotation> |
3574 | ++ <xsd:documentation> |
3575 | ++ |
3576 | ++ An injection target specifies a class and a name within |
3577 | ++ that class into which a resource should be injected. |
3578 | ++ |
3579 | ++ The injection target class specifies the fully qualified |
3580 | ++ class name that is the target of the injection. The |
3581 | ++ Java EE specifications describe which classes can be an |
3582 | ++ injection target. |
3583 | ++ |
3584 | ++ The injection target name specifies the target within |
3585 | ++ the specified class. The target is first looked for as a |
3586 | ++ JavaBeans property name. If not found, the target is |
3587 | ++ looked for as a field name. |
3588 | ++ |
3589 | ++ The specified resource will be injected into the target |
3590 | ++ during initialization of the class by either calling the |
3591 | ++ set method for the target property or by setting a value |
3592 | ++ into the named field. |
3593 | ++ |
3594 | ++ </xsd:documentation> |
3595 | ++ </xsd:annotation> |
3596 | ++ <xsd:sequence> |
3597 | ++ <xsd:element name="injection-target-class" |
3598 | ++ type="javaee:fully-qualified-classType"/> |
3599 | ++ <xsd:element name="injection-target-name" |
3600 | ++ type="javaee:java-identifierType"/> |
3601 | ++ </xsd:sequence> |
3602 | ++ </xsd:complexType> |
3603 | ++ |
3604 | ++<!-- **************************************************** --> |
3605 | ++ |
3606 | ++ <xsd:complexType name="java-identifierType"> |
3607 | ++ <xsd:annotation> |
3608 | ++ <xsd:documentation> |
3609 | ++ |
3610 | ++ The java-identifierType defines a Java identifier. |
3611 | ++ The users of this type should further verify that |
3612 | ++ the content does not contain Java reserved keywords. |
3613 | ++ |
3614 | ++ </xsd:documentation> |
3615 | ++ </xsd:annotation> |
3616 | ++ <xsd:simpleContent> |
3617 | ++ <xsd:restriction base="javaee:string"> |
3618 | ++ <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/> |
3619 | ++ </xsd:restriction> |
3620 | ++ </xsd:simpleContent> |
3621 | ++ </xsd:complexType> |
3622 | ++ |
3623 | ++<!-- **************************************************** --> |
3624 | ++ |
3625 | ++ <xsd:complexType name="java-typeType"> |
3626 | ++ <xsd:annotation> |
3627 | ++ <xsd:documentation> |
3628 | ++ |
3629 | ++ This is a generic type that designates a Java primitive |
3630 | ++ type or a fully qualified name of a Java interface/type, |
3631 | ++ or an array of such types. |
3632 | ++ |
3633 | ++ </xsd:documentation> |
3634 | ++ </xsd:annotation> |
3635 | ++ <xsd:simpleContent> |
3636 | ++ <xsd:restriction base="javaee:string"> |
3637 | ++ <xsd:pattern value="[^\p{Z}]*"/> |
3638 | ++ </xsd:restriction> |
3639 | ++ </xsd:simpleContent> |
3640 | ++ </xsd:complexType> |
3641 | ++ |
3642 | ++<!-- **************************************************** --> |
3643 | ++ |
3644 | ++ <xsd:complexType name="jndi-nameType"> |
3645 | ++ <xsd:annotation> |
3646 | ++ <xsd:documentation> |
3647 | ++ |
3648 | ++ The jndi-nameType type designates a JNDI name in the |
3649 | ++ Deployment Component's environment and is relative to the |
3650 | ++ java:comp/env context. A JNDI name must be unique within the |
3651 | ++ Deployment Component. |
3652 | ++ |
3653 | ++ </xsd:documentation> |
3654 | ++ </xsd:annotation> |
3655 | ++ <xsd:simpleContent> |
3656 | ++ <xsd:restriction base="javaee:string"/> |
3657 | ++ </xsd:simpleContent> |
3658 | ++ </xsd:complexType> |
3659 | ++ |
3660 | ++<!-- **************************************************** --> |
3661 | ++ |
3662 | ++ <xsd:group name="jndiEnvironmentRefsGroup"> |
3663 | ++ <xsd:annotation> |
3664 | ++ <xsd:documentation> |
3665 | ++ |
3666 | ++ This group keeps the usage of the contained JNDI environment |
3667 | ++ reference elements consistent across Java EE deployment descriptors. |
3668 | ++ |
3669 | ++ </xsd:documentation> |
3670 | ++ </xsd:annotation> |
3671 | ++ <xsd:sequence> |
3672 | ++ <xsd:element name="env-entry" |
3673 | ++ type="javaee:env-entryType" |
3674 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3675 | ++ <xsd:element name="ejb-ref" |
3676 | ++ type="javaee:ejb-refType" |
3677 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3678 | ++ <xsd:element name="ejb-local-ref" |
3679 | ++ type="javaee:ejb-local-refType" |
3680 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3681 | ++ <xsd:group ref="javaee:service-refGroup"/> |
3682 | ++ <xsd:element name="resource-ref" |
3683 | ++ type="javaee:resource-refType" |
3684 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3685 | ++ <xsd:element name="resource-env-ref" |
3686 | ++ type="javaee:resource-env-refType" |
3687 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3688 | ++ <xsd:element name="message-destination-ref" |
3689 | ++ type="javaee:message-destination-refType" |
3690 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3691 | ++ <xsd:element name="persistence-context-ref" |
3692 | ++ type="javaee:persistence-context-refType" |
3693 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3694 | ++ <xsd:element name="persistence-unit-ref" |
3695 | ++ type="javaee:persistence-unit-refType" |
3696 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3697 | ++ <xsd:element name="post-construct" |
3698 | ++ type="javaee:lifecycle-callbackType" |
3699 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3700 | ++ <xsd:element name="pre-destroy" |
3701 | ++ type="javaee:lifecycle-callbackType" |
3702 | ++ minOccurs="0" maxOccurs="unbounded"/> |
3703 | ++ </xsd:sequence> |
3704 | ++ </xsd:group> |
3705 | ++ |
3706 | ++<!-- **************************************************** --> |
3707 | ++ |
3708 | ++ <xsd:complexType name="lifecycle-callbackType"> |
3709 | ++ <xsd:annotation> |
3710 | ++ <xsd:documentation> |
3711 | ++ |
3712 | ++ The lifecycle-callback type specifies a method on a |
3713 | ++ class to be called when a lifecycle event occurs. |
3714 | ++ Note that each class may have only one lifecycle callback |
3715 | ++ method for any given event and that the method may not |
3716 | ++ be overloaded. |
3717 | ++ |
3718 | ++ If the lifefycle-callback-class element is missing then |
3719 | ++ the class defining the callback is assumed to be the |
3720 | ++ component class in scope at the place in the descriptor |
3721 | ++ in which the callback definition appears. |
3722 | ++ |
3723 | ++ </xsd:documentation> |
3724 | ++ </xsd:annotation> |
3725 | ++ <xsd:sequence> |
3726 | ++ <xsd:element name="lifecycle-callback-class" |
3727 | ++ type="javaee:fully-qualified-classType" |
3728 | ++ minOccurs="0"/> |
3729 | ++ <xsd:element name="lifecycle-callback-method" |
3730 | ++ type="javaee:java-identifierType"/> |
3731 | ++ </xsd:sequence> |
3732 | ++ </xsd:complexType> |
3733 | ++ |
3734 | ++<!-- **************************************************** --> |
3735 | ++ |
3736 | ++ <xsd:complexType name="listenerType"> |
3737 | ++ <xsd:annotation> |
3738 | ++ <xsd:documentation> |
3739 | ++ |
3740 | ++ The listenerType indicates the deployment properties for a web |
3741 | ++ application listener bean. |
3742 | ++ |
3743 | ++ </xsd:documentation> |
3744 | ++ </xsd:annotation> |
3745 | ++ |
3746 | ++ <xsd:sequence> |
3747 | ++ <xsd:group ref="javaee:descriptionGroup"/> |
3748 | ++ <xsd:element name="listener-class" |
3749 | ++ type="javaee:fully-qualified-classType"> |
3750 | ++ <xsd:annotation> |
3751 | ++ <xsd:documentation> |
3752 | ++ |
3753 | ++ The listener-class element declares a class in the |
3754 | ++ application must be registered as a web |
3755 | ++ application listener bean. The value is the fully |
3756 | ++ qualified classname of the listener class. |
3757 | ++ |
3758 | ++ </xsd:documentation> |
3759 | ++ </xsd:annotation> |
3760 | ++ </xsd:element> |
3761 | ++ </xsd:sequence> |
3762 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3763 | ++ </xsd:complexType> |
3764 | ++ |
3765 | ++<!-- **************************************************** --> |
3766 | ++ |
3767 | ++ <xsd:complexType name="local-homeType"> |
3768 | ++ <xsd:annotation> |
3769 | ++ <xsd:documentation> |
3770 | ++ |
3771 | ++ The local-homeType defines the fully-qualified |
3772 | ++ name of an enterprise bean's local home interface. |
3773 | ++ |
3774 | ++ </xsd:documentation> |
3775 | ++ </xsd:annotation> |
3776 | ++ <xsd:simpleContent> |
3777 | ++ <xsd:restriction base="javaee:fully-qualified-classType"/> |
3778 | ++ </xsd:simpleContent> |
3779 | ++ </xsd:complexType> |
3780 | ++ |
3781 | ++<!-- **************************************************** --> |
3782 | ++ |
3783 | ++ <xsd:complexType name="localType"> |
3784 | ++ <xsd:annotation> |
3785 | ++ <xsd:documentation> |
3786 | ++ |
3787 | ++ The localType defines the fully-qualified name of an |
3788 | ++ enterprise bean's local interface. |
3789 | ++ |
3790 | ++ </xsd:documentation> |
3791 | ++ </xsd:annotation> |
3792 | ++ <xsd:simpleContent> |
3793 | ++ <xsd:restriction base="javaee:fully-qualified-classType"/> |
3794 | ++ </xsd:simpleContent> |
3795 | ++ </xsd:complexType> |
3796 | ++ |
3797 | ++<!-- **************************************************** --> |
3798 | ++ |
3799 | ++ <xsd:complexType name="message-destination-linkType"> |
3800 | ++ <xsd:annotation> |
3801 | ++ <xsd:documentation> |
3802 | ++ |
3803 | ++ The message-destination-linkType is used to link a message |
3804 | ++ destination reference or message-driven bean to a message |
3805 | ++ destination. |
3806 | ++ |
3807 | ++ The Assembler sets the value to reflect the flow of messages |
3808 | ++ between producers and consumers in the application. |
3809 | ++ |
3810 | ++ The value must be the message-destination-name of a message |
3811 | ++ destination in the same Deployment File or in another |
3812 | ++ Deployment File in the same Java EE application unit. |
3813 | ++ |
3814 | ++ Alternatively, the value may be composed of a path name |
3815 | ++ specifying a Deployment File containing the referenced |
3816 | ++ message destination with the message-destination-name of the |
3817 | ++ destination appended and separated from the path name by |
3818 | ++ "#". The path name is relative to the Deployment File |
3819 | ++ containing Deployment Component that is referencing the |
3820 | ++ message destination. This allows multiple message |
3821 | ++ destinations with the same name to be uniquely identified. |
3822 | ++ |
3823 | ++ </xsd:documentation> |
3824 | ++ </xsd:annotation> |
3825 | ++ <xsd:simpleContent> |
3826 | ++ <xsd:restriction base="javaee:string"/> |
3827 | ++ </xsd:simpleContent> |
3828 | ++ </xsd:complexType> |
3829 | ++ |
3830 | ++<!-- **************************************************** --> |
3831 | ++ |
3832 | ++ <xsd:complexType name="message-destination-refType"> |
3833 | ++ <xsd:annotation> |
3834 | ++ <xsd:documentation> |
3835 | ++ <![CDATA[ |
3836 | ++ |
3837 | ++ The message-destination-ref element contains a declaration |
3838 | ++ of Deployment Component's reference to a message destination |
3839 | ++ associated with a resource in Deployment Component's |
3840 | ++ environment. It consists of: |
3841 | ++ |
3842 | ++ - an optional description |
3843 | ++ - the message destination reference name |
3844 | ++ - an optional message destination type |
3845 | ++ - an optional specification as to whether |
3846 | ++ the destination is used for |
3847 | ++ consuming or producing messages, or both. |
3848 | ++ if not specified, "both" is assumed. |
3849 | ++ - an optional link to the message destination |
3850 | ++ - optional injection targets |
3851 | ++ |
3852 | ++ The message destination type must be supplied unless an |
3853 | ++ injection target is specified, in which case the type |
3854 | ++ of the target is used. If both are specified, the type |
3855 | ++ must be assignment compatible with the type of the injection |
3856 | ++ target. |
3857 | ++ |
3858 | ++ Examples: |
3859 | ++ |
3860 | ++ <message-destination-ref> |
3861 | ++ <message-destination-ref-name>jms/StockQueue |
3862 | ++ </message-destination-ref-name> |
3863 | ++ <message-destination-type>javax.jms.Queue |
3864 | ++ </message-destination-type> |
3865 | ++ <message-destination-usage>Consumes |
3866 | ++ </message-destination-usage> |
3867 | ++ <message-destination-link>CorporateStocks |
3868 | ++ </message-destination-link> |
3869 | ++ </message-destination-ref> |
3870 | ++ |
3871 | ++ ]]> |
3872 | ++ </xsd:documentation> |
3873 | ++ </xsd:annotation> |
3874 | ++ <xsd:sequence> |
3875 | ++ <xsd:element name="description" |
3876 | ++ type="javaee:descriptionType" |
3877 | ++ minOccurs="0" |
3878 | ++ maxOccurs="unbounded"/> |
3879 | ++ <xsd:element name="message-destination-ref-name" |
3880 | ++ type="javaee:jndi-nameType"> |
3881 | ++ <xsd:annotation> |
3882 | ++ <xsd:documentation> |
3883 | ++ |
3884 | ++ The message-destination-ref-name element specifies |
3885 | ++ the name of a message destination reference; its |
3886 | ++ value is the environment entry name used in |
3887 | ++ Deployment Component code. The name is a JNDI name |
3888 | ++ relative to the java:comp/env context and must be |
3889 | ++ unique within an ejb-jar (for enterprise beans) or a |
3890 | ++ Deployment File (for others). |
3891 | ++ |
3892 | ++ </xsd:documentation> |
3893 | ++ </xsd:annotation> |
3894 | ++ </xsd:element> |
3895 | ++ <xsd:element name="message-destination-type" |
3896 | ++ type="javaee:message-destination-typeType" |
3897 | ++ minOccurs="0"/> |
3898 | ++ <xsd:element name="message-destination-usage" |
3899 | ++ type="javaee:message-destination-usageType" |
3900 | ++ minOccurs="0"/> |
3901 | ++ <xsd:element name="message-destination-link" |
3902 | ++ type="javaee:message-destination-linkType" |
3903 | ++ minOccurs="0"/> |
3904 | ++ |
3905 | ++ <xsd:group ref="javaee:resourceGroup"/> |
3906 | ++ |
3907 | ++ </xsd:sequence> |
3908 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
3909 | ++ |
3910 | ++ </xsd:complexType> |
3911 | ++ |
3912 | ++<!-- **************************************************** --> |
3913 | ++ |
3914 | ++ <xsd:complexType name="message-destination-typeType"> |
3915 | ++ <xsd:annotation> |
3916 | ++ <xsd:documentation> |
3917 | ++ <![CDATA[ |
3918 | ++ |
3919 | ++ The message-destination-typeType specifies the type of |
3920 | ++ the destination. The type is specified by the Java interface |
3921 | ++ expected to be implemented by the destination. |
3922 | ++ |
3923 | ++ Example: |
3924 | ++ |
3925 | ++ <message-destination-type>javax.jms.Queue |
3926 | ++ </message-destination-type> |
3927 | ++ |
3928 | ++ ]]> |
3929 | ++ </xsd:documentation> |
3930 | ++ </xsd:annotation> |
3931 | ++ <xsd:simpleContent> |
3932 | ++ <xsd:restriction base="javaee:fully-qualified-classType"/> |
3933 | ++ </xsd:simpleContent> |
3934 | ++ </xsd:complexType> |
3935 | ++ |
3936 | ++<!-- **************************************************** --> |
3937 | ++ |
3938 | ++ <xsd:complexType name="message-destination-usageType"> |
3939 | ++ <xsd:annotation> |
3940 | ++ <xsd:documentation> |
3941 | ++ |
3942 | ++ The message-destination-usageType specifies the use of the |
3943 | ++ message destination indicated by the reference. The value |
3944 | ++ indicates whether messages are consumed from the message |
3945 | ++ destination, produced for the destination, or both. The |
3946 | ++ Assembler makes use of this information in linking producers |
3947 | ++ of a destination with its consumers. |
3948 | ++ |
3949 | ++ The value of the message-destination-usage element must be |
3950 | ++ one of the following: |
3951 | ++ Consumes |
3952 | ++ Produces |
3953 | ++ ConsumesProduces |
3954 | ++ |
3955 | ++ </xsd:documentation> |
3956 | ++ </xsd:annotation> |
3957 | ++ <xsd:simpleContent> |
3958 | ++ <xsd:restriction base="javaee:string"> |
3959 | ++ <xsd:enumeration value="Consumes"/> |
3960 | ++ <xsd:enumeration value="Produces"/> |
3961 | ++ <xsd:enumeration value="ConsumesProduces"/> |
3962 | ++ </xsd:restriction> |
3963 | ++ </xsd:simpleContent> |
3964 | ++ </xsd:complexType> |
3965 | ++ |
3966 | ++<!-- **************************************************** --> |
3967 | ++ |
3968 | ++ <xsd:complexType name="message-destinationType"> |
3969 | ++ <xsd:annotation> |
3970 | ++ <xsd:documentation> |
3971 | ++ <![CDATA[ |
3972 | ++ |
3973 | ++ The message-destinationType specifies a message |
3974 | ++ destination. The logical destination described by this |
3975 | ++ element is mapped to a physical destination by the Deployer. |
3976 | ++ |
3977 | ++ The message destination element contains: |
3978 | ++ |
3979 | ++ - an optional description |
3980 | ++ - an optional display-name |
3981 | ++ - an optional icon |
3982 | ++ - a message destination name which must be unique |
3983 | ++ among message destination names within the same |
3984 | ++ Deployment File. |
3985 | ++ - an optional mapped name |
3986 | ++ |
3987 | ++ Example: |
3988 | ++ |
3989 | ++ <message-destination> |
3990 | ++ <message-destination-name>CorporateStocks |
3991 | ++ </message-destination-name> |
3992 | ++ </message-destination> |
3993 | ++ |
3994 | ++ ]]> |
3995 | ++ </xsd:documentation> |
3996 | ++ </xsd:annotation> |
3997 | ++ <xsd:sequence> |
3998 | ++ <xsd:group ref="javaee:descriptionGroup"/> |
3999 | ++ <xsd:element name="message-destination-name" |
4000 | ++ type="javaee:string"> |
4001 | ++ <xsd:annotation> |
4002 | ++ <xsd:documentation> |
4003 | ++ |
4004 | ++ The message-destination-name element specifies a |
4005 | ++ name for a message destination. This name must be |
4006 | ++ unique among the names of message destinations |
4007 | ++ within the Deployment File. |
4008 | ++ |
4009 | ++ </xsd:documentation> |
4010 | ++ </xsd:annotation> |
4011 | ++ </xsd:element> |
4012 | ++ <xsd:element name="mapped-name" |
4013 | ++ type="javaee:xsdStringType" |
4014 | ++ minOccurs="0"> |
4015 | ++ <xsd:annotation> |
4016 | ++ <xsd:documentation> |
4017 | ++ <![CDATA[ |
4018 | ++ |
4019 | ++ A product specific name that this message destination |
4020 | ++ should be mapped to. Each message-destination-ref |
4021 | ++ element that references this message destination will |
4022 | ++ define a name in the namespace of the referencing |
4023 | ++ component. (It's a name in the JNDI java:comp/env |
4024 | ++ namespace.) Many application servers provide a way to |
4025 | ++ map these local names to names of resources known to the |
4026 | ++ application server. This mapped name is often a global |
4027 | ++ JNDI name, but may be a name of any form. Each of the |
4028 | ++ local names should be mapped to this same global name. |
4029 | ++ |
4030 | ++ Application servers are not required to support any |
4031 | ++ particular form or type of mapped name, nor the ability |
4032 | ++ to use mapped names. The mapped name is |
4033 | ++ product-dependent and often installation-dependent. No |
4034 | ++ use of a mapped name is portable. |
4035 | ++ |
4036 | ++ ]]> |
4037 | ++ </xsd:documentation> |
4038 | ++ </xsd:annotation> |
4039 | ++ </xsd:element> |
4040 | ++ </xsd:sequence> |
4041 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4042 | ++ </xsd:complexType> |
4043 | ++ |
4044 | ++<!-- **************************************************** --> |
4045 | ++ |
4046 | ++ <xsd:complexType name="param-valueType"> |
4047 | ++ <xsd:annotation> |
4048 | ++ <xsd:documentation> |
4049 | ++ |
4050 | ++ This type is a general type that can be used to declare |
4051 | ++ parameter/value lists. |
4052 | ++ |
4053 | ++ </xsd:documentation> |
4054 | ++ </xsd:annotation> |
4055 | ++ |
4056 | ++ <xsd:sequence> |
4057 | ++ <xsd:element name="description" |
4058 | ++ type="javaee:descriptionType" |
4059 | ++ minOccurs="0" |
4060 | ++ maxOccurs="unbounded"/> |
4061 | ++ <xsd:element name="param-name" |
4062 | ++ type="javaee:string"> |
4063 | ++ <xsd:annotation> |
4064 | ++ <xsd:documentation> |
4065 | ++ |
4066 | ++ The param-name element contains the name of a |
4067 | ++ parameter. |
4068 | ++ |
4069 | ++ </xsd:documentation> |
4070 | ++ </xsd:annotation> |
4071 | ++ </xsd:element> |
4072 | ++ |
4073 | ++ <xsd:element name="param-value" |
4074 | ++ type="javaee:xsdStringType"> |
4075 | ++ <xsd:annotation> |
4076 | ++ <xsd:documentation> |
4077 | ++ |
4078 | ++ The param-value element contains the value of a |
4079 | ++ parameter. |
4080 | ++ |
4081 | ++ </xsd:documentation> |
4082 | ++ </xsd:annotation> |
4083 | ++ </xsd:element> |
4084 | ++ </xsd:sequence> |
4085 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4086 | ++ </xsd:complexType> |
4087 | ++ |
4088 | ++<!-- **************************************************** --> |
4089 | ++ |
4090 | ++ <xsd:complexType name="pathType"> |
4091 | ++ <xsd:annotation> |
4092 | ++ <xsd:documentation> |
4093 | ++ |
4094 | ++ The elements that use this type designate either a relative |
4095 | ++ path or an absolute path starting with a "/". |
4096 | ++ |
4097 | ++ In elements that specify a pathname to a file within the |
4098 | ++ same Deployment File, relative filenames (i.e., those not |
4099 | ++ starting with "/") are considered relative to the root of |
4100 | ++ the Deployment File's namespace. Absolute filenames (i.e., |
4101 | ++ those starting with "/") also specify names in the root of |
4102 | ++ the Deployment File's namespace. In general, relative names |
4103 | ++ are preferred. The exception is .war files where absolute |
4104 | ++ names are preferred for consistency with the Servlet API. |
4105 | ++ |
4106 | ++ </xsd:documentation> |
4107 | ++ </xsd:annotation> |
4108 | ++ <xsd:simpleContent> |
4109 | ++ <xsd:restriction base="javaee:string"/> |
4110 | ++ </xsd:simpleContent> |
4111 | ++ </xsd:complexType> |
4112 | ++ |
4113 | ++<!-- **************************************************** --> |
4114 | ++ |
4115 | ++ <xsd:complexType name="persistence-context-refType"> |
4116 | ++ <xsd:annotation> |
4117 | ++ <xsd:documentation> |
4118 | ++ <![CDATA[ |
4119 | ++ |
4120 | ++ The persistence-context-ref element contains a declaration |
4121 | ++ of Deployment Component's reference to a persistence context |
4122 | ++ associated within a Deployment Component's |
4123 | ++ environment. It consists of: |
4124 | ++ |
4125 | ++ - an optional description |
4126 | ++ - the persistence context reference name |
4127 | ++ - an optional persistence unit name. If not specified, |
4128 | ++ the default persistence unit is assumed. |
4129 | ++ - an optional specification as to whether |
4130 | ++ the persistence context type is Transaction or |
4131 | ++ Extended. If not specified, Transaction is assumed. |
4132 | ++ - an optional list of persistence properties |
4133 | ++ - optional injection targets |
4134 | ++ |
4135 | ++ Examples: |
4136 | ++ |
4137 | ++ <persistence-context-ref> |
4138 | ++ <persistence-context-ref-name>myPersistenceContext |
4139 | ++ </persistence-context-ref-name> |
4140 | ++ </persistence-context-ref> |
4141 | ++ |
4142 | ++ <persistence-context-ref> |
4143 | ++ <persistence-context-ref-name>myPersistenceContext |
4144 | ++ </persistence-context-ref-name> |
4145 | ++ <persistence-unit-name>PersistenceUnit1 |
4146 | ++ </persistence-unit-name> |
4147 | ++ <persistence-context-type>Extended</persistence-context-type> |
4148 | ++ </persistence-context-ref> |
4149 | ++ |
4150 | ++ ]]> |
4151 | ++ </xsd:documentation> |
4152 | ++ </xsd:annotation> |
4153 | ++ <xsd:sequence> |
4154 | ++ <xsd:element name="description" |
4155 | ++ type="javaee:descriptionType" |
4156 | ++ minOccurs="0" |
4157 | ++ maxOccurs="unbounded"/> |
4158 | ++ <xsd:element name="persistence-context-ref-name" |
4159 | ++ type="javaee:jndi-nameType"> |
4160 | ++ <xsd:annotation> |
4161 | ++ <xsd:documentation> |
4162 | ++ |
4163 | ++ The persistence-context-ref-name element specifies |
4164 | ++ the name of a persistence context reference; its |
4165 | ++ value is the environment entry name used in |
4166 | ++ Deployment Component code. The name is a JNDI name |
4167 | ++ relative to the java:comp/env context. |
4168 | ++ |
4169 | ++ </xsd:documentation> |
4170 | ++ </xsd:annotation> |
4171 | ++ </xsd:element> |
4172 | ++ <xsd:element name="persistence-unit-name" |
4173 | ++ type="javaee:string" |
4174 | ++ minOccurs="0"> |
4175 | ++ <xsd:annotation> |
4176 | ++ <xsd:documentation> |
4177 | ++ |
4178 | ++ The Application Assembler(or BeanProvider) may use the |
4179 | ++ following syntax to avoid the need to rename persistence |
4180 | ++ units to have unique names within a Java EE application. |
4181 | ++ |
4182 | ++ The Application Assembler specifies the pathname of the |
4183 | ++ root of the persistence.xml file for the referenced |
4184 | ++ persistence unit and appends the name of the persistence |
4185 | ++ unit separated from the pathname by #. The pathname is |
4186 | ++ relative to the referencing application component jar file. |
4187 | ++ In this manner, multiple persistence units with the same |
4188 | ++ persistence unit name may be uniquely identified when the |
4189 | ++ Application Assembler cannot change persistence unit names. |
4190 | ++ |
4191 | ++ </xsd:documentation> |
4192 | ++ </xsd:annotation> |
4193 | ++ </xsd:element> |
4194 | ++ |
4195 | ++ <xsd:element name="persistence-context-type" |
4196 | ++ type="javaee:persistence-context-typeType" |
4197 | ++ minOccurs="0"/> |
4198 | ++ |
4199 | ++ <xsd:element name="persistence-property" |
4200 | ++ type="javaee:propertyType" |
4201 | ++ minOccurs="0" |
4202 | ++ maxOccurs="unbounded"> |
4203 | ++ <xsd:annotation> |
4204 | ++ <xsd:documentation> |
4205 | ++ |
4206 | ++ Used to specify properties for the container or persistence |
4207 | ++ provider. Vendor-specific properties may be included in |
4208 | ++ the set of properties. Properties that are not recognized |
4209 | ++ by a vendor must be ignored. Entries that make use of the |
4210 | ++ namespace javax.persistence and its subnamespaces must not |
4211 | ++ be used for vendor-specific properties. The namespace |
4212 | ++ javax.persistence is reserved for use by the specification. |
4213 | ++ |
4214 | ++ </xsd:documentation> |
4215 | ++ </xsd:annotation> |
4216 | ++ </xsd:element> |
4217 | ++ |
4218 | ++ <xsd:group ref="javaee:resourceGroup"/> |
4219 | ++ |
4220 | ++ </xsd:sequence> |
4221 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4222 | ++ |
4223 | ++ </xsd:complexType> |
4224 | ++ |
4225 | ++<!-- **************************************************** --> |
4226 | ++ |
4227 | ++ <xsd:complexType name="persistence-context-typeType"> |
4228 | ++ <xsd:annotation> |
4229 | ++ <xsd:documentation> |
4230 | ++ |
4231 | ++ The persistence-context-typeType specifies the transactional |
4232 | ++ nature of a persistence context reference. |
4233 | ++ |
4234 | ++ The value of the persistence-context-type element must be |
4235 | ++ one of the following: |
4236 | ++ Transaction |
4237 | ++ Extended |
4238 | ++ |
4239 | ++ </xsd:documentation> |
4240 | ++ </xsd:annotation> |
4241 | ++ <xsd:simpleContent> |
4242 | ++ <xsd:restriction base="javaee:string"> |
4243 | ++ <xsd:enumeration value="Transaction"/> |
4244 | ++ <xsd:enumeration value="Extended"/> |
4245 | ++ </xsd:restriction> |
4246 | ++ </xsd:simpleContent> |
4247 | ++ </xsd:complexType> |
4248 | ++ |
4249 | ++<!-- **************************************************** --> |
4250 | ++ |
4251 | ++ <xsd:complexType name="persistence-unit-refType"> |
4252 | ++ <xsd:annotation> |
4253 | ++ <xsd:documentation> |
4254 | ++ <![CDATA[ |
4255 | ++ |
4256 | ++ The persistence-unit-ref element contains a declaration |
4257 | ++ of Deployment Component's reference to a persistence unit |
4258 | ++ associated within a Deployment Component's |
4259 | ++ environment. It consists of: |
4260 | ++ |
4261 | ++ - an optional description |
4262 | ++ - the persistence unit reference name |
4263 | ++ - an optional persistence unit name. If not specified, |
4264 | ++ the default persistence unit is assumed. |
4265 | ++ - optional injection targets |
4266 | ++ |
4267 | ++ Examples: |
4268 | ++ |
4269 | ++ <persistence-unit-ref> |
4270 | ++ <persistence-unit-ref-name>myPersistenceUnit |
4271 | ++ </persistence-unit-ref-name> |
4272 | ++ </persistence-unit-ref> |
4273 | ++ |
4274 | ++ <persistence-unit-ref> |
4275 | ++ <persistence-unit-ref-name>myPersistenceUnit |
4276 | ++ </persistence-unit-ref-name> |
4277 | ++ <persistence-unit-name>PersistenceUnit1 |
4278 | ++ </persistence-unit-name> |
4279 | ++ </persistence-unit-ref> |
4280 | ++ |
4281 | ++ ]]> |
4282 | ++ </xsd:documentation> |
4283 | ++ </xsd:annotation> |
4284 | ++ <xsd:sequence> |
4285 | ++ <xsd:element name="description" |
4286 | ++ type="javaee:descriptionType" |
4287 | ++ minOccurs="0" |
4288 | ++ maxOccurs="unbounded"/> |
4289 | ++ <xsd:element name="persistence-unit-ref-name" |
4290 | ++ type="javaee:jndi-nameType"> |
4291 | ++ <xsd:annotation> |
4292 | ++ <xsd:documentation> |
4293 | ++ |
4294 | ++ The persistence-unit-ref-name element specifies |
4295 | ++ the name of a persistence unit reference; its |
4296 | ++ value is the environment entry name used in |
4297 | ++ Deployment Component code. The name is a JNDI name |
4298 | ++ relative to the java:comp/env context. |
4299 | ++ |
4300 | ++ </xsd:documentation> |
4301 | ++ </xsd:annotation> |
4302 | ++ </xsd:element> |
4303 | ++ <xsd:element name="persistence-unit-name" |
4304 | ++ type="javaee:string" |
4305 | ++ minOccurs="0"> |
4306 | ++ <xsd:annotation> |
4307 | ++ <xsd:documentation> |
4308 | ++ |
4309 | ++ The Application Assembler(or BeanProvider) may use the |
4310 | ++ following syntax to avoid the need to rename persistence |
4311 | ++ units to have unique names within a Java EE application. |
4312 | ++ |
4313 | ++ The Application Assembler specifies the pathname of the |
4314 | ++ root of the persistence.xml file for the referenced |
4315 | ++ persistence unit and appends the name of the persistence |
4316 | ++ unit separated from the pathname by #. The pathname is |
4317 | ++ relative to the referencing application component jar file. |
4318 | ++ In this manner, multiple persistence units with the same |
4319 | ++ persistence unit name may be uniquely identified when the |
4320 | ++ Application Assembler cannot change persistence unit names. |
4321 | ++ |
4322 | ++ </xsd:documentation> |
4323 | ++ </xsd:annotation> |
4324 | ++ </xsd:element> |
4325 | ++ |
4326 | ++ <xsd:group ref="javaee:resourceGroup"/> |
4327 | ++ |
4328 | ++ </xsd:sequence> |
4329 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4330 | ++ |
4331 | ++ </xsd:complexType> |
4332 | ++ |
4333 | ++<!-- **************************************************** --> |
4334 | ++ |
4335 | ++ <xsd:complexType name="propertyType"> |
4336 | ++ <xsd:annotation> |
4337 | ++ <xsd:documentation> |
4338 | ++ |
4339 | ++ Specifies a name/value pair. |
4340 | ++ |
4341 | ++ </xsd:documentation> |
4342 | ++ </xsd:annotation> |
4343 | ++ |
4344 | ++ <xsd:sequence> |
4345 | ++ <xsd:element name="name" |
4346 | ++ type="javaee:xsdStringType"> |
4347 | ++ </xsd:element> |
4348 | ++ <xsd:element name="value" |
4349 | ++ type="javaee:xsdStringType"> |
4350 | ++ </xsd:element> |
4351 | ++ </xsd:sequence> |
4352 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4353 | ++ </xsd:complexType> |
4354 | ++ |
4355 | ++<!-- **************************************************** --> |
4356 | ++ |
4357 | ++ <xsd:complexType name="remoteType"> |
4358 | ++ <xsd:annotation> |
4359 | ++ <xsd:documentation> |
4360 | ++ <![CDATA[ |
4361 | ++ |
4362 | ++ The remote element contains the fully-qualified name |
4363 | ++ of the enterprise bean's remote interface. |
4364 | ++ |
4365 | ++ Example: |
4366 | ++ |
4367 | ++ <remote>com.wombat.empl.EmployeeService</remote> |
4368 | ++ |
4369 | ++ ]]> |
4370 | ++ </xsd:documentation> |
4371 | ++ </xsd:annotation> |
4372 | ++ <xsd:simpleContent> |
4373 | ++ <xsd:restriction base="javaee:fully-qualified-classType"/> |
4374 | ++ </xsd:simpleContent> |
4375 | ++ </xsd:complexType> |
4376 | ++ |
4377 | ++<!-- **************************************************** --> |
4378 | ++ |
4379 | ++ <xsd:complexType name="res-authType"> |
4380 | ++ <xsd:annotation> |
4381 | ++ <xsd:documentation> |
4382 | ++ |
4383 | ++ The res-authType specifies whether the Deployment Component |
4384 | ++ code signs on programmatically to the resource manager, or |
4385 | ++ whether the Container will sign on to the resource manager |
4386 | ++ on behalf of the Deployment Component. In the latter case, |
4387 | ++ the Container uses information that is supplied by the |
4388 | ++ Deployer. |
4389 | ++ |
4390 | ++ The value must be one of the two following: |
4391 | ++ |
4392 | ++ Application |
4393 | ++ Container |
4394 | ++ |
4395 | ++ </xsd:documentation> |
4396 | ++ </xsd:annotation> |
4397 | ++ <xsd:simpleContent> |
4398 | ++ <xsd:restriction base="javaee:string"> |
4399 | ++ <xsd:enumeration value="Application"/> |
4400 | ++ <xsd:enumeration value="Container"/> |
4401 | ++ </xsd:restriction> |
4402 | ++ </xsd:simpleContent> |
4403 | ++ </xsd:complexType> |
4404 | ++ |
4405 | ++<!-- **************************************************** --> |
4406 | ++ |
4407 | ++ <xsd:complexType name="res-sharing-scopeType"> |
4408 | ++ <xsd:annotation> |
4409 | ++ <xsd:documentation> |
4410 | ++ |
4411 | ++ The res-sharing-scope type specifies whether connections |
4412 | ++ obtained through the given resource manager connection |
4413 | ++ factory reference can be shared. The value, if specified, |
4414 | ++ must be one of the two following: |
4415 | ++ |
4416 | ++ Shareable |
4417 | ++ Unshareable |
4418 | ++ |
4419 | ++ The default value is Shareable. |
4420 | ++ |
4421 | ++ </xsd:documentation> |
4422 | ++ </xsd:annotation> |
4423 | ++ <xsd:simpleContent> |
4424 | ++ <xsd:restriction base="javaee:string"> |
4425 | ++ <xsd:enumeration value="Shareable"/> |
4426 | ++ <xsd:enumeration value="Unshareable"/> |
4427 | ++ </xsd:restriction> |
4428 | ++ </xsd:simpleContent> |
4429 | ++ </xsd:complexType> |
4430 | ++ |
4431 | ++<!-- **************************************************** --> |
4432 | ++ |
4433 | ++ <xsd:complexType name="resource-env-refType"> |
4434 | ++ <xsd:annotation> |
4435 | ++ <xsd:documentation> |
4436 | ++ <![CDATA[ |
4437 | ++ |
4438 | ++ The resource-env-refType is used to define |
4439 | ++ resource-env-type elements. It contains a declaration of a |
4440 | ++ Deployment Component's reference to an administered object |
4441 | ++ associated with a resource in the Deployment Component's |
4442 | ++ environment. It consists of an optional description, the |
4443 | ++ resource environment reference name, and an optional |
4444 | ++ indication of the resource environment reference type |
4445 | ++ expected by the Deployment Component code. |
4446 | ++ |
4447 | ++ It also includes optional elements to define injection of |
4448 | ++ the named resource into fields or JavaBeans properties. |
4449 | ++ |
4450 | ++ The resource environment type must be supplied unless an |
4451 | ++ injection target is specified, in which case the type |
4452 | ++ of the target is used. If both are specified, the type |
4453 | ++ must be assignment compatible with the type of the injection |
4454 | ++ target. |
4455 | ++ |
4456 | ++ Example: |
4457 | ++ |
4458 | ++ <resource-env-ref> |
4459 | ++ <resource-env-ref-name>jms/StockQueue |
4460 | ++ </resource-env-ref-name> |
4461 | ++ <resource-env-ref-type>javax.jms.Queue |
4462 | ++ </resource-env-ref-type> |
4463 | ++ </resource-env-ref> |
4464 | ++ |
4465 | ++ ]]> |
4466 | ++ </xsd:documentation> |
4467 | ++ </xsd:annotation> |
4468 | ++ |
4469 | ++ <xsd:sequence> |
4470 | ++ <xsd:element name="description" |
4471 | ++ type="javaee:descriptionType" |
4472 | ++ minOccurs="0" |
4473 | ++ maxOccurs="unbounded"/> |
4474 | ++ <xsd:element name="resource-env-ref-name" |
4475 | ++ type="javaee:jndi-nameType"> |
4476 | ++ <xsd:annotation> |
4477 | ++ <xsd:documentation> |
4478 | ++ |
4479 | ++ The resource-env-ref-name element specifies the name |
4480 | ++ of a resource environment reference; its value is |
4481 | ++ the environment entry name used in |
4482 | ++ the Deployment Component code. The name is a JNDI |
4483 | ++ name relative to the java:comp/env context and must |
4484 | ++ be unique within a Deployment Component. |
4485 | ++ |
4486 | ++ </xsd:documentation> |
4487 | ++ </xsd:annotation> |
4488 | ++ </xsd:element> |
4489 | ++ |
4490 | ++ <xsd:element name="resource-env-ref-type" |
4491 | ++ type="javaee:fully-qualified-classType" |
4492 | ++ minOccurs="0"> |
4493 | ++ <xsd:annotation> |
4494 | ++ <xsd:documentation> |
4495 | ++ |
4496 | ++ The resource-env-ref-type element specifies the type |
4497 | ++ of a resource environment reference. It is the |
4498 | ++ fully qualified name of a Java language class or |
4499 | ++ interface. |
4500 | ++ |
4501 | ++ </xsd:documentation> |
4502 | ++ </xsd:annotation> |
4503 | ++ </xsd:element> |
4504 | ++ |
4505 | ++ <xsd:group ref="javaee:resourceGroup"/> |
4506 | ++ |
4507 | ++ </xsd:sequence> |
4508 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4509 | ++ </xsd:complexType> |
4510 | ++ |
4511 | ++<!-- **************************************************** --> |
4512 | ++ |
4513 | ++ <xsd:complexType name="resource-refType"> |
4514 | ++ <xsd:annotation> |
4515 | ++ <xsd:documentation> |
4516 | ++ <![CDATA[ |
4517 | ++ |
4518 | ++ The resource-refType contains a declaration of a |
4519 | ++ Deployment Component's reference to an external resource. It |
4520 | ++ consists of an optional description, the resource manager |
4521 | ++ connection factory reference name, an optional indication of |
4522 | ++ the resource manager connection factory type expected by the |
4523 | ++ Deployment Component code, an optional type of authentication |
4524 | ++ (Application or Container), and an optional specification of |
4525 | ++ the shareability of connections obtained from the resource |
4526 | ++ (Shareable or Unshareable). |
4527 | ++ |
4528 | ++ It also includes optional elements to define injection of |
4529 | ++ the named resource into fields or JavaBeans properties. |
4530 | ++ |
4531 | ++ The connection factory type must be supplied unless an |
4532 | ++ injection target is specified, in which case the type |
4533 | ++ of the target is used. If both are specified, the type |
4534 | ++ must be assignment compatible with the type of the injection |
4535 | ++ target. |
4536 | ++ |
4537 | ++ Example: |
4538 | ++ |
4539 | ++ <resource-ref> |
4540 | ++ <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> |
4541 | ++ <res-type>javax.sql.DataSource</res-type> |
4542 | ++ <res-auth>Container</res-auth> |
4543 | ++ <res-sharing-scope>Shareable</res-sharing-scope> |
4544 | ++ </resource-ref> |
4545 | ++ |
4546 | ++ ]]> |
4547 | ++ </xsd:documentation> |
4548 | ++ </xsd:annotation> |
4549 | ++ |
4550 | ++ <xsd:sequence> |
4551 | ++ <xsd:element name="description" |
4552 | ++ type="javaee:descriptionType" |
4553 | ++ minOccurs="0" |
4554 | ++ maxOccurs="unbounded"/> |
4555 | ++ <xsd:element name="res-ref-name" |
4556 | ++ type="javaee:jndi-nameType"> |
4557 | ++ <xsd:annotation> |
4558 | ++ <xsd:documentation> |
4559 | ++ |
4560 | ++ The res-ref-name element specifies the name of a |
4561 | ++ resource manager connection factory reference. |
4562 | ++ The name is a JNDI name relative to the |
4563 | ++ java:comp/env context. |
4564 | ++ The name must be unique within a Deployment File. |
4565 | ++ |
4566 | ++ </xsd:documentation> |
4567 | ++ </xsd:annotation> |
4568 | ++ </xsd:element> |
4569 | ++ |
4570 | ++ <xsd:element name="res-type" |
4571 | ++ type="javaee:fully-qualified-classType" |
4572 | ++ minOccurs="0"> |
4573 | ++ <xsd:annotation> |
4574 | ++ <xsd:documentation> |
4575 | ++ |
4576 | ++ The res-type element specifies the type of the data |
4577 | ++ source. The type is specified by the fully qualified |
4578 | ++ Java language class or interface |
4579 | ++ expected to be implemented by the data source. |
4580 | ++ |
4581 | ++ </xsd:documentation> |
4582 | ++ </xsd:annotation> |
4583 | ++ </xsd:element> |
4584 | ++ |
4585 | ++ <xsd:element name="res-auth" |
4586 | ++ type="javaee:res-authType" |
4587 | ++ minOccurs="0"/> |
4588 | ++ |
4589 | ++ <xsd:element name="res-sharing-scope" |
4590 | ++ type="javaee:res-sharing-scopeType" |
4591 | ++ minOccurs="0"/> |
4592 | ++ |
4593 | ++ <xsd:group ref="javaee:resourceGroup"/> |
4594 | ++ |
4595 | ++ </xsd:sequence> |
4596 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4597 | ++ </xsd:complexType> |
4598 | ++ |
4599 | ++<!-- **************************************************** --> |
4600 | ++ |
4601 | ++ <xsd:group name="resourceGroup"> |
4602 | ++ <xsd:annotation> |
4603 | ++ <xsd:documentation> |
4604 | ++ |
4605 | ++ This group collects elements that are common to all the |
4606 | ++ JNDI resource elements. |
4607 | ++ |
4608 | ++ </xsd:documentation> |
4609 | ++ </xsd:annotation> |
4610 | ++ <xsd:sequence> |
4611 | ++ <xsd:element name="mapped-name" |
4612 | ++ type="javaee:xsdStringType" |
4613 | ++ minOccurs="0"> |
4614 | ++ <xsd:annotation> |
4615 | ++ <xsd:documentation> |
4616 | ++ <![CDATA[ |
4617 | ++ |
4618 | ++ A product specific name that this resource should be |
4619 | ++ mapped to. The name of this resource, as defined by the |
4620 | ++ resource's name element or defaulted, is a name that is |
4621 | ++ local to the application component using the resource. |
4622 | ++ (It's a name in the JNDI java:comp/env namespace.) Many |
4623 | ++ application servers provide a way to map these local |
4624 | ++ names to names of resources known to the application |
4625 | ++ server. This mapped name is often a global JNDI name, |
4626 | ++ but may be a name of any form. |
4627 | ++ |
4628 | ++ Application servers are not required to support any |
4629 | ++ particular form or type of mapped name, nor the ability |
4630 | ++ to use mapped names. The mapped name is |
4631 | ++ product-dependent and often installation-dependent. No |
4632 | ++ use of a mapped name is portable. |
4633 | ++ |
4634 | ++ ]]> |
4635 | ++ </xsd:documentation> |
4636 | ++ </xsd:annotation> |
4637 | ++ </xsd:element> |
4638 | ++ |
4639 | ++ <xsd:element name="injection-target" |
4640 | ++ type="javaee:injection-targetType" |
4641 | ++ minOccurs="0" |
4642 | ++ maxOccurs="unbounded"/> |
4643 | ++ </xsd:sequence> |
4644 | ++ </xsd:group> |
4645 | ++ |
4646 | ++<!-- **************************************************** --> |
4647 | ++ |
4648 | ++ <xsd:complexType name="role-nameType"> |
4649 | ++ <xsd:annotation> |
4650 | ++ <xsd:documentation> |
4651 | ++ |
4652 | ++ The role-nameType designates the name of a security role. |
4653 | ++ |
4654 | ++ The name must conform to the lexical rules for a token. |
4655 | ++ |
4656 | ++ </xsd:documentation> |
4657 | ++ </xsd:annotation> |
4658 | ++ |
4659 | ++ <xsd:simpleContent> |
4660 | ++ <xsd:restriction base="javaee:string"/> |
4661 | ++ </xsd:simpleContent> |
4662 | ++ </xsd:complexType> |
4663 | ++ |
4664 | ++<!-- **************************************************** --> |
4665 | ++ |
4666 | ++ <xsd:complexType name="run-asType"> |
4667 | ++ <xsd:annotation> |
4668 | ++ <xsd:documentation> |
4669 | ++ |
4670 | ++ The run-asType specifies the run-as identity to be |
4671 | ++ used for the execution of a component. It contains an |
4672 | ++ optional description, and the name of a security role. |
4673 | ++ |
4674 | ++ </xsd:documentation> |
4675 | ++ </xsd:annotation> |
4676 | ++ |
4677 | ++ <xsd:sequence> |
4678 | ++ <xsd:element name="description" |
4679 | ++ type="javaee:descriptionType" |
4680 | ++ minOccurs="0" |
4681 | ++ maxOccurs="unbounded"/> |
4682 | ++ <xsd:element name="role-name" |
4683 | ++ type="javaee:role-nameType"/> |
4684 | ++ </xsd:sequence> |
4685 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4686 | ++ </xsd:complexType> |
4687 | ++ |
4688 | ++<!-- **************************************************** --> |
4689 | ++ |
4690 | ++ <xsd:complexType name="security-role-refType"> |
4691 | ++ <xsd:annotation> |
4692 | ++ <xsd:documentation> |
4693 | ++ |
4694 | ++ The security-role-refType contains the declaration of a |
4695 | ++ security role reference in a component's or a |
4696 | ++ Deployment Component's code. The declaration consists of an |
4697 | ++ optional description, the security role name used in the |
4698 | ++ code, and an optional link to a security role. If the |
4699 | ++ security role is not specified, the Deployer must choose an |
4700 | ++ appropriate security role. |
4701 | ++ |
4702 | ++ </xsd:documentation> |
4703 | ++ </xsd:annotation> |
4704 | ++ |
4705 | ++ <xsd:sequence> |
4706 | ++ <xsd:element name="description" |
4707 | ++ type="javaee:descriptionType" |
4708 | ++ minOccurs="0" |
4709 | ++ maxOccurs="unbounded"/> |
4710 | ++ <xsd:element name="role-name" |
4711 | ++ type="javaee:role-nameType"> |
4712 | ++ <xsd:annotation> |
4713 | ++ <xsd:documentation> |
4714 | ++ |
4715 | ++ The value of the role-name element must be the String used |
4716 | ++ as the parameter to the |
4717 | ++ EJBContext.isCallerInRole(String roleName) method or the |
4718 | ++ HttpServletRequest.isUserInRole(String role) method. |
4719 | ++ |
4720 | ++ </xsd:documentation> |
4721 | ++ </xsd:annotation> |
4722 | ++ </xsd:element> |
4723 | ++ |
4724 | ++ <xsd:element name="role-link" |
4725 | ++ type="javaee:role-nameType" |
4726 | ++ minOccurs="0"> |
4727 | ++ <xsd:annotation> |
4728 | ++ <xsd:documentation> |
4729 | ++ |
4730 | ++ The role-link element is a reference to a defined |
4731 | ++ security role. The role-link element must contain |
4732 | ++ the name of one of the security roles defined in the |
4733 | ++ security-role elements. |
4734 | ++ |
4735 | ++ </xsd:documentation> |
4736 | ++ </xsd:annotation> |
4737 | ++ </xsd:element> |
4738 | ++ </xsd:sequence> |
4739 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4740 | ++ </xsd:complexType> |
4741 | ++ |
4742 | ++<!-- **************************************************** --> |
4743 | ++ |
4744 | ++ <xsd:complexType name="security-roleType"> |
4745 | ++ <xsd:annotation> |
4746 | ++ <xsd:documentation> |
4747 | ++ <![CDATA[ |
4748 | ++ |
4749 | ++ The security-roleType contains the definition of a security |
4750 | ++ role. The definition consists of an optional description of |
4751 | ++ the security role, and the security role name. |
4752 | ++ |
4753 | ++ Example: |
4754 | ++ |
4755 | ++ <security-role> |
4756 | ++ <description> |
4757 | ++ This role includes all employees who are authorized |
4758 | ++ to access the employee service application. |
4759 | ++ </description> |
4760 | ++ <role-name>employee</role-name> |
4761 | ++ </security-role> |
4762 | ++ |
4763 | ++ ]]> |
4764 | ++ </xsd:documentation> |
4765 | ++ </xsd:annotation> |
4766 | ++ |
4767 | ++ <xsd:sequence> |
4768 | ++ <xsd:element name="description" |
4769 | ++ type="javaee:descriptionType" |
4770 | ++ minOccurs="0" |
4771 | ++ maxOccurs="unbounded"/> |
4772 | ++ <xsd:element name="role-name" |
4773 | ++ type="javaee:role-nameType"/> |
4774 | ++ </xsd:sequence> |
4775 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4776 | ++ </xsd:complexType> |
4777 | ++ |
4778 | ++<!-- **************************************************** --> |
4779 | ++ |
4780 | ++ <xsd:complexType name="string"> |
4781 | ++ <xsd:annotation> |
4782 | ++ <xsd:documentation> |
4783 | ++ |
4784 | ++ This is a special string datatype that is defined by Java EE as |
4785 | ++ a base type for defining collapsed strings. When schemas |
4786 | ++ require trailing/leading space elimination as well as |
4787 | ++ collapsing the existing whitespace, this base type may be |
4788 | ++ used. |
4789 | ++ |
4790 | ++ </xsd:documentation> |
4791 | ++ </xsd:annotation> |
4792 | ++ <xsd:simpleContent> |
4793 | ++ <xsd:extension base="xsd:token"> |
4794 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4795 | ++ </xsd:extension> |
4796 | ++ </xsd:simpleContent> |
4797 | ++ </xsd:complexType> |
4798 | ++ |
4799 | ++<!-- **************************************************** --> |
4800 | ++ |
4801 | ++ <xsd:complexType name="true-falseType"> |
4802 | ++ <xsd:annotation> |
4803 | ++ <xsd:documentation> |
4804 | ++ |
4805 | ++ This simple type designates a boolean with only two |
4806 | ++ permissible values |
4807 | ++ |
4808 | ++ - true |
4809 | ++ - false |
4810 | ++ |
4811 | ++ </xsd:documentation> |
4812 | ++ </xsd:annotation> |
4813 | ++ <xsd:simpleContent> |
4814 | ++ <xsd:restriction base="javaee:xsdBooleanType"> |
4815 | ++ <xsd:pattern value="(true|false)"/> |
4816 | ++ </xsd:restriction> |
4817 | ++ </xsd:simpleContent> |
4818 | ++ </xsd:complexType> |
4819 | ++ |
4820 | ++<!-- **************************************************** --> |
4821 | ++ |
4822 | ++ <xsd:complexType name="url-patternType"> |
4823 | ++ <xsd:annotation> |
4824 | ++ <xsd:documentation> |
4825 | ++ |
4826 | ++ The url-patternType contains the url pattern of the mapping. |
4827 | ++ It must follow the rules specified in Section 11.2 of the |
4828 | ++ Servlet API Specification. This pattern is assumed to be in |
4829 | ++ URL-decoded form and must not contain CR(#xD) or LF(#xA). |
4830 | ++ If it contains those characters, the container must inform |
4831 | ++ the developer with a descriptive error message. |
4832 | ++ The container must preserve all characters including whitespaces. |
4833 | ++ |
4834 | ++ </xsd:documentation> |
4835 | ++ </xsd:annotation> |
4836 | ++ <xsd:simpleContent> |
4837 | ++ <xsd:extension base="xsd:string"/> |
4838 | ++ </xsd:simpleContent> |
4839 | ++ </xsd:complexType> |
4840 | ++ |
4841 | ++<!-- **************************************************** --> |
4842 | ++ |
4843 | ++ <xsd:complexType name="xsdAnyURIType"> |
4844 | ++ <xsd:annotation> |
4845 | ++ <xsd:documentation> |
4846 | ++ |
4847 | ++ This type adds an "id" attribute to xsd:anyURI. |
4848 | ++ |
4849 | ++ </xsd:documentation> |
4850 | ++ </xsd:annotation> |
4851 | ++ <xsd:simpleContent> |
4852 | ++ <xsd:extension base="xsd:anyURI"> |
4853 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4854 | ++ </xsd:extension> |
4855 | ++ </xsd:simpleContent> |
4856 | ++ </xsd:complexType> |
4857 | ++ |
4858 | ++<!-- **************************************************** --> |
4859 | ++ |
4860 | ++ <xsd:complexType name="xsdBooleanType"> |
4861 | ++ <xsd:annotation> |
4862 | ++ <xsd:documentation> |
4863 | ++ |
4864 | ++ This type adds an "id" attribute to xsd:boolean. |
4865 | ++ |
4866 | ++ </xsd:documentation> |
4867 | ++ </xsd:annotation> |
4868 | ++ <xsd:simpleContent> |
4869 | ++ <xsd:extension base="xsd:boolean"> |
4870 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4871 | ++ </xsd:extension> |
4872 | ++ </xsd:simpleContent> |
4873 | ++ </xsd:complexType> |
4874 | ++ |
4875 | ++<!-- **************************************************** --> |
4876 | ++ |
4877 | ++ <xsd:complexType name="xsdIntegerType"> |
4878 | ++ <xsd:annotation> |
4879 | ++ <xsd:documentation> |
4880 | ++ |
4881 | ++ This type adds an "id" attribute to xsd:integer. |
4882 | ++ |
4883 | ++ </xsd:documentation> |
4884 | ++ </xsd:annotation> |
4885 | ++ <xsd:simpleContent> |
4886 | ++ <xsd:extension base="xsd:integer"> |
4887 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4888 | ++ </xsd:extension> |
4889 | ++ </xsd:simpleContent> |
4890 | ++ </xsd:complexType> |
4891 | ++ |
4892 | ++<!-- **************************************************** --> |
4893 | ++ |
4894 | ++ <xsd:complexType name="xsdNMTOKENType"> |
4895 | ++ <xsd:annotation> |
4896 | ++ <xsd:documentation> |
4897 | ++ |
4898 | ++ This type adds an "id" attribute to xsd:NMTOKEN. |
4899 | ++ |
4900 | ++ </xsd:documentation> |
4901 | ++ </xsd:annotation> |
4902 | ++ <xsd:simpleContent> |
4903 | ++ <xsd:extension base="xsd:NMTOKEN"> |
4904 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4905 | ++ </xsd:extension> |
4906 | ++ </xsd:simpleContent> |
4907 | ++ </xsd:complexType> |
4908 | ++ |
4909 | ++<!-- **************************************************** --> |
4910 | ++ |
4911 | ++ <xsd:complexType name="xsdNonNegativeIntegerType"> |
4912 | ++ <xsd:annotation> |
4913 | ++ <xsd:documentation> |
4914 | ++ |
4915 | ++ This type adds an "id" attribute to xsd:nonNegativeInteger. |
4916 | ++ |
4917 | ++ </xsd:documentation> |
4918 | ++ </xsd:annotation> |
4919 | ++ <xsd:simpleContent> |
4920 | ++ <xsd:extension base="xsd:nonNegativeInteger"> |
4921 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4922 | ++ </xsd:extension> |
4923 | ++ </xsd:simpleContent> |
4924 | ++ </xsd:complexType> |
4925 | ++ |
4926 | ++<!-- **************************************************** --> |
4927 | ++ |
4928 | ++ <xsd:complexType name="xsdPositiveIntegerType"> |
4929 | ++ <xsd:annotation> |
4930 | ++ <xsd:documentation> |
4931 | ++ |
4932 | ++ This type adds an "id" attribute to xsd:positiveInteger. |
4933 | ++ |
4934 | ++ </xsd:documentation> |
4935 | ++ </xsd:annotation> |
4936 | ++ <xsd:simpleContent> |
4937 | ++ <xsd:extension base="xsd:positiveInteger"> |
4938 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4939 | ++ </xsd:extension> |
4940 | ++ </xsd:simpleContent> |
4941 | ++ </xsd:complexType> |
4942 | ++ |
4943 | ++<!-- **************************************************** --> |
4944 | ++ |
4945 | ++ <xsd:complexType name="xsdQNameType"> |
4946 | ++ <xsd:annotation> |
4947 | ++ <xsd:documentation> |
4948 | ++ |
4949 | ++ This type adds an "id" attribute to xsd:QName. |
4950 | ++ |
4951 | ++ </xsd:documentation> |
4952 | ++ </xsd:annotation> |
4953 | ++ <xsd:simpleContent> |
4954 | ++ <xsd:extension base="xsd:QName"> |
4955 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4956 | ++ </xsd:extension> |
4957 | ++ </xsd:simpleContent> |
4958 | ++ </xsd:complexType> |
4959 | ++ |
4960 | ++<!-- **************************************************** --> |
4961 | ++ |
4962 | ++ <xsd:complexType name="xsdStringType"> |
4963 | ++ <xsd:annotation> |
4964 | ++ <xsd:documentation> |
4965 | ++ |
4966 | ++ This type adds an "id" attribute to xsd:string. |
4967 | ++ |
4968 | ++ </xsd:documentation> |
4969 | ++ </xsd:annotation> |
4970 | ++ <xsd:simpleContent> |
4971 | ++ <xsd:extension base="xsd:string"> |
4972 | ++ <xsd:attribute name="id" type="xsd:ID"/> |
4973 | ++ </xsd:extension> |
4974 | ++ </xsd:simpleContent> |
4975 | ++ </xsd:complexType> |
4976 | ++ |
4977 | ++</xsd:schema> |
4978 | ++ |
4979 | +Index: jenkins-winstone/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd |
4980 | +=================================================================== |
4981 | +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
4982 | ++++ jenkins-winstone/src/conf/javax/servlet/resources/javaee_web_services_client_1_2.xsd 2011-08-18 09:36:00.211504693 +0100 |
4983 | +@@ -0,0 +1,585 @@ |
4984 | ++<?xml version="1.0" encoding="UTF-8"?> |
4985 | ++<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" |
4986 | ++ targetNamespace="http://java.sun.com/xml/ns/javaee" |
4987 | ++ xmlns:javaee="http://java.sun.com/xml/ns/javaee" |
4988 | ++ xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
4989 | ++ elementFormDefault="qualified" |
4990 | ++ attributeFormDefault="unqualified" |
4991 | ++ version="1.2"> |
4992 | ++ <xsd:annotation> |
4993 | ++ <xsd:documentation> |
4994 | ++ @(#)javaee_web_services_client_1_2.xsds 1.19 02/13/06 |
4995 | ++ </xsd:documentation> |
4996 | ++ </xsd:annotation> |
4997 | ++ |
4998 | ++ <xsd:annotation> |
4999 | ++ <xsd:documentation> |
5000 | ++ |
The diff has been truncated for viewing.