j2ee_1_4.xsd 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema
  3. targetNamespace="http://java.sun.com/xml/ns/j2ee"
  4. xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
  5. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified"
  7. attributeFormDefault="unqualified"
  8. version="1.4">
  9. <xsd:annotation>
  10. <xsd:documentation>
  11. @(#)j2ee_1_4.xsds 1.43 03/09/16
  12. </xsd:documentation>
  13. </xsd:annotation>
  14. <xsd:annotation>
  15. <xsd:documentation>
  16. Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
  17. Road, Palo Alto, California 94303, U.S.A. All rights
  18. reserved.
  19. Sun Microsystems, Inc. has intellectual property rights
  20. relating to technology described in this document. In
  21. particular, and without limitation, these intellectual
  22. property rights may include one or more of the U.S. patents
  23. listed at http://www.sun.com/patents and one or more
  24. additional patents or pending patent applications in the
  25. U.S. and other countries.
  26. This document and the technology which it describes are
  27. distributed under licenses restricting their use, copying,
  28. distribution, and decompilation. No part of this document
  29. may be reproduced in any form by any means without prior
  30. written authorization of Sun and its licensors, if any.
  31. Third-party software, including font technology, is
  32. copyrighted and licensed from Sun suppliers.
  33. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
  34. JavaServer Pages, Enterprise JavaBeans and the Java Coffee
  35. Cup logo are trademarks or registered trademarks of Sun
  36. Microsystems, Inc. in the U.S. and other countries.
  37. Federal Acquisitions: Commercial Software - Government Users
  38. Subject to Standard License Terms and Conditions.
  39. </xsd:documentation>
  40. </xsd:annotation>
  41. <xsd:annotation>
  42. <xsd:documentation>
  43. The following definitions that appear in the common
  44. shareable schema(s) of J2EE deployment descriptors should be
  45. interpreted with respect to the context they are included:
  46. Deployment Component may indicate one of the following:
  47. j2ee application;
  48. application client;
  49. web application;
  50. enterprise bean;
  51. resource adapter;
  52. Deployment File may indicate one of the following:
  53. ear file;
  54. war file;
  55. jar file;
  56. rar file;
  57. </xsd:documentation>
  58. </xsd:annotation>
  59. <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
  60. schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  61. <xsd:include schemaLocation=
  62. "http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd"/>
  63. <!-- **************************************************** -->
  64. <xsd:group name="descriptionGroup">
  65. <xsd:annotation>
  66. <xsd:documentation>
  67. This group keeps the usage of the contained description related
  68. elements consistent across J2EE deployment descriptors.
  69. All elements may occur multiple times with different languages,
  70. to support localization of the content.
  71. </xsd:documentation>
  72. </xsd:annotation>
  73. <xsd:sequence>
  74. <xsd:element name="description"
  75. type="j2ee:descriptionType"
  76. minOccurs="0"
  77. maxOccurs="unbounded"/>
  78. <xsd:element name="display-name"
  79. type="j2ee:display-nameType"
  80. minOccurs="0"
  81. maxOccurs="unbounded"/>
  82. <xsd:element name="icon"
  83. type="j2ee:iconType"
  84. minOccurs="0"
  85. maxOccurs="unbounded"/>
  86. </xsd:sequence>
  87. </xsd:group>
  88. <!-- **************************************************** -->
  89. <xsd:complexType name="descriptionType">
  90. <xsd:annotation>
  91. <xsd:documentation>
  92. The description type is used by a description element to
  93. provide text describing the parent element. The elements
  94. that use this type should include any information that the
  95. Deployment Component's Deployment File file producer wants
  96. to provide to the consumer of the Deployment Component's
  97. Deployment File (i.e., to the Deployer). Typically, the
  98. tools used by such a Deployment File consumer will display
  99. the description when processing the parent element that
  100. contains the description.
  101. The lang attribute defines the language that the
  102. description is provided in. The default value is "en" (English).
  103. </xsd:documentation>
  104. </xsd:annotation>
  105. <xsd:simpleContent>
  106. <xsd:extension base="j2ee:xsdStringType">
  107. <xsd:attribute ref="xml:lang"/>
  108. </xsd:extension>
  109. </xsd:simpleContent>
  110. </xsd:complexType>
  111. <!-- **************************************************** -->
  112. <xsd:simpleType name="dewey-versionType">
  113. <xsd:annotation>
  114. <xsd:documentation>
  115. This type defines a dewey decimal which is used
  116. to describe versions of documents.
  117. </xsd:documentation>
  118. </xsd:annotation>
  119. <xsd:restriction base="xsd:decimal">
  120. <xsd:whiteSpace value="collapse"/>
  121. </xsd:restriction>
  122. </xsd:simpleType>
  123. <!-- **************************************************** -->
  124. <xsd:complexType name="display-nameType">
  125. <xsd:annotation>
  126. <xsd:documentation>
  127. <![CDATA[
  128. The display-name type contains a short name that is intended
  129. to be displayed by tools. It is used by display-name
  130. elements. The display name need not be unique.
  131. Example:
  132. ...
  133. <display-name xml:lang="en">Employee Self Service</display-name>
  134. The value of the xml:lang attribute is "en" (English) by default.
  135. ]]>
  136. </xsd:documentation>
  137. </xsd:annotation>
  138. <xsd:simpleContent>
  139. <xsd:extension base="j2ee:string">
  140. <xsd:attribute ref="xml:lang"/>
  141. </xsd:extension>
  142. </xsd:simpleContent>
  143. </xsd:complexType>
  144. <!-- **************************************************** -->
  145. <xsd:complexType name="ejb-linkType">
  146. <xsd:annotation>
  147. <xsd:documentation>
  148. <![CDATA[
  149. The ejb-linkType is used by ejb-link
  150. elements in the ejb-ref or ejb-local-ref elements to specify
  151. that an EJB reference is linked to enterprise bean.
  152. The value of the ejb-link element must be the ejb-name of an
  153. enterprise bean in the same ejb-jar file or in another ejb-jar
  154. file in the same J2EE application unit.
  155. Alternatively, the name in the ejb-link element may be
  156. composed of a path name specifying the ejb-jar containing the
  157. referenced enterprise bean with the ejb-name of the target
  158. bean appended and separated from the path name by "#". The
  159. path name is relative to the Deployment File containing
  160. Deployment Component that is referencing the enterprise
  161. bean. This allows multiple enterprise beans with the same
  162. ejb-name to be uniquely identified.
  163. Examples:
  164. <ejb-link>EmployeeRecord</ejb-link>
  165. <ejb-link>../products/product.jar#ProductEJB</ejb-link>
  166. ]]>
  167. </xsd:documentation>
  168. </xsd:annotation>
  169. <xsd:simpleContent>
  170. <xsd:restriction base="j2ee:string"/>
  171. </xsd:simpleContent>
  172. </xsd:complexType>
  173. <!-- **************************************************** -->
  174. <xsd:complexType name="ejb-local-refType">
  175. <xsd:annotation>
  176. <xsd:documentation>
  177. The ejb-local-refType is used by ejb-local-ref elements for
  178. the declaration of a reference to an enterprise bean's local
  179. home. The declaration consists of:
  180. - an optional description
  181. - the EJB reference name used in the code of the Deployment
  182. Component that's referencing the enterprise bean
  183. - the expected type of the referenced enterprise bean
  184. - the expected local home and local interfaces of the
  185. referenced enterprise bean
  186. - optional ejb-link information, used to specify the
  187. referenced enterprise bean
  188. </xsd:documentation>
  189. </xsd:annotation>
  190. <xsd:sequence>
  191. <xsd:element name="description"
  192. type="j2ee:descriptionType"
  193. minOccurs="0"
  194. maxOccurs="unbounded"/>
  195. <xsd:element name="ejb-ref-name"
  196. type="j2ee:ejb-ref-nameType"/>
  197. <xsd:element name="ejb-ref-type"
  198. type="j2ee:ejb-ref-typeType"/>
  199. <xsd:element name="local-home"
  200. type="j2ee:local-homeType"/>
  201. <xsd:element name="local"
  202. type="j2ee:localType"/>
  203. <xsd:element name="ejb-link"
  204. type="j2ee:ejb-linkType"
  205. minOccurs="0"/>
  206. </xsd:sequence>
  207. <xsd:attribute name="id" type="xsd:ID"/>
  208. </xsd:complexType>
  209. <!-- **************************************************** -->
  210. <xsd:complexType name="ejb-ref-nameType">
  211. <xsd:annotation>
  212. <xsd:documentation>
  213. <![CDATA[
  214. The ejb-ref-name element contains the name of an EJB
  215. reference. The EJB reference is an entry in the
  216. Deployment Component's environment and is relative to the
  217. java:comp/env context. The name must be unique within the
  218. Deployment Component.
  219. It is recommended that name is prefixed with "ejb/".
  220. Example:
  221. <ejb-ref-name>ejb/Payroll</ejb-ref-name>
  222. ]]>
  223. </xsd:documentation>
  224. </xsd:annotation>
  225. <xsd:simpleContent>
  226. <xsd:restriction base="j2ee:jndi-nameType"/>
  227. </xsd:simpleContent>
  228. </xsd:complexType>
  229. <!-- **************************************************** -->
  230. <xsd:complexType name="ejb-ref-typeType">
  231. <xsd:annotation>
  232. <xsd:documentation>
  233. The ejb-ref-typeType contains the expected type of the
  234. referenced enterprise bean.
  235. The ejb-ref-type designates a value
  236. that must be one of the following:
  237. Entity
  238. Session
  239. </xsd:documentation>
  240. </xsd:annotation>
  241. <xsd:simpleContent>
  242. <xsd:restriction base="j2ee:string">
  243. <xsd:enumeration value="Entity"/>
  244. <xsd:enumeration value="Session"/>
  245. </xsd:restriction>
  246. </xsd:simpleContent>
  247. </xsd:complexType>
  248. <!-- **************************************************** -->
  249. <xsd:complexType name="ejb-refType">
  250. <xsd:annotation>
  251. <xsd:documentation>
  252. The ejb-refType is used by ejb-ref elements for the
  253. declaration of a reference to an enterprise bean's home. The
  254. declaration consists of:
  255. - an optional description
  256. - the EJB reference name used in the code of
  257. the Deployment Component that's referencing the enterprise
  258. bean
  259. - the expected type of the referenced enterprise bean
  260. - the expected home and remote interfaces of the referenced
  261. enterprise bean
  262. - optional ejb-link information, used to specify the
  263. referenced enterprise bean
  264. </xsd:documentation>
  265. </xsd:annotation>
  266. <xsd:sequence>
  267. <xsd:element name="description"
  268. type="j2ee:descriptionType"
  269. minOccurs="0"
  270. maxOccurs="unbounded"/>
  271. <xsd:element name="ejb-ref-name"
  272. type="j2ee:ejb-ref-nameType"/>
  273. <xsd:element name="ejb-ref-type"
  274. type="j2ee:ejb-ref-typeType"/>
  275. <xsd:element name="home"
  276. type="j2ee:homeType"/>
  277. <xsd:element name="remote"
  278. type="j2ee:remoteType"/>
  279. <xsd:element name="ejb-link"
  280. type="j2ee:ejb-linkType"
  281. minOccurs="0"/>
  282. </xsd:sequence>
  283. <xsd:attribute name="id" type="xsd:ID"/>
  284. </xsd:complexType>
  285. <!-- **************************************************** -->
  286. <xsd:complexType name="emptyType">
  287. <xsd:annotation>
  288. <xsd:documentation>
  289. This type is used to designate an empty
  290. element when used.
  291. </xsd:documentation>
  292. </xsd:annotation>
  293. <xsd:attribute name="id" type="xsd:ID"/>
  294. </xsd:complexType>
  295. <!-- **************************************************** -->
  296. <xsd:complexType name="env-entry-type-valuesType">
  297. <xsd:annotation>
  298. <xsd:documentation>
  299. <![CDATA[
  300. This type contains the fully-qualified Java type of the
  301. environment entry value that is expected by the
  302. application's code.
  303. The following are the legal values of env-entry-type-valuesType:
  304. java.lang.Boolean
  305. java.lang.Byte
  306. java.lang.Character
  307. java.lang.String
  308. java.lang.Short
  309. java.lang.Integer
  310. java.lang.Long
  311. java.lang.Float
  312. java.lang.Double
  313. Example:
  314. <env-entry-type>java.lang.Boolean</env-entry-type>
  315. ]]>
  316. </xsd:documentation>
  317. </xsd:annotation>
  318. <xsd:simpleContent>
  319. <xsd:restriction base="j2ee:string">
  320. <xsd:enumeration value="java.lang.Boolean"/>
  321. <xsd:enumeration value="java.lang.Byte"/>
  322. <xsd:enumeration value="java.lang.Character"/>
  323. <xsd:enumeration value="java.lang.String"/>
  324. <xsd:enumeration value="java.lang.Short"/>
  325. <xsd:enumeration value="java.lang.Integer"/>
  326. <xsd:enumeration value="java.lang.Long"/>
  327. <xsd:enumeration value="java.lang.Float"/>
  328. <xsd:enumeration value="java.lang.Double"/>
  329. </xsd:restriction>
  330. </xsd:simpleContent>
  331. </xsd:complexType>
  332. <!-- **************************************************** -->
  333. <xsd:complexType name="env-entryType">
  334. <xsd:annotation>
  335. <xsd:documentation>
  336. The env-entryType is used to declare an application's
  337. environment entry. The declaration consists of an optional
  338. description, the name of the environment entry, and an
  339. optional value. If a value is not specified, one must be
  340. supplied during deployment.
  341. It is used by env-entry elements.
  342. </xsd:documentation>
  343. </xsd:annotation>
  344. <xsd:sequence>
  345. <xsd:element name="description"
  346. type="j2ee:descriptionType"
  347. minOccurs="0"
  348. maxOccurs="unbounded"/>
  349. <xsd:element name="env-entry-name"
  350. type="j2ee:jndi-nameType">
  351. <xsd:annotation>
  352. <xsd:documentation>
  353. <![CDATA[
  354. The env-entry-name element contains the name of a
  355. Deployment Component's environment entry. The name
  356. is a JNDI name relative to the java:comp/env
  357. context. The name must be unique within a
  358. Deployment Component. The uniqueness
  359. constraints must be defined within the declared
  360. context.
  361. Example:
  362. <env-entry-name>minAmount</env-entry-name>
  363. ]]>
  364. </xsd:documentation>
  365. </xsd:annotation>
  366. </xsd:element>
  367. <xsd:element name="env-entry-type"
  368. type="j2ee:env-entry-type-valuesType"/>
  369. <xsd:element name="env-entry-value"
  370. type="j2ee:xsdStringType"
  371. minOccurs="0">
  372. <xsd:annotation>
  373. <xsd:documentation>
  374. <![CDATA[
  375. The env-entry-value designates the value of a
  376. Deployment Component's environment entry. The value
  377. must be a String that is valid for the
  378. constructor of the specified type that takes a
  379. single String parameter, or for java.lang.Character,
  380. a single character.
  381. Example:
  382. <env-entry-value>100.00</env-entry-value>
  383. ]]>
  384. </xsd:documentation>
  385. </xsd:annotation>
  386. </xsd:element>
  387. </xsd:sequence>
  388. <xsd:attribute name="id" type="xsd:ID"/>
  389. </xsd:complexType>
  390. <!-- **************************************************** -->
  391. <xsd:complexType name="fully-qualified-classType">
  392. <xsd:annotation>
  393. <xsd:documentation>
  394. The elements that use this type designate the name of a
  395. Java class or interface. The name is in the form of a
  396. "binary name", as defined in the JLS. This is the form
  397. of name used in Class.forName(). Tools that need the
  398. canonical name (the name used in source code) will need
  399. to convert this binary name to the canonical name.
  400. </xsd:documentation>
  401. </xsd:annotation>
  402. <xsd:simpleContent>
  403. <xsd:restriction base="j2ee:string"/>
  404. </xsd:simpleContent>
  405. </xsd:complexType>
  406. <!-- **************************************************** -->
  407. <xsd:complexType name="generic-booleanType">
  408. <xsd:annotation>
  409. <xsd:documentation>
  410. This type defines four different values which can designate
  411. boolean values. This includes values yes and no which are
  412. not designated by xsd:boolean
  413. </xsd:documentation>
  414. </xsd:annotation>
  415. <xsd:simpleContent>
  416. <xsd:restriction base="j2ee:string">
  417. <xsd:enumeration value="true"/>
  418. <xsd:enumeration value="false"/>
  419. <xsd:enumeration value="yes"/>
  420. <xsd:enumeration value="no"/>
  421. </xsd:restriction>
  422. </xsd:simpleContent>
  423. </xsd:complexType>
  424. <!-- **************************************************** -->
  425. <xsd:complexType name="homeType">
  426. <xsd:annotation>
  427. <xsd:documentation>
  428. <![CDATA[
  429. The homeType defines the fully-qualified name of
  430. an enterprise bean's home interface.
  431. Example:
  432. <home>com.aardvark.payroll.PayrollHome</home>
  433. ]]>
  434. </xsd:documentation>
  435. </xsd:annotation>
  436. <xsd:simpleContent>
  437. <xsd:restriction base="j2ee:fully-qualified-classType"/>
  438. </xsd:simpleContent>
  439. </xsd:complexType>
  440. <!-- **************************************************** -->
  441. <xsd:complexType name="iconType">
  442. <xsd:annotation>
  443. <xsd:documentation>
  444. The icon type contains small-icon and large-icon elements
  445. that specify the file names for small and large GIF or
  446. JPEG icon images used to represent the parent element in a
  447. GUI tool.
  448. The xml:lang attribute defines the language that the
  449. icon file names are provided in. Its value is "en" (English)
  450. by default.
  451. </xsd:documentation>
  452. </xsd:annotation>
  453. <xsd:sequence>
  454. <xsd:element name="small-icon" type="j2ee:pathType"
  455. minOccurs="0">
  456. <xsd:annotation>
  457. <xsd:documentation>
  458. <![CDATA[
  459. The small-icon element contains the name of a file
  460. containing a small (16 x 16) icon image. The file
  461. name is a relative path within the Deployment
  462. Component's Deployment File.
  463. The image may be either in the JPEG or GIF format.
  464. The icon can be used by tools.
  465. Example:
  466. <small-icon>employee-service-icon16x16.jpg</small-icon>
  467. ]]>
  468. </xsd:documentation>
  469. </xsd:annotation>
  470. </xsd:element>
  471. <xsd:element name="large-icon" type="j2ee:pathType"
  472. minOccurs="0">
  473. <xsd:annotation>
  474. <xsd:documentation>
  475. <![CDATA[
  476. The large-icon element contains the name of a file
  477. containing a large
  478. (32 x 32) icon image. The file name is a relative
  479. path within the Deployment Component's Deployment
  480. File.
  481. The image may be either in the JPEG or GIF format.
  482. The icon can be used by tools.
  483. Example:
  484. <large-icon>employee-service-icon32x32.jpg</large-icon>
  485. ]]>
  486. </xsd:documentation>
  487. </xsd:annotation>
  488. </xsd:element>
  489. </xsd:sequence>
  490. <xsd:attribute ref="xml:lang"/>
  491. <xsd:attribute name="id" type="xsd:ID"/>
  492. </xsd:complexType>
  493. <!-- **************************************************** -->
  494. <xsd:complexType name="java-identifierType">
  495. <xsd:annotation>
  496. <xsd:documentation>
  497. The java-identifierType defines a Java identifier.
  498. The users of this type should further verify that
  499. the content does not contain Java reserved keywords.
  500. </xsd:documentation>
  501. </xsd:annotation>
  502. <xsd:simpleContent>
  503. <xsd:restriction base="j2ee:string">
  504. <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/>
  505. </xsd:restriction>
  506. </xsd:simpleContent>
  507. </xsd:complexType>
  508. <!-- **************************************************** -->
  509. <xsd:complexType name="java-typeType">
  510. <xsd:annotation>
  511. <xsd:documentation>
  512. This is a generic type that designates a Java primitive
  513. type or a fully qualified name of a Java interface/type,
  514. or an array of such types.
  515. </xsd:documentation>
  516. </xsd:annotation>
  517. <xsd:simpleContent>
  518. <xsd:restriction base="j2ee:string">
  519. <xsd:pattern value="[^\p{Z}]*"/>
  520. </xsd:restriction>
  521. </xsd:simpleContent>
  522. </xsd:complexType>
  523. <!-- **************************************************** -->
  524. <xsd:complexType name="jndi-nameType">
  525. <xsd:annotation>
  526. <xsd:documentation>
  527. The jndi-nameType type designates a JNDI name in the
  528. Deployment Component's environment and is relative to the
  529. java:comp/env context. A JNDI name must be unique within the
  530. Deployment Component.
  531. </xsd:documentation>
  532. </xsd:annotation>
  533. <xsd:simpleContent>
  534. <xsd:restriction base="j2ee:string"/>
  535. </xsd:simpleContent>
  536. </xsd:complexType>
  537. <!-- **************************************************** -->
  538. <xsd:group name="jndiEnvironmentRefsGroup">
  539. <xsd:annotation>
  540. <xsd:documentation>
  541. This group keeps the usage of the contained JNDI environment
  542. reference elements consistent across J2EE deployment descriptors.
  543. </xsd:documentation>
  544. </xsd:annotation>
  545. <xsd:sequence>
  546. <xsd:element name="env-entry"
  547. type="j2ee:env-entryType"
  548. minOccurs="0" maxOccurs="unbounded"/>
  549. <xsd:element name="ejb-ref"
  550. type="j2ee:ejb-refType"
  551. minOccurs="0" maxOccurs="unbounded"/>
  552. <xsd:element name="ejb-local-ref"
  553. type="j2ee:ejb-local-refType"
  554. minOccurs="0" maxOccurs="unbounded"/>
  555. <xsd:group ref="j2ee:service-refGroup"/>
  556. <xsd:element name="resource-ref"
  557. type="j2ee:resource-refType"
  558. minOccurs="0" maxOccurs="unbounded"/>
  559. <xsd:element name="resource-env-ref"
  560. type="j2ee:resource-env-refType"
  561. minOccurs="0" maxOccurs="unbounded"/>
  562. <xsd:element name="message-destination-ref"
  563. type="j2ee:message-destination-refType"
  564. minOccurs="0" maxOccurs="unbounded"/>
  565. </xsd:sequence>
  566. </xsd:group>
  567. <!-- **************************************************** -->
  568. <xsd:complexType name="listenerType">
  569. <xsd:annotation>
  570. <xsd:documentation>
  571. The listenerType indicates the deployment properties for a web
  572. application listener bean.
  573. </xsd:documentation>
  574. </xsd:annotation>
  575. <xsd:sequence>
  576. <xsd:group ref="j2ee:descriptionGroup"/>
  577. <xsd:element name="listener-class"
  578. type="j2ee:fully-qualified-classType">
  579. <xsd:annotation>
  580. <xsd:documentation>
  581. The listener-class element declares a class in the
  582. application must be registered as a web
  583. application listener bean. The value is the fully
  584. qualified classname of the listener class.
  585. </xsd:documentation>
  586. </xsd:annotation>
  587. </xsd:element>
  588. </xsd:sequence>
  589. <xsd:attribute name="id" type="xsd:ID"/>
  590. </xsd:complexType>
  591. <!-- **************************************************** -->
  592. <xsd:complexType name="local-homeType">
  593. <xsd:annotation>
  594. <xsd:documentation>
  595. The local-homeType defines the fully-qualified
  596. name of an enterprise bean's local home interface.
  597. </xsd:documentation>
  598. </xsd:annotation>
  599. <xsd:simpleContent>
  600. <xsd:restriction base="j2ee:fully-qualified-classType"/>
  601. </xsd:simpleContent>
  602. </xsd:complexType>
  603. <!-- **************************************************** -->
  604. <xsd:complexType name="localType">
  605. <xsd:annotation>
  606. <xsd:documentation>
  607. The localType defines the fully-qualified name of an
  608. enterprise bean's local interface.
  609. </xsd:documentation>
  610. </xsd:annotation>
  611. <xsd:simpleContent>
  612. <xsd:restriction base="j2ee:fully-qualified-classType"/>
  613. </xsd:simpleContent>
  614. </xsd:complexType>
  615. <!-- **************************************************** -->
  616. <xsd:complexType name="message-destination-linkType">
  617. <xsd:annotation>
  618. <xsd:documentation>
  619. The message-destination-linkType is used to link a message
  620. destination reference or message-driven bean to a message
  621. destination.
  622. The Assembler sets the value to reflect the flow of messages
  623. between producers and consumers in the application.
  624. The value must be the message-destination-name of a message
  625. destination in the same Deployment File or in another
  626. Deployment File in the same J2EE application unit.
  627. Alternatively, the value may be composed of a path name
  628. specifying a Deployment File containing the referenced
  629. message destination with the message-destination-name of the
  630. destination appended and separated from the path name by
  631. "#". The path name is relative to the Deployment File
  632. containing Deployment Component that is referencing the
  633. message destination. This allows multiple message
  634. destinations with the same name to be uniquely identified.
  635. </xsd:documentation>
  636. </xsd:annotation>
  637. <xsd:simpleContent>
  638. <xsd:restriction base="j2ee:string"/>
  639. </xsd:simpleContent>
  640. </xsd:complexType>
  641. <!-- **************************************************** -->
  642. <xsd:complexType name="message-destination-refType">
  643. <xsd:annotation>
  644. <xsd:documentation>
  645. <![CDATA[
  646. The message-destination-ref element contains a declaration
  647. of Deployment Component's reference to a message destination
  648. associated with a resource in Deployment Component's
  649. environment. It consists of:
  650. - an optional description
  651. - the message destination reference name
  652. - the message destination type
  653. - a specification as to whether the
  654. destination is used for
  655. consuming or producing messages, or both
  656. - a link to the message destination
  657. Examples:
  658. <message-destination-ref>
  659. <message-destination-ref-name>jms/StockQueue
  660. </message-destination-ref-name>
  661. <message-destination-type>javax.jms.Queue
  662. </message-destination-type>
  663. <message-destination-usage>Consumes
  664. </message-destination-usage>
  665. <message-destination-link>CorporateStocks
  666. </message-destination-link>
  667. </message-destination-ref>
  668. ]]>
  669. </xsd:documentation>
  670. </xsd:annotation>
  671. <xsd:sequence>
  672. <xsd:element name="description"
  673. type="j2ee:descriptionType"
  674. minOccurs="0"
  675. maxOccurs="unbounded"/>
  676. <xsd:element name="message-destination-ref-name"
  677. type="j2ee:jndi-nameType">
  678. <xsd:annotation>
  679. <xsd:documentation>
  680. The message-destination-ref-name element specifies
  681. the name of a message destination reference; its
  682. value is the environment entry name used in
  683. Deployment Component code. The name is a JNDI name
  684. relative to the java:comp/env context and must be
  685. unique within an ejb-jar (for enterprise beans) or a
  686. Deployment File (for others).
  687. </xsd:documentation>
  688. </xsd:annotation>
  689. </xsd:element>
  690. <xsd:element name="message-destination-type"
  691. type="j2ee:message-destination-typeType"/>
  692. <xsd:element name="message-destination-usage"
  693. type="j2ee:message-destination-usageType"/>
  694. <xsd:element name="message-destination-link"
  695. type="j2ee:message-destination-linkType"
  696. minOccurs="0"/>
  697. </xsd:sequence>
  698. <xsd:attribute name="id" type="xsd:ID"/>
  699. </xsd:complexType>
  700. <!-- **************************************************** -->
  701. <xsd:complexType name="message-destination-typeType">
  702. <xsd:annotation>
  703. <xsd:documentation>
  704. <![CDATA[
  705. The message-destination-typeType specifies the type of
  706. the destination. The type is specified by the Java interface
  707. expected to be implemented by the destination.
  708. Example:
  709. <message-destination-type>javax.jms.Queue
  710. </message-destination-type>
  711. ]]>
  712. </xsd:documentation>
  713. </xsd:annotation>
  714. <xsd:simpleContent>
  715. <xsd:restriction base="j2ee:fully-qualified-classType"/>
  716. </xsd:simpleContent>
  717. </xsd:complexType>
  718. <!-- **************************************************** -->
  719. <xsd:complexType name="message-destination-usageType">
  720. <xsd:annotation>
  721. <xsd:documentation>
  722. The message-destination-usageType specifies the use of the
  723. message destination indicated by the reference. The value
  724. indicates whether messages are consumed from the message
  725. destination, produced for the destination, or both. The
  726. Assembler makes use of this information in linking producers
  727. of a destination with its consumers.
  728. The value of the message-destination-usage element must be
  729. one of the following:
  730. Consumes
  731. Produces
  732. ConsumesProduces
  733. </xsd:documentation>
  734. </xsd:annotation>
  735. <xsd:simpleContent>
  736. <xsd:restriction base="j2ee:string">
  737. <xsd:enumeration value="Consumes"/>
  738. <xsd:enumeration value="Produces"/>
  739. <xsd:enumeration value="ConsumesProduces"/>
  740. </xsd:restriction>
  741. </xsd:simpleContent>
  742. </xsd:complexType>
  743. <!-- **************************************************** -->
  744. <xsd:complexType name="message-destinationType">
  745. <xsd:annotation>
  746. <xsd:documentation>
  747. <![CDATA[
  748. The message-destinationType specifies a message
  749. destination. The logical destination described by this
  750. element is mapped to a physical destination by the Deployer.
  751. The message destination element contains:
  752. - an optional description
  753. - an optional display-name
  754. - an optional icon
  755. - a message destination name which must be unique
  756. among message destination names within the same
  757. Deployment File.
  758. Example:
  759. <message-destination>
  760. <message-destination-name>CorporateStocks
  761. </message-destination-name>
  762. </message-destination>
  763. ]]>
  764. </xsd:documentation>
  765. </xsd:annotation>
  766. <xsd:sequence>
  767. <xsd:group ref="j2ee:descriptionGroup"/>
  768. <xsd:element name="message-destination-name"
  769. type="j2ee:string">
  770. <xsd:annotation>
  771. <xsd:documentation>
  772. The message-destination-name element specifies a
  773. name for a message destination. This name must be
  774. unique among the names of message destinations
  775. within the Deployment File.
  776. </xsd:documentation>
  777. </xsd:annotation>
  778. </xsd:element>
  779. </xsd:sequence>
  780. <xsd:attribute name="id" type="xsd:ID"/>
  781. </xsd:complexType>
  782. <!-- **************************************************** -->
  783. <xsd:complexType name="param-valueType">
  784. <xsd:annotation>
  785. <xsd:documentation>
  786. This type is a general type that can be used to declare
  787. parameter/value lists.
  788. </xsd:documentation>
  789. </xsd:annotation>
  790. <xsd:sequence>
  791. <xsd:element name="description"
  792. type="j2ee:descriptionType"
  793. minOccurs="0"
  794. maxOccurs="unbounded"/>
  795. <xsd:element name="param-name"
  796. type="j2ee:string">
  797. <xsd:annotation>
  798. <xsd:documentation>
  799. The param-name element contains the name of a
  800. parameter.
  801. </xsd:documentation>
  802. </xsd:annotation>
  803. </xsd:element>
  804. <xsd:element name="param-value"
  805. type="j2ee:xsdStringType">
  806. <xsd:annotation>
  807. <xsd:documentation>
  808. The param-value element contains the value of a
  809. parameter.
  810. </xsd:documentation>
  811. </xsd:annotation>
  812. </xsd:element>
  813. </xsd:sequence>
  814. <xsd:attribute name="id" type="xsd:ID"/>
  815. </xsd:complexType>
  816. <!-- **************************************************** -->
  817. <xsd:complexType name="pathType">
  818. <xsd:annotation>
  819. <xsd:documentation>
  820. The elements that use this type designate either a relative
  821. path or an absolute path starting with a "/".
  822. In elements that specify a pathname to a file within the
  823. same Deployment File, relative filenames (i.e., those not
  824. starting with "/") are considered relative to the root of
  825. the Deployment File's namespace. Absolute filenames (i.e.,
  826. those starting with "/") also specify names in the root of
  827. the Deployment File's namespace. In general, relative names
  828. are preferred. The exception is .war files where absolute
  829. names are preferred for consistency with the Servlet API.
  830. </xsd:documentation>
  831. </xsd:annotation>
  832. <xsd:simpleContent>
  833. <xsd:restriction base="j2ee:string"/>
  834. </xsd:simpleContent>
  835. </xsd:complexType>
  836. <!-- **************************************************** -->
  837. <xsd:complexType name="remoteType">
  838. <xsd:annotation>
  839. <xsd:documentation>
  840. <![CDATA[
  841. The remote element contains the fully-qualified name
  842. of the enterprise bean's remote interface.
  843. Example:
  844. <remote>com.wombat.empl.EmployeeService</remote>
  845. ]]>
  846. </xsd:documentation>
  847. </xsd:annotation>
  848. <xsd:simpleContent>
  849. <xsd:restriction base="j2ee:fully-qualified-classType"/>
  850. </xsd:simpleContent>
  851. </xsd:complexType>
  852. <!-- **************************************************** -->
  853. <xsd:complexType name="res-authType">
  854. <xsd:annotation>
  855. <xsd:documentation>
  856. The res-authType specifies whether the Deployment Component
  857. code signs on programmatically to the resource manager, or
  858. whether the Container will sign on to the resource manager
  859. on behalf of the Deployment Component. In the latter case,
  860. the Container uses information that is supplied by the
  861. Deployer.
  862. The value must be one of the two following:
  863. Application
  864. Container
  865. </xsd:documentation>
  866. </xsd:annotation>
  867. <xsd:simpleContent>
  868. <xsd:restriction base="j2ee:string">
  869. <xsd:enumeration value="Application"/>
  870. <xsd:enumeration value="Container"/>
  871. </xsd:restriction>
  872. </xsd:simpleContent>
  873. </xsd:complexType>
  874. <!-- **************************************************** -->
  875. <xsd:complexType name="res-sharing-scopeType">
  876. <xsd:annotation>
  877. <xsd:documentation>
  878. The res-sharing-scope type specifies whether connections
  879. obtained through the given resource manager connection
  880. factory reference can be shared. The value, if specified,
  881. must be one of the two following:
  882. Shareable
  883. Unshareable
  884. The default value is Shareable.
  885. </xsd:documentation>
  886. </xsd:annotation>
  887. <xsd:simpleContent>
  888. <xsd:restriction base="j2ee:string">
  889. <xsd:enumeration value="Shareable"/>
  890. <xsd:enumeration value="Unshareable"/>
  891. </xsd:restriction>
  892. </xsd:simpleContent>
  893. </xsd:complexType>
  894. <!-- **************************************************** -->
  895. <xsd:complexType name="resource-env-refType">
  896. <xsd:annotation>
  897. <xsd:documentation>
  898. <![CDATA[
  899. The resource-env-refType is used to define
  900. resource-env-type elements. It contains a declaration of a
  901. Deployment Component's reference to an administered object
  902. associated with a resource in the Deployment Component's
  903. environment. It consists of an optional description, the
  904. resource environment reference name, and an indication of
  905. the resource environment reference type expected by the
  906. Deployment Component code.
  907. Example:
  908. <resource-env-ref>
  909. <resource-env-ref-name>jms/StockQueue
  910. </resource-env-ref-name>
  911. <resource-env-ref-type>javax.jms.Queue
  912. </resource-env-ref-type>
  913. </resource-env-ref>
  914. ]]>
  915. </xsd:documentation>
  916. </xsd:annotation>
  917. <xsd:sequence>
  918. <xsd:element name="description"
  919. type="j2ee:descriptionType"
  920. minOccurs="0"
  921. maxOccurs="unbounded"/>
  922. <xsd:element name="resource-env-ref-name"
  923. type="j2ee:jndi-nameType">
  924. <xsd:annotation>
  925. <xsd:documentation>
  926. The resource-env-ref-name element specifies the name
  927. of a resource environment reference; its value is
  928. the environment entry name used in
  929. the Deployment Component code. The name is a JNDI
  930. name relative to the java:comp/env context and must
  931. be unique within a Deployment Component.
  932. </xsd:documentation>
  933. </xsd:annotation>
  934. </xsd:element>
  935. <xsd:element name="resource-env-ref-type"
  936. type="j2ee:fully-qualified-classType">
  937. <xsd:annotation>
  938. <xsd:documentation>
  939. The resource-env-ref-type element specifies the type
  940. of a resource environment reference. It is the
  941. fully qualified name of a Java language class or
  942. interface.
  943. </xsd:documentation>
  944. </xsd:annotation>
  945. </xsd:element>
  946. </xsd:sequence>
  947. <xsd:attribute name="id" type="xsd:ID"/>
  948. </xsd:complexType>
  949. <!-- **************************************************** -->
  950. <xsd:complexType name="resource-refType">
  951. <xsd:annotation>
  952. <xsd:documentation>
  953. <![CDATA[
  954. The resource-refType contains a declaration of a
  955. Deployment Component's reference to an external resource. It
  956. consists of an optional description, the resource manager
  957. connection factory reference name, the indication of the
  958. resource manager connection factory type expected by the
  959. Deployment Component code, the type of authentication
  960. (Application or Container), and an optional specification of
  961. the shareability of connections obtained from the resource
  962. (Shareable or Unshareable).
  963. Example:
  964. <resource-ref>
  965. <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
  966. <res-type>javax.sql.DataSource</res-type>
  967. <res-auth>Container</res-auth>
  968. <res-sharing-scope>Shareable</res-sharing-scope>
  969. </resource-ref>
  970. ]]>
  971. </xsd:documentation>
  972. </xsd:annotation>
  973. <xsd:sequence>
  974. <xsd:element name="description"
  975. type="j2ee:descriptionType"
  976. minOccurs="0"
  977. maxOccurs="unbounded"/>
  978. <xsd:element name="res-ref-name"
  979. type="j2ee:jndi-nameType">
  980. <xsd:annotation>
  981. <xsd:documentation>
  982. The res-ref-name element specifies the name of a
  983. resource manager connection factory reference.
  984. The name is a JNDI name relative to the
  985. java:comp/env context.
  986. The name must be unique within a Deployment File.
  987. </xsd:documentation>
  988. </xsd:annotation>
  989. </xsd:element>
  990. <xsd:element name="res-type"
  991. type="j2ee:fully-qualified-classType">
  992. <xsd:annotation>
  993. <xsd:documentation>
  994. The res-type element specifies the type of the data
  995. source. The type is specified by the fully qualified
  996. Java language class or interface
  997. expected to be implemented by the data source.
  998. </xsd:documentation>
  999. </xsd:annotation>
  1000. </xsd:element>
  1001. <xsd:element name="res-auth"
  1002. type="j2ee:res-authType"/>
  1003. <xsd:element name="res-sharing-scope"
  1004. type="j2ee:res-sharing-scopeType"
  1005. minOccurs="0"/>
  1006. </xsd:sequence>
  1007. <xsd:attribute name="id" type="xsd:ID"/>
  1008. </xsd:complexType>
  1009. <!-- **************************************************** -->
  1010. <xsd:complexType name="role-nameType">
  1011. <xsd:annotation>
  1012. <xsd:documentation>
  1013. The role-nameType designates the name of a security role.
  1014. The name must conform to the lexical rules for a token.
  1015. </xsd:documentation>
  1016. </xsd:annotation>
  1017. <xsd:simpleContent>
  1018. <xsd:restriction base="j2ee:string"/>
  1019. </xsd:simpleContent>
  1020. </xsd:complexType>
  1021. <!-- **************************************************** -->
  1022. <xsd:complexType name="run-asType">
  1023. <xsd:annotation>
  1024. <xsd:documentation>
  1025. The run-asType specifies the run-as identity to be
  1026. used for the execution of a component. It contains an
  1027. optional description, and the name of a security role.
  1028. </xsd:documentation>
  1029. </xsd:annotation>
  1030. <xsd:sequence>
  1031. <xsd:element name="description"
  1032. type="j2ee:descriptionType"
  1033. minOccurs="0"
  1034. maxOccurs="unbounded"/>
  1035. <xsd:element name="role-name"
  1036. type="j2ee:role-nameType"/>
  1037. </xsd:sequence>
  1038. <xsd:attribute name="id" type="xsd:ID"/>
  1039. </xsd:complexType>
  1040. <!-- **************************************************** -->
  1041. <xsd:complexType name="security-role-refType">
  1042. <xsd:annotation>
  1043. <xsd:documentation>
  1044. The security-role-refType contains the declaration of a
  1045. security role reference in a component's or a
  1046. Deployment Component's code. The declaration consists of an
  1047. optional description, the security role name used in the
  1048. code, and an optional link to a security role. If the
  1049. security role is not specified, the Deployer must choose an
  1050. appropriate security role.
  1051. </xsd:documentation>
  1052. </xsd:annotation>
  1053. <xsd:sequence>
  1054. <xsd:element name="description"
  1055. type="j2ee:descriptionType"
  1056. minOccurs="0"
  1057. maxOccurs="unbounded"/>
  1058. <xsd:element name="role-name"
  1059. type="j2ee:role-nameType">
  1060. <xsd:annotation>
  1061. <xsd:documentation>
  1062. The value of the role-name element must be the String used
  1063. as the parameter to the
  1064. EJBContext.isCallerInRole(String roleName) method or the
  1065. HttpServletRequest.isUserInRole(String role) method.
  1066. </xsd:documentation>
  1067. </xsd:annotation>
  1068. </xsd:element>
  1069. <xsd:element name="role-link"
  1070. type="j2ee:role-nameType"
  1071. minOccurs="0">
  1072. <xsd:annotation>
  1073. <xsd:documentation>
  1074. The role-link element is a reference to a defined
  1075. security role. The role-link element must contain
  1076. the name of one of the security roles defined in the
  1077. security-role elements.
  1078. </xsd:documentation>
  1079. </xsd:annotation>
  1080. </xsd:element>
  1081. </xsd:sequence>
  1082. <xsd:attribute name="id" type="xsd:ID"/>
  1083. </xsd:complexType>
  1084. <!-- **************************************************** -->
  1085. <xsd:complexType name="security-roleType">
  1086. <xsd:annotation>
  1087. <xsd:documentation>
  1088. <![CDATA[
  1089. The security-roleType contains the definition of a security
  1090. role. The definition consists of an optional description of the
  1091. security role, and the security role name.
  1092. Example:
  1093. <security-role>
  1094. <description>
  1095. This role includes all employees who are authorized
  1096. to access the employee service application.
  1097. </description>
  1098. <role-name>employee</role-name>
  1099. </security-role>
  1100. ]]>
  1101. </xsd:documentation>
  1102. </xsd:annotation>
  1103. <xsd:sequence>
  1104. <xsd:element name="description"
  1105. type="j2ee:descriptionType"
  1106. minOccurs="0"
  1107. maxOccurs="unbounded"/>
  1108. <xsd:element name="role-name"
  1109. type="j2ee:role-nameType"/>
  1110. </xsd:sequence>
  1111. <xsd:attribute name="id" type="xsd:ID"/>
  1112. </xsd:complexType>
  1113. <!-- **************************************************** -->
  1114. <xsd:complexType name="string">
  1115. <xsd:annotation>
  1116. <xsd:documentation>
  1117. This is a special string datatype that is defined by J2EE as
  1118. a base type for defining collapsed strings. When schemas
  1119. require trailing/leading space elimination as well as
  1120. collapsing the existing whitespace, this base type may be
  1121. used.
  1122. </xsd:documentation>
  1123. </xsd:annotation>
  1124. <xsd:simpleContent>
  1125. <xsd:extension base="xsd:token">
  1126. <xsd:attribute name="id" type="xsd:ID"/>
  1127. </xsd:extension>
  1128. </xsd:simpleContent>
  1129. </xsd:complexType>
  1130. <!-- **************************************************** -->
  1131. <xsd:complexType name="true-falseType">
  1132. <xsd:annotation>
  1133. <xsd:documentation>
  1134. This simple type designates a boolean with only two
  1135. permissible values
  1136. - true
  1137. - false
  1138. </xsd:documentation>
  1139. </xsd:annotation>
  1140. <xsd:simpleContent>
  1141. <xsd:restriction base="j2ee:xsdBooleanType">
  1142. <xsd:pattern value="(true|false)"/>
  1143. </xsd:restriction>
  1144. </xsd:simpleContent>
  1145. </xsd:complexType>
  1146. <!-- **************************************************** -->
  1147. <xsd:complexType name="url-patternType">
  1148. <xsd:annotation>
  1149. <xsd:documentation>
  1150. The url-patternType contains the url pattern of the mapping.
  1151. It must follow the rules specified in Section 11.2 of the
  1152. Servlet API Specification. This pattern is assumed to be in
  1153. URL-decoded form and must not contain CR(#xD) or LF(#xA).
  1154. If it contains those characters, the container must inform
  1155. the developer with a descriptive error message.
  1156. The container must preserve all characters including whitespaces.
  1157. </xsd:documentation>
  1158. </xsd:annotation>
  1159. <xsd:simpleContent>
  1160. <xsd:extension base="xsd:string"/>
  1161. </xsd:simpleContent>
  1162. </xsd:complexType>
  1163. <!-- **************************************************** -->
  1164. <xsd:complexType name="xsdAnyURIType">
  1165. <xsd:annotation>
  1166. <xsd:documentation>
  1167. This type adds an "id" attribute to xsd:anyURI.
  1168. </xsd:documentation>
  1169. </xsd:annotation>
  1170. <xsd:simpleContent>
  1171. <xsd:extension base="xsd:anyURI">
  1172. <xsd:attribute name="id" type="xsd:ID"/>
  1173. </xsd:extension>
  1174. </xsd:simpleContent>
  1175. </xsd:complexType>
  1176. <!-- **************************************************** -->
  1177. <xsd:complexType name="xsdBooleanType">
  1178. <xsd:annotation>
  1179. <xsd:documentation>
  1180. This type adds an "id" attribute to xsd:boolean.
  1181. </xsd:documentation>
  1182. </xsd:annotation>
  1183. <xsd:simpleContent>
  1184. <xsd:extension base="xsd:boolean">
  1185. <xsd:attribute name="id" type="xsd:ID"/>
  1186. </xsd:extension>
  1187. </xsd:simpleContent>
  1188. </xsd:complexType>
  1189. <!-- **************************************************** -->
  1190. <xsd:complexType name="xsdIntegerType">
  1191. <xsd:annotation>
  1192. <xsd:documentation>
  1193. This type adds an "id" attribute to xsd:integer.
  1194. </xsd:documentation>
  1195. </xsd:annotation>
  1196. <xsd:simpleContent>
  1197. <xsd:extension base="xsd:integer">
  1198. <xsd:attribute name="id" type="xsd:ID"/>
  1199. </xsd:extension>
  1200. </xsd:simpleContent>
  1201. </xsd:complexType>
  1202. <!-- **************************************************** -->
  1203. <xsd:complexType name="xsdNMTOKENType">
  1204. <xsd:annotation>
  1205. <xsd:documentation>
  1206. This type adds an "id" attribute to xsd:NMTOKEN.
  1207. </xsd:documentation>
  1208. </xsd:annotation>
  1209. <xsd:simpleContent>
  1210. <xsd:extension base="xsd:NMTOKEN">
  1211. <xsd:attribute name="id" type="xsd:ID"/>
  1212. </xsd:extension>
  1213. </xsd:simpleContent>
  1214. </xsd:complexType>
  1215. <!-- **************************************************** -->
  1216. <xsd:complexType name="xsdNonNegativeIntegerType">
  1217. <xsd:annotation>
  1218. <xsd:documentation>
  1219. This type adds an "id" attribute to xsd:nonNegativeInteger.
  1220. </xsd:documentation>
  1221. </xsd:annotation>
  1222. <xsd:simpleContent>
  1223. <xsd:extension base="xsd:nonNegativeInteger">
  1224. <xsd:attribute name="id" type="xsd:ID"/>
  1225. </xsd:extension>
  1226. </xsd:simpleContent>
  1227. </xsd:complexType>
  1228. <!-- **************************************************** -->
  1229. <xsd:complexType name="xsdPositiveIntegerType">
  1230. <xsd:annotation>
  1231. <xsd:documentation>
  1232. This type adds an "id" attribute to xsd:positiveInteger.
  1233. </xsd:documentation>
  1234. </xsd:annotation>
  1235. <xsd:simpleContent>
  1236. <xsd:extension base="xsd:positiveInteger">
  1237. <xsd:attribute name="id" type="xsd:ID"/>
  1238. </xsd:extension>
  1239. </xsd:simpleContent>
  1240. </xsd:complexType>
  1241. <!-- **************************************************** -->
  1242. <xsd:complexType name="xsdQNameType">
  1243. <xsd:annotation>
  1244. <xsd:documentation>
  1245. This type adds an "id" attribute to xsd:QName.
  1246. </xsd:documentation>
  1247. </xsd:annotation>
  1248. <xsd:simpleContent>
  1249. <xsd:extension base="xsd:QName">
  1250. <xsd:attribute name="id" type="xsd:ID"/>
  1251. </xsd:extension>
  1252. </xsd:simpleContent>
  1253. </xsd:complexType>
  1254. <!-- **************************************************** -->
  1255. <xsd:complexType name="xsdStringType">
  1256. <xsd:annotation>
  1257. <xsd:documentation>
  1258. This type adds an "id" attribute to xsd:string.
  1259. </xsd:documentation>
  1260. </xsd:annotation>
  1261. <xsd:simpleContent>
  1262. <xsd:extension base="xsd:string">
  1263. <xsd:attribute name="id" type="xsd:ID"/>
  1264. </xsd:extension>
  1265. </xsd:simpleContent>
  1266. </xsd:complexType>
  1267. </xsd:schema>