Skip to content
This repository
Browse code

this warning supression wasn't always working

  • Loading branch information...
commit db4c4ad47a31e5d4add77d1fe530a6464af0c996 1 parent 9e0b93c
David Turnbull authored
6 java_src/javax/servlet/resources/README
... ... @@ -1,6 +0,0 @@
1   -This xsd is included to clear a warning from Winstone.
2   -It isn't actually used for anything.
3   -It had two includes that I commented out.
4   -<!-- <xsd:include schemaLocation="javaee_5.xsd"/> -->
5   -<!-- <xsd:include schemaLocation="jsp_2_1.xsd"/> -->
6   -Perhaps a Java developer can offer a better solution.
1,274 java_src/javax/servlet/resources/web-app_2_5.xsd
... ... @@ -1,1274 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3   - targetNamespace="http://java.sun.com/xml/ns/javaee"
4   - xmlns:javaee="http://java.sun.com/xml/ns/javaee"
5   - xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6   - elementFormDefault="qualified"
7   - attributeFormDefault="unqualified"
8   - version="2.5">
9   - <xsd:annotation>
10   - <xsd:documentation>
11   - @(#)web-app_2_5.xsds 1.68 07/03/09
12   - </xsd:documentation>
13   - </xsd:annotation>
14   -
15   - <xsd:annotation>
16   - <xsd:documentation>
17   -
18   - DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
19   -
20   - Copyright 2003-2007 Sun Microsystems, Inc. All rights reserved.
21   -
22   - The contents of this file are subject to the terms of either the
23   - GNU General Public License Version 2 only ("GPL") or the Common
24   - Development and Distribution License("CDDL") (collectively, the
25   - "License"). You may not use this file except in compliance with
26   - the License. You can obtain a copy of the License at
27   - https://glassfish.dev.java.net/public/CDDL+GPL.html or
28   - glassfish/bootstrap/legal/LICENSE.txt. See the License for the
29   - specific language governing permissions and limitations under the
30   - License.
31   -
32   - When distributing the software, include this License Header
33   - Notice in each file and include the License file at
34   - glassfish/bootstrap/legal/LICENSE.txt. Sun designates this
35   - particular file as subject to the "Classpath" exception as
36   - provided by Sun in the GPL Version 2 section of the License file
37   - that accompanied this code. If applicable, add the following
38   - below the License Header, with the fields enclosed by brackets []
39   - replaced by your own identifying information:
40   - "Portions Copyrighted [year] [name of copyright owner]"
41   -
42   - Contributor(s):
43   -
44   - If you wish your version of this file to be governed by only the
45   - CDDL or only the GPL Version 2, indicate your decision by adding
46   - "[Contributor] elects to include this software in this
47   - distribution under the [CDDL or GPL Version 2] license." If you
48   - don't indicate a single choice of license, a recipient has the
49   - option to distribute your version of this file under either the
50   - CDDL, the GPL Version 2 or to extend the choice of license to its
51   - licensees as provided above. However, if you add GPL Version 2
52   - code and therefore, elected the GPL Version 2 license, then the
53   - option applies only if the new code is made subject to such
54   - option by the copyright holder.
55   -
56   - </xsd:documentation>
57   - </xsd:annotation>
58   -
59   - <xsd:annotation>
60   - <xsd:documentation>
61   - <![CDATA[
62   -
63   - This is the XML Schema for the Servlet 2.5 deployment descriptor.
64   - The deployment descriptor must be named "WEB-INF/web.xml" in the
65   - web application's war file. All Servlet deployment descriptors
66   - must indicate the web application schema by using the Java EE
67   - namespace:
68   -
69   - http://java.sun.com/xml/ns/javaee
70   -
71   - and by indicating the version of the schema by
72   - using the version element as shown below:
73   -
74   - <web-app xmlns="http://java.sun.com/xml/ns/javaee"
75   - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
76   - xsi:schemaLocation="..."
77   - version="2.5">
78   - ...
79   - </web-app>
80   -
81   - The instance documents may indicate the published version of
82   - the schema using the xsi:schemaLocation attribute for Java EE
83   - namespace with the following location:
84   -
85   - http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
86   -
87   - ]]>
88   - </xsd:documentation>
89   - </xsd:annotation>
90   -
91   - <xsd:annotation>
92   - <xsd:documentation>
93   -
94   - The following conventions apply to all Java EE
95   - deployment descriptor elements unless indicated otherwise.
96   -
97   - - In elements that specify a pathname to a file within the
98   - same JAR file, relative filenames (i.e., those not
99   - starting with "/") are considered relative to the root of
100   - the JAR file's namespace. Absolute filenames (i.e., those
101   - starting with "/") also specify names in the root of the
102   - JAR file's namespace. In general, relative names are
103   - preferred. The exception is .war files where absolute
104   - names are preferred for consistency with the Servlet API.
105   -
106   - </xsd:documentation>
107   - </xsd:annotation>
108   -
109   - <!-- <xsd:include schemaLocation="javaee_5.xsd"/> -->
110   - <!-- <xsd:include schemaLocation="jsp_2_1.xsd"/> -->
111   -
112   -
113   -<!-- **************************************************** -->
114   -
115   - <xsd:element name="web-app" type="javaee:web-appType">
116   - <xsd:annotation>
117   - <xsd:documentation>
118   -
119   - The web-app element is the root of the deployment
120   - descriptor for a web application. Note that the sub-elements
121   - of this element can be in the arbitrary order. Because of
122   - that, the multiplicity of the elements of distributable,
123   - session-config, welcome-file-list, jsp-config, login-config,
124   - and locale-encoding-mapping-list was changed from "?" to "*"
125   - in this schema. However, the deployment descriptor instance
126   - file must not contain multiple elements of session-config,
127   - jsp-config, and login-config. When there are multiple elements of
128   - welcome-file-list or locale-encoding-mapping-list, the container
129   - must concatenate the element contents. The multiple occurence
130   - of the element distributable is redundant and the container
131   - treats that case exactly in the same way when there is only
132   - one distributable.
133   -
134   - </xsd:documentation>
135   - </xsd:annotation>
136   -
137   - <xsd:unique name="web-app-servlet-name-uniqueness">
138   - <xsd:annotation>
139   - <xsd:documentation>
140   -
141   - The servlet element contains the name of a servlet.
142   - The name must be unique within the web application.
143   -
144   - </xsd:documentation>
145   - </xsd:annotation>
146   - <xsd:selector xpath="javaee:servlet"/>
147   - <xsd:field xpath="javaee:servlet-name"/>
148   - </xsd:unique>
149   -
150   - <xsd:unique name="web-app-filter-name-uniqueness">
151   - <xsd:annotation>
152   - <xsd:documentation>
153   -
154   - The filter element contains the name of a filter.
155   - The name must be unique within the web application.
156   -
157   - </xsd:documentation>
158   - </xsd:annotation>
159   - <xsd:selector xpath="javaee:filter"/>
160   - <xsd:field xpath="javaee:filter-name"/>
161   - </xsd:unique>
162   -
163   - <xsd:unique name="web-app-ejb-local-ref-name-uniqueness">
164   - <xsd:annotation>
165   - <xsd:documentation>
166   -
167   - The ejb-local-ref-name element contains the name of an EJB
168   - reference. The EJB reference is an entry in the web
169   - application's environment and is relative to the
170   - java:comp/env context. The name must be unique within
171   - the web application.
172   -
173   - It is recommended that name is prefixed with "ejb/".
174   -
175   - </xsd:documentation>
176   - </xsd:annotation>
177   - <xsd:selector xpath="javaee:ejb-local-ref"/>
178   - <xsd:field xpath="javaee:ejb-ref-name"/>
179   - </xsd:unique>
180   -
181   - <xsd:unique name="web-app-ejb-ref-name-uniqueness">
182   - <xsd:annotation>
183   - <xsd:documentation>
184   -
185   - The ejb-ref-name element contains the name of an EJB
186   - reference. The EJB reference is an entry in the web
187   - application's environment and is relative to the
188   - java:comp/env context. The name must be unique within
189   - the web application.
190   -
191   - It is recommended that name is prefixed with "ejb/".
192   -
193   - </xsd:documentation>
194   - </xsd:annotation>
195   - <xsd:selector xpath="javaee:ejb-ref"/>
196   - <xsd:field xpath="javaee:ejb-ref-name"/>
197   - </xsd:unique>
198   -
199   - <xsd:unique name="web-app-resource-env-ref-uniqueness">
200   - <xsd:annotation>
201   - <xsd:documentation>
202   -
203   - The resource-env-ref-name element specifies the name of
204   - a resource environment reference; its value is the
205   - environment entry name used in the web application code.
206   - The name is a JNDI name relative to the java:comp/env
207   - context and must be unique within a web application.
208   -
209   - </xsd:documentation>
210   - </xsd:annotation>
211   - <xsd:selector xpath="javaee:resource-env-ref"/>
212   - <xsd:field xpath="javaee:resource-env-ref-name"/>
213   - </xsd:unique>
214   -
215   - <xsd:unique name="web-app-message-destination-ref-uniqueness">
216   - <xsd:annotation>
217   - <xsd:documentation>
218   -
219   - The message-destination-ref-name element specifies the name of
220   - a message destination reference; its value is the
221   - environment entry name used in the web application code.
222   - The name is a JNDI name relative to the java:comp/env
223   - context and must be unique within a web application.
224   -
225   - </xsd:documentation>
226   - </xsd:annotation>
227   - <xsd:selector xpath="javaee:message-destination-ref"/>
228   - <xsd:field xpath="javaee:message-destination-ref-name"/>
229   - </xsd:unique>
230   -
231   - <xsd:unique name="web-app-res-ref-name-uniqueness">
232   - <xsd:annotation>
233   - <xsd:documentation>
234   -
235   - The res-ref-name element specifies the name of a
236   - resource manager connection factory reference. The name
237   - is a JNDI name relative to the java:comp/env context.
238   - The name must be unique within a web application.
239   -
240   - </xsd:documentation>
241   - </xsd:annotation>
242   - <xsd:selector xpath="javaee:resource-ref"/>
243   - <xsd:field xpath="javaee:res-ref-name"/>
244   - </xsd:unique>
245   -
246   - <xsd:unique name="web-app-env-entry-name-uniqueness">
247   - <xsd:annotation>
248   - <xsd:documentation>
249   -
250   - The env-entry-name element contains the name of a web
251   - application's environment entry. The name is a JNDI
252   - name relative to the java:comp/env context. The name
253   - must be unique within a web application.
254   -
255   - </xsd:documentation>
256   - </xsd:annotation>
257   -
258   - <xsd:selector xpath="javaee:env-entry"/>
259   - <xsd:field xpath="javaee:env-entry-name"/>
260   - </xsd:unique>
261   -
262   - <xsd:key name="web-app-role-name-key">
263   - <xsd:annotation>
264   - <xsd:documentation>
265   -
266   - A role-name-key is specified to allow the references
267   - from the security-role-refs.
268   -
269   - </xsd:documentation>
270   - </xsd:annotation>
271   - <xsd:selector xpath="javaee:security-role"/>
272   - <xsd:field xpath="javaee:role-name"/>
273   - </xsd:key>
274   -
275   - <xsd:keyref name="web-app-role-name-references"
276   - refer="javaee:web-app-role-name-key">
277   - <xsd:annotation>
278   - <xsd:documentation>
279   -
280   - The keyref indicates the references from
281   - security-role-ref to a specified role-name.
282   -
283   - </xsd:documentation>
284   - </xsd:annotation>
285   - <xsd:selector xpath="javaee:servlet/javaee:security-role-ref"/>
286   - <xsd:field xpath="javaee:role-link"/>
287   - </xsd:keyref>
288   - </xsd:element>
289   -
290   -
291   -<!-- **************************************************** -->
292   -
293   - <xsd:complexType name="auth-constraintType">
294   - <xsd:annotation>
295   - <xsd:documentation>
296   -
297   - The auth-constraintType indicates the user roles that
298   - should be permitted access to this resource
299   - collection. The role-name used here must either correspond
300   - to the role-name of one of the security-role elements
301   - defined for this web application, or be the specially
302   - reserved role-name "*" that is a compact syntax for
303   - indicating all roles in the web application. If both "*"
304   - and rolenames appear, the container interprets this as all
305   - roles. If no roles are defined, no user is allowed access
306   - to the portion of the web application described by the
307   - containing security-constraint. The container matches
308   - role names case sensitively when determining access.
309   -
310   - </xsd:documentation>
311   - </xsd:annotation>
312   -
313   - <xsd:sequence>
314   - <xsd:element name="description"
315   - type="javaee:descriptionType"
316   - minOccurs="0" maxOccurs="unbounded"/>
317   - <xsd:element name="role-name"
318   - type="javaee:role-nameType"
319   - minOccurs="0" maxOccurs="unbounded"/>
320   - </xsd:sequence>
321   - <xsd:attribute name="id" type="xsd:ID"/>
322   - </xsd:complexType>
323   -
324   -<!-- **************************************************** -->
325   -
326   - <xsd:complexType name="auth-methodType">
327   - <xsd:annotation>
328   - <xsd:documentation>
329   -
330   - The auth-methodType is used to configure the authentication
331   - mechanism for the web application. As a prerequisite to
332   - gaining access to any web resources which are protected by
333   - an authorization constraint, a user must have authenticated
334   - using the configured mechanism. Legal values are "BASIC",
335   - "DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
336   - authentication scheme.
337   -
338   - Used in: login-config
339   -
340   - </xsd:documentation>
341   - </xsd:annotation>
342   -
343   - <xsd:simpleContent>
344   - <xsd:restriction base="javaee:string"/>
345   - </xsd:simpleContent>
346   - </xsd:complexType>
347   -
348   -<!-- **************************************************** -->
349   -
350   - <xsd:complexType name="dispatcherType">
351   - <xsd:annotation>
352   - <xsd:documentation>
353   -
354   - The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE,
355   - and ERROR. A value of FORWARD means the Filter will be applied
356   - under RequestDispatcher.forward() calls. A value of REQUEST
357   - means the Filter will be applied under ordinary client calls to
358   - the path or servlet. A value of INCLUDE means the Filter will be
359   - applied under RequestDispatcher.include() calls. A value of
360   - ERROR means the Filter will be applied under the error page
361   - mechanism. The absence of any dispatcher elements in a
362   - filter-mapping indicates a default of applying filters only under
363   - ordinary client calls to the path or servlet.
364   -
365   - </xsd:documentation>
366   - </xsd:annotation>
367   -
368   - <xsd:simpleContent>
369   - <xsd:restriction base="javaee:string">
370   - <xsd:enumeration value="FORWARD"/>
371   - <xsd:enumeration value="INCLUDE"/>
372   - <xsd:enumeration value="REQUEST"/>
373   - <xsd:enumeration value="ERROR"/>
374   - </xsd:restriction>
375   - </xsd:simpleContent>
376   - </xsd:complexType>
377   -
378   -<!-- **************************************************** -->
379   -
380   - <xsd:simpleType name="encodingType">
381   - <xsd:annotation>
382   - <xsd:documentation>
383   -
384   - The encodingType defines IANA character sets.
385   -
386   - </xsd:documentation>
387   - </xsd:annotation>
388   -
389   - <xsd:restriction base="xsd:string">
390   - <xsd:pattern value="[^\s]+"/>
391   - </xsd:restriction>
392   - </xsd:simpleType>
393   -
394   -<!-- **************************************************** -->
395   -
396   - <xsd:complexType name="error-codeType">
397   - <xsd:annotation>
398   - <xsd:documentation>
399   -
400   - The error-code contains an HTTP error code, ex: 404
401   -
402   - Used in: error-page
403   -
404   - </xsd:documentation>
405   - </xsd:annotation>
406   -
407   - <xsd:simpleContent>
408   - <xsd:restriction base="javaee:xsdPositiveIntegerType">
409   - <xsd:pattern value="\d{3}"/>
410   - <xsd:attribute name="id" type="xsd:ID"/>
411   - </xsd:restriction>
412   - </xsd:simpleContent>
413   - </xsd:complexType>
414   -
415   -<!-- **************************************************** -->
416   -
417   - <xsd:complexType name="error-pageType">
418   - <xsd:annotation>
419   - <xsd:documentation>
420   -
421   - The error-pageType contains a mapping between an error code
422   - or exception type to the path of a resource in the web
423   - application.
424   -
425   - Used in: web-app
426   -
427   - </xsd:documentation>
428   - </xsd:annotation>
429   -
430   - <xsd:sequence>
431   - <xsd:choice>
432   - <xsd:element name="error-code"
433   - type="javaee:error-codeType"/>
434   -
435   - <xsd:element name="exception-type"
436   - type="javaee:fully-qualified-classType">
437   - <xsd:annotation>
438   - <xsd:documentation>
439   -
440   - The exception-type contains a fully qualified class
441   - name of a Java exception type.
442   -
443   - </xsd:documentation>
444   - </xsd:annotation>
445   - </xsd:element>
446   - </xsd:choice>
447   -
448   - <xsd:element name="location"
449   - type="javaee:war-pathType">
450   - <xsd:annotation>
451   - <xsd:documentation>
452   -
453   - The location element contains the location of the
454   - resource in the web application relative to the root of
455   - the web application. The value of the location must have
456   - a leading `/'.
457   -
458   - </xsd:documentation>
459   - </xsd:annotation>
460   - </xsd:element>
461   - </xsd:sequence>
462   - <xsd:attribute name="id" type="xsd:ID"/>
463   - </xsd:complexType>
464   -
465   -<!-- **************************************************** -->
466   -
467   - <xsd:complexType name="filter-mappingType">
468   - <xsd:annotation>
469   - <xsd:documentation>
470   -
471   - Declaration of the filter mappings in this web
472   - application is done by using filter-mappingType.
473   - The container uses the filter-mapping
474   - declarations to decide which filters to apply to a request,
475   - and in what order. The container matches the request URI to
476   - a Servlet in the normal way. To determine which filters to
477   - apply it matches filter-mapping declarations either on
478   - servlet-name, or on url-pattern for each filter-mapping
479   - element, depending on which style is used. The order in
480   - which filters are invoked is the order in which
481   - filter-mapping declarations that match a request URI for a
482   - servlet appear in the list of filter-mapping elements.The
483   - filter-name value must be the value of the filter-name
484   - sub-elements of one of the filter declarations in the
485   - deployment descriptor.
486   -
487   - </xsd:documentation>
488   - </xsd:annotation>
489   -
490   - <xsd:sequence>
491   - <xsd:element name="filter-name"
492   - type="javaee:filter-nameType"/>
493   - <xsd:choice minOccurs="1" maxOccurs="unbounded">
494   - <xsd:element name="url-pattern"
495   - type="javaee:url-patternType"/>
496   - <xsd:element name="servlet-name"
497   - type="javaee:servlet-nameType"/>
498   - </xsd:choice>
499   - <xsd:element name="dispatcher"
500   - type="javaee:dispatcherType"
501   - minOccurs="0" maxOccurs="4"/>
502   - </xsd:sequence>
503   - <xsd:attribute name="id" type="xsd:ID"/>
504   - </xsd:complexType>
505   -
506   -<!-- **************************************************** -->
507   -
508   - <xsd:complexType name="filter-nameType">
509   - <xsd:annotation>
510   - <xsd:documentation>
511   -
512   - The logical name of the filter is declare
513   - by using filter-nameType. This name is used to map the
514   - filter. Each filter name is unique within the web
515   - application.
516   -
517   - Used in: filter, filter-mapping
518   -
519   - </xsd:documentation>
520   - </xsd:annotation>
521   -
522   - <xsd:simpleContent>
523   - <xsd:extension base="javaee:nonEmptyStringType"/>
524   - </xsd:simpleContent>
525   - </xsd:complexType>
526   -
527   -<!-- **************************************************** -->
528   -
529   - <xsd:complexType name="filterType">
530   - <xsd:annotation>
531   - <xsd:documentation>
532   -
533   - The filterType is used to declare a filter in the web
534   - application. The filter is mapped to either a servlet or a
535   - URL pattern in the filter-mapping element, using the
536   - filter-name value to reference. Filters can access the
537   - initialization parameters declared in the deployment
538   - descriptor at runtime via the FilterConfig interface.
539   -
540   - Used in: web-app
541   -
542   - </xsd:documentation>
543   - </xsd:annotation>
544   -
545   - <xsd:sequence>
546   - <xsd:group ref="javaee:descriptionGroup"/>
547   - <xsd:element name="filter-name"
548   - type="javaee:filter-nameType"/>
549   - <xsd:element name="filter-class"
550   - type="javaee:fully-qualified-classType">
551   - <xsd:annotation>
552   - <xsd:documentation>
553   -
554   - The fully qualified classname of the filter.
555   -
556   - </xsd:documentation>
557   - </xsd:annotation>
558   - </xsd:element>
559   -
560   - <xsd:element name="init-param"
561   - type="javaee:param-valueType"
562   - minOccurs="0" maxOccurs="unbounded">
563   - <xsd:annotation>
564   - <xsd:documentation>
565   -
566   - The init-param element contains a name/value pair as
567   - an initialization param of a servlet filter
568   -
569   - </xsd:documentation>
570   - </xsd:annotation>
571   - </xsd:element>
572   - </xsd:sequence>
573   - <xsd:attribute name="id" type="xsd:ID"/>
574   - </xsd:complexType>
575   -
576   -<!-- **************************************************** -->
577   -
578   - <xsd:complexType name="form-login-configType">
579   - <xsd:annotation>
580   - <xsd:documentation>
581   -
582   - The form-login-configType specifies the login and error
583   - pages that should be used in form based login. If form based
584   - authentication is not used, these elements are ignored.
585   -
586   - Used in: login-config
587   -
588   - </xsd:documentation>
589   - </xsd:annotation>
590   -
591   - <xsd:sequence>
592   -
593   - <xsd:element name="form-login-page"
594   - type="javaee:war-pathType">
595   - <xsd:annotation>
596   - <xsd:documentation>
597   -
598   - The form-login-page element defines the location in the web
599   - app where the page that can be used for login can be
600   - found. The path begins with a leading / and is interpreted
601   - relative to the root of the WAR.
602   -
603   - </xsd:documentation>
604   - </xsd:annotation>
605   - </xsd:element>
606   -
607   - <xsd:element name="form-error-page"
608   - type="javaee:war-pathType">
609   - <xsd:annotation>
610   - <xsd:documentation>
611   -
612   - The form-error-page element defines the location in
613   - the web app where the error page that is displayed
614   - when login is not successful can be found.
615   - The path begins with a leading / and is interpreted
616   - relative to the root of the WAR.
617   -
618   - </xsd:documentation>
619   - </xsd:annotation>
620   - </xsd:element>
621   -
622   - </xsd:sequence>
623   - <xsd:attribute name="id" type="xsd:ID"/>
624   - </xsd:complexType>
625   -
626   -<!-- **************************************************** -->
627   -
628   - <xsd:simpleType name="http-methodType">
629   - <xsd:annotation>
630   -
631   - <xsd:documentation>
632   -
633   - A HTTP method type as defined in HTTP 1.1 section 2.2.
634   -
635   - </xsd:documentation>
636   - </xsd:annotation>
637   -
638   - <xsd:restriction base="xsd:token">
639   - <xsd:pattern value="[&#33;-&#126;-[\(\)&#60;&#62;@,;:&#34;/\[\]?=\{\}\\\p{Z}]]+"/>
640   - </xsd:restriction>
641   -
642   - </xsd:simpleType>
643   -
644   -<!-- **************************************************** -->
645   -
646   - <xsd:simpleType name="load-on-startupType">
647   - <xsd:union memberTypes="javaee:null-charType xsd:integer"/>
648   - </xsd:simpleType>
649   -
650   -<!-- **************************************************** -->
651   -
652   - <xsd:complexType name="locale-encoding-mapping-listType">
653   - <xsd:annotation>
654   - <xsd:documentation>
655   -
656   - The locale-encoding-mapping-list contains one or more
657   - locale-encoding-mapping(s).
658   -
659   - </xsd:documentation>
660   - </xsd:annotation>
661   -
662   - <xsd:sequence>
663   - <xsd:element name="locale-encoding-mapping"
664   - type="javaee:locale-encoding-mappingType"
665   - maxOccurs="unbounded"/>
666   - </xsd:sequence>
667   - <xsd:attribute name="id" type="xsd:ID"/>
668   - </xsd:complexType>
669   -
670   -<!-- **************************************************** -->
671   -
672   - <xsd:complexType name="locale-encoding-mappingType">
673   - <xsd:annotation>
674   - <xsd:documentation>
675   -
676   - The locale-encoding-mapping contains locale name and
677   - encoding name. The locale name must be either "Language-code",
678   - such as "ja", defined by ISO-639 or "Language-code_Country-code",
679   - such as "ja_JP". "Country code" is defined by ISO-3166.
680   -
681   - </xsd:documentation>
682   - </xsd:annotation>
683   -
684   - <xsd:sequence>
685   - <xsd:element name="locale"
686   - type="javaee:localeType"/>
687   - <xsd:element name="encoding"
688   - type="javaee:encodingType"/>
689   - </xsd:sequence>
690   - <xsd:attribute name="id" type="xsd:ID"/>
691   - </xsd:complexType>
692   -
693   -<!-- **************************************************** -->
694   -
695   - <xsd:simpleType name="localeType">
696   - <xsd:annotation>
697   - <xsd:documentation>
698   -
699   - The localeType defines valid locale defined by ISO-639-1
700   - and ISO-3166.
701   -
702   - </xsd:documentation>
703   - </xsd:annotation>
704   -
705   - <xsd:restriction base="xsd:string">
706   - <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
707   - </xsd:restriction>
708   - </xsd:simpleType>
709   -
710   -<!-- **************************************************** -->
711   -
712   - <xsd:complexType name="login-configType">
713   - <xsd:annotation>
714   - <xsd:documentation>
715   -
716   - The login-configType is used to configure the authentication
717   - method that should be used, the realm name that should be
718   - used for this application, and the attributes that are
719   - needed by the form login mechanism.
720   -
721   - Used in: web-app
722   -
723   - </xsd:documentation>
724   - </xsd:annotation>
725   -
726   - <xsd:sequence>
727   - <xsd:element name="auth-method"
728   - type="javaee:auth-methodType"
729   - minOccurs="0"/>
730   - <xsd:element name="realm-name"
731   - type="javaee:string" minOccurs="0">
732   - <xsd:annotation>
733   - <xsd:documentation>
734   -
735   - The realm name element specifies the realm name to
736   - use in HTTP Basic authorization.
737   -
738   - </xsd:documentation>
739   - </xsd:annotation>
740   - </xsd:element>
741   - <xsd:element name="form-login-config"
742   - type="javaee:form-login-configType"
743   - minOccurs="0"/>
744   - </xsd:sequence>
745   - <xsd:attribute name="id" type="xsd:ID"/>
746   - </xsd:complexType>
747   -
748   -<!-- **************************************************** -->
749   -
750   - <xsd:complexType name="mime-mappingType">
751   - <xsd:annotation>
752   - <xsd:documentation>
753   -
754   - The mime-mappingType defines a mapping between an extension
755   - and a mime type.
756   -
757   - Used in: web-app
758   -
759   - </xsd:documentation>
760   - </xsd:annotation>
761   -
762   - <xsd:sequence>
763   - <xsd:annotation>
764   - <xsd:documentation>
765   -
766   - The extension element contains a string describing an
767   - extension. example: "txt"
768   -
769   - </xsd:documentation>
770   - </xsd:annotation>
771   -
772   - <xsd:element name="extension"
773   - type="javaee:string"/>
774   - <xsd:element name="mime-type"
775   - type="javaee:mime-typeType"/>
776   - </xsd:sequence>
777   - <xsd:attribute name="id" type="xsd:ID"/>
778   - </xsd:complexType>
779   -
780   -<!-- **************************************************** -->
781   -
782   - <xsd:complexType name="mime-typeType">
783   - <xsd:annotation>
784   - <xsd:documentation>
785   -
786   - The mime-typeType is used to indicate a defined mime type.
787   -
788   - Example:
789   - "text/plain"
790   -
791   - Used in: mime-mapping
792   -
793   - </xsd:documentation>
794   - </xsd:annotation>
795   -
796   - <xsd:simpleContent>
797   - <xsd:restriction base="javaee:string">
798   - <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
799   - </xsd:restriction>
800   - </xsd:simpleContent>
801   - </xsd:complexType>
802   -
803   -<!-- **************************************************** -->
804   -
805   - <xsd:complexType name="nonEmptyStringType">
806   - <xsd:annotation>
807   - <xsd:documentation>
808   - This type defines a string which contains at least one
809   - character.
810   - </xsd:documentation>
811   - </xsd:annotation>
812   - <xsd:simpleContent>
813   - <xsd:restriction base="javaee:string">
814   - <xsd:minLength value="1"/>
815   - </xsd:restriction>
816   - </xsd:simpleContent>
817   - </xsd:complexType>
818   -
819   -<!-- **************************************************** -->
820   -
821   - <xsd:simpleType name="null-charType">
822   - <xsd:restriction base="xsd:string">
823   - <xsd:enumeration value=""/>
824   - </xsd:restriction>
825   - </xsd:simpleType>
826   -
827   -<!-- **************************************************** -->
828   -
829   - <xsd:complexType name="security-constraintType">
830   - <xsd:annotation>
831   - <xsd:documentation>
832   -
833   - The security-constraintType is used to associate
834   - security constraints with one or more web resource
835   - collections
836   -
837   - Used in: web-app
838   -
839   - </xsd:documentation>
840   - </xsd:annotation>
841   -
842   - <xsd:sequence>
843   - <xsd:element name="display-name"
844   - type="javaee:display-nameType"
845   - minOccurs="0"
846   - maxOccurs="unbounded"/>
847   - <xsd:element name="web-resource-collection"
848   - type="javaee:web-resource-collectionType"
849   - maxOccurs="unbounded"/>
850   - <xsd:element name="auth-constraint"
851   - type="javaee:auth-constraintType"
852   - minOccurs="0"/>
853   - <xsd:element name="user-data-constraint"
854   - type="javaee:user-data-constraintType"
855   - minOccurs="0"/>
856   - </xsd:sequence>
857   - <xsd:attribute name="id" type="xsd:ID"/>
858   - </xsd:complexType>
859   -
860   -<!-- **************************************************** -->
861   -
862   - <xsd:complexType name="servlet-mappingType">
863   - <xsd:annotation>
864   - <xsd:documentation>
865   -
866   - The servlet-mappingType defines a mapping between a
867   - servlet and a url pattern.
868   -
869   - Used in: web-app
870   -
871   - </xsd:documentation>
872   - </xsd:annotation>
873   -
874   - <xsd:sequence>
875   - <xsd:element name="servlet-name"
876   - type="javaee:servlet-nameType"/>
877   - <xsd:element name="url-pattern"
878   - type="javaee:url-patternType"
879   - minOccurs="1" maxOccurs="unbounded"/>
880   - </xsd:sequence>
881   - <xsd:attribute name="id" type="xsd:ID"/>
882   - </xsd:complexType>
883   -
884   -<!-- **************************************************** -->
885   -
886   - <xsd:complexType name="servlet-nameType">
887   - <xsd:annotation>
888   - <xsd:documentation>
889   -
890   - The servlet-name element contains the canonical name of the
891   - servlet. Each servlet name is unique within the web
892   - application.
893   -
894   - </xsd:documentation>
895   - </xsd:annotation>
896   -
897   - <xsd:simpleContent>
898   - <xsd:extension base="javaee:nonEmptyStringType"/>
899   - </xsd:simpleContent>
900   - </xsd:complexType>
901   -
902   -<!-- **************************************************** -->
903   -
904   - <xsd:complexType name="servletType">
905   - <xsd:annotation>
906   - <xsd:documentation>
907   -
908   - The servletType is used to declare a servlet.
909   - It contains the declarative data of a
910   - servlet. If a jsp-file is specified and the load-on-startup
911   - element is present, then the JSP should be precompiled and
912   - loaded.
913   -
914   - Used in: web-app
915   -
916   - </xsd:documentation>
917   - </xsd:annotation>
918   -
919   - <xsd:sequence>
920   - <xsd:group ref="javaee:descriptionGroup"/>
921   - <xsd:element name="servlet-name"
922   - type="javaee:servlet-nameType"/>
923   - <xsd:choice>
924   - <xsd:element name="servlet-class"
925   - type="javaee:fully-qualified-classType">
926   - <xsd:annotation>
927   - <xsd:documentation>
928   -
929   - The servlet-class element contains the fully
930   - qualified class name of the servlet.
931   -
932   - </xsd:documentation>
933   - </xsd:annotation>
934   - </xsd:element>
935   -
936   - <xsd:element name="jsp-file"
937   - type="javaee:jsp-fileType"/>
938   -
939   - </xsd:choice>
940   -
941   - <xsd:element name="init-param"
942   - type="javaee:param-valueType"
943   - minOccurs="0" maxOccurs="unbounded"/>
944   - <xsd:element name="load-on-startup"
945   - type="javaee:load-on-startupType"
946   - minOccurs="0">
947   - <xsd:annotation>
948   - <xsd:documentation>
949   -
950   - The load-on-startup element indicates that this
951   - servlet should be loaded (instantiated and have
952   - its init() called) on the startup of the web
953   - application. The optional contents of these
954   - element must be an integer indicating the order in
955   - which the servlet should be loaded. If the value
956   - is a negative integer, or the element is not
957   - present, the container is free to load the servlet
958   - whenever it chooses. If the value is a positive
959   - integer or 0, the container must load and
960   - initialize the servlet as the application is
961   - deployed. The container must guarantee that
962   - servlets marked with lower integers are loaded
963   - before servlets marked with higher integers. The
964   - container may choose the order of loading of
965   - servlets with the same load-on-start-up value.
966   -
967   - </xsd:documentation>
968   - </xsd:annotation>
969   - </xsd:element>
970   - <xsd:element name="run-as"
971   - type="javaee:run-asType"
972   - minOccurs="0"/>
973   - <xsd:element name="security-role-ref"
974   - type="javaee:security-role-refType"
975   - minOccurs="0" maxOccurs="unbounded"/>
976   - </xsd:sequence>
977   - <xsd:attribute name="id" type="xsd:ID"/>
978   - </xsd:complexType>
979   -
980   -<!-- **************************************************** -->
981   -
982   - <xsd:complexType name="session-configType">
983   - <xsd:annotation>
984   - <xsd:documentation>
985   -
986   - The session-configType defines the session parameters
987   - for this web application.
988   -
989   - Used in: web-app
990   -
991   - </xsd:documentation>
992   - </xsd:annotation>
993   -
994   - <xsd:sequence>
995   - <xsd:element name="session-timeout"
996   - type="javaee:xsdIntegerType"
997   - minOccurs="0">
998   - <xsd:annotation>
999   - <xsd:documentation>
1000   -
1001   - The session-timeout element defines the default
1002   - session timeout interval for all sessions created
1003   - in this web application. The specified timeout
1004   - must be expressed in a whole number of minutes.
1005   - If the timeout is 0 or less, the container ensures
1006   - the default behaviour of sessions is never to time
1007   - out. If this element is not specified, the container
1008   - must set its default timeout period.
1009   -
1010   - </xsd:documentation>
1011   - </xsd:annotation>
1012   - </xsd:element>
1013   - </xsd:sequence>
1014   - <xsd:attribute name="id" type="xsd:ID"/>
1015   - </xsd:complexType>
1016   -
1017   -<!-- **************************************************** -->
1018   -
1019   - <xsd:complexType name="transport-guaranteeType">
1020   - <xsd:annotation>
1021   - <xsd:documentation>
1022   -
1023   - The transport-guaranteeType specifies that the communication
1024   - between client and server should be NONE, INTEGRAL, or
1025   - CONFIDENTIAL. NONE means that the application does not
1026   - require any transport guarantees. A value of INTEGRAL means
1027   - that the application requires that the data sent between the
1028   - client and server be sent in such a way that it can't be
1029   - changed in transit. CONFIDENTIAL means that the application
1030   - requires that the data be transmitted in a fashion that
1031   - prevents other entities from observing the contents of the
1032   - transmission. In most cases, the presence of the INTEGRAL or
1033   - CONFIDENTIAL flag will indicate that the use of SSL is
1034   - required.
1035   -
1036   - Used in: user-data-constraint
1037   -
1038   - </xsd:documentation>
1039   - </xsd:annotation>
1040   -
1041   - <xsd:simpleContent>
1042   - <xsd:restriction base="javaee:string">
1043   - <xsd:enumeration value="NONE"/>
1044   - <xsd:enumeration value="INTEGRAL"/>
1045   - <xsd:enumeration value="CONFIDENTIAL"/>
1046   - </xsd:restriction>
1047   - </xsd:simpleContent>
1048   - </xsd:complexType>
1049   -
1050   -<!-- **************************************************** -->
1051   -
1052   - <xsd:complexType name="user-data-constraintType">
1053   - <xsd:annotation>
1054   - <xsd:documentation>
1055   -
1056   - The user-data-constraintType is used to indicate how
1057   - data communicated between the client and container should be
1058   - protected.
1059   -
1060   - Used in: security-constraint
1061   -
1062   - </xsd:documentation>
1063   - </xsd:annotation>
1064   -
1065   - <xsd:sequence>
1066   - <xsd:element name="description"
1067   - type="javaee:descriptionType"
1068   - minOccurs="0"
1069   - maxOccurs="unbounded"/>
1070   - <xsd:element name="transport-guarantee"
1071   - type="javaee:transport-guaranteeType"/>
1072   - </xsd:sequence>
1073   - <xsd:attribute name="id" type="xsd:ID"/>
1074   - </xsd:complexType>
1075   -
1076   -<!-- **************************************************** -->
1077   -
1078   - <xsd:complexType name="war-pathType">
1079   - <xsd:annotation>
1080   - <xsd:documentation>
1081   -
1082   - The elements that use this type designate a path starting
1083   - with a "/" and interpreted relative to the root of a WAR
1084   - file.
1085   -
1086   - </xsd:documentation>
1087   - </xsd:annotation>
1088   - <xsd:simpleContent>
1089   - <xsd:restriction base="javaee:string">
1090   - <xsd:pattern value="/.*"/>
1091   - </xsd:restriction>
1092   - </xsd:simpleContent>
1093   - </xsd:complexType>
1094   -
1095   -<!-- **************************************************** -->
1096   -
1097   - <xsd:simpleType name="web-app-versionType">