web-common_3_0.xsd 51 KB

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