xml-schema-primitives.xsl 176 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  5. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  6. exclude-result-prefixes="xs"
  7. version="2.0">
  8. <xsl:variable name="system_cache__appinfo:primitives.xsd">
  9. <xs:schema xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  10. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  11. elementFormDefault="qualified"
  12. xml:lang="en"
  13. targetNamespace="http://www.w3.org/2001/XMLSchema">
  14. <xs:annotation>
  15. <xs:documentation>
  16. This document contains XML elements which look like
  17. definitions for the primitive datatypes. These definitions are for
  18. information only; the real built-in definitions are magic.
  19. </xs:documentation>
  20. <xs:documentation>
  21. For each built-in datatype in this schema (both primitive and
  22. derived) can be uniquely addressed via a URI constructed
  23. as follows:
  24. 1) the base URI is the URI of the XML Schema namespace
  25. 2) the fragment identifier is the name of the datatype
  26. For example, to address the int datatype, the URI is:
  27. http://www.w3.org/2001/XMLSchema#int
  28. Additionally, each facet definition element can be uniquely
  29. addressed via a URI constructed as follows:
  30. 1) the base URI is the URI of the XML Schema namespace
  31. 2) the fragment identifier is the name of the facet
  32. For example, to address the maxInclusive facet, the URI is:
  33. http://www.w3.org/2001/XMLSchema#maxInclusive
  34. Additionally, each facet usage in a built-in datatype definition
  35. can be uniquely addressed via a URI constructed as follows:
  36. 1) the base URI is the URI of the XML Schema namespace
  37. 2) the fragment identifier is the name of the datatype, followed
  38. by a period (".") followed by the name of the facet
  39. For example, to address the usage of the maxInclusive facet in
  40. the definition of int, the URI is:
  41. http://www.w3.org/2001/XMLSchema#int.maxInclusive
  42. </xs:documentation>
  43. </xs:annotation>
  44. <xs:simpleType name="string" id="string">
  45. <xs:annotation>
  46. <xs:appinfo>
  47. <hfp:hasFacet name="length"/>
  48. <hfp:hasFacet name="minLength"/>
  49. <hfp:hasFacet name="maxLength"/>
  50. <hfp:hasFacet name="pattern"/>
  51. <hfp:hasFacet name="enumeration"/>
  52. <hfp:hasFacet name="whiteSpace"/>
  53. <hfp:hasFacet name="assertions"/>
  54. <hfp:hasProperty name="ordered" value="false"/>
  55. <hfp:hasProperty name="bounded" value="false"/>
  56. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  57. <hfp:hasProperty name="numeric" value="false"/>
  58. </xs:appinfo>
  59. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#string">Built-in primitive type.
  60. The string datatype represents character strings in XML.</xs:documentation>
  61. </xs:annotation>
  62. <xs:restriction base="xs:anyAtomicType">
  63. <xs:whiteSpace value="preserve" id="string.whiteSpace"/>
  64. </xs:restriction>
  65. </xs:simpleType>
  66. <xs:simpleType name="boolean" id="boolean">
  67. <xs:annotation>
  68. <xs:appinfo>
  69. <hfp:hasFacet name="pattern"/>
  70. <hfp:hasFacet name="whiteSpace"/>
  71. <hfp:hasFacet name="assertions"/>
  72. <hfp:hasProperty name="ordered" value="false"/>
  73. <hfp:hasProperty name="bounded" value="false"/>
  74. <hfp:hasProperty name="cardinality" value="finite"/>
  75. <hfp:hasProperty name="numeric" value="false"/>
  76. </xs:appinfo>
  77. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#boolean">Built-in primitive type.
  78. It defines the boolean values true and false.</xs:documentation>
  79. </xs:annotation>
  80. <xs:restriction base="xs:anyAtomicType">
  81. <xs:whiteSpace fixed="true" value="collapse" id="boolean.whiteSpace"/>
  82. </xs:restriction>
  83. </xs:simpleType>
  84. <xs:simpleType name="float" id="float">
  85. <xs:annotation>
  86. <xs:appinfo>
  87. <hfp:hasFacet name="pattern"/>
  88. <hfp:hasFacet name="enumeration"/>
  89. <hfp:hasFacet name="whiteSpace"/>
  90. <hfp:hasFacet name="maxInclusive"/>
  91. <hfp:hasFacet name="maxExclusive"/>
  92. <hfp:hasFacet name="minInclusive"/>
  93. <hfp:hasFacet name="minExclusive"/>
  94. <hfp:hasFacet name="assertions"/>
  95. <hfp:hasProperty name="ordered" value="partial"/>
  96. <hfp:hasProperty name="bounded" value="true"/>
  97. <hfp:hasProperty name="cardinality" value="finite"/>
  98. <hfp:hasProperty name="numeric" value="true"/>
  99. </xs:appinfo>
  100. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#float">Built-in primitive type.
  101. Corresponds to the IEEE single-precision 32-bit floating point type [IEEE 754-1985].</xs:documentation>
  102. </xs:annotation>
  103. <xs:restriction base="xs:anyAtomicType">
  104. <xs:whiteSpace fixed="true" value="collapse" id="float.whiteSpace"/>
  105. </xs:restriction>
  106. </xs:simpleType>
  107. <xs:simpleType name="double" id="double">
  108. <xs:annotation>
  109. <xs:appinfo>
  110. <hfp:hasFacet name="pattern"/>
  111. <hfp:hasFacet name="enumeration"/>
  112. <hfp:hasFacet name="whiteSpace"/>
  113. <hfp:hasFacet name="maxInclusive"/>
  114. <hfp:hasFacet name="maxExclusive"/>
  115. <hfp:hasFacet name="minInclusive"/>
  116. <hfp:hasFacet name="minExclusive"/>
  117. <hfp:hasFacet name="assertions"/>
  118. <hfp:hasProperty name="ordered" value="partial"/>
  119. <hfp:hasProperty name="bounded" value="true"/>
  120. <hfp:hasProperty name="cardinality" value="finite"/>
  121. <hfp:hasProperty name="numeric" value="true"/>
  122. </xs:appinfo>
  123. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#double">Built-in primitive type.
  124. The double datatype corresponds to IEEE double-precision 64-bit floating point type [IEEE 754-1985].</xs:documentation>
  125. </xs:annotation>
  126. <xs:restriction base="xs:anyAtomicType">
  127. <xs:whiteSpace fixed="true" value="collapse" id="double.whiteSpace"/>
  128. </xs:restriction>
  129. </xs:simpleType>
  130. <xs:simpleType name="decimal" id="decimal">
  131. <xs:annotation>
  132. <xs:appinfo>
  133. <hfp:hasFacet name="totalDigits"/>
  134. <hfp:hasFacet name="fractionDigits"/>
  135. <hfp:hasFacet name="pattern"/>
  136. <hfp:hasFacet name="whiteSpace"/>
  137. <hfp:hasFacet name="enumeration"/>
  138. <hfp:hasFacet name="maxInclusive"/>
  139. <hfp:hasFacet name="maxExclusive"/>
  140. <hfp:hasFacet name="minInclusive"/>
  141. <hfp:hasFacet name="minExclusive"/>
  142. <hfp:hasFacet name="assertions"/>
  143. <hfp:hasProperty name="ordered" value="total"/>
  144. <hfp:hasProperty name="bounded" value="false"/>
  145. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  146. <hfp:hasProperty name="numeric" value="true"/>
  147. </xs:appinfo>
  148. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#decimal">Built-in primitive type.
  149. The decimal datatype represents arbitrary precision decimal numbers.</xs:documentation>
  150. </xs:annotation>
  151. <xs:restriction base="xs:anyAtomicType">
  152. <xs:whiteSpace fixed="true" value="collapse" id="decimal.whiteSpace"/>
  153. </xs:restriction>
  154. </xs:simpleType>
  155. <xs:simpleType name="duration" id="duration">
  156. <xs:annotation>
  157. <xs:appinfo>
  158. <hfp:hasFacet name="pattern"/>
  159. <hfp:hasFacet name="enumeration"/>
  160. <hfp:hasFacet name="whiteSpace"/>
  161. <hfp:hasFacet name="maxInclusive"/>
  162. <hfp:hasFacet name="maxExclusive"/>
  163. <hfp:hasFacet name="minInclusive"/>
  164. <hfp:hasFacet name="minExclusive"/>
  165. <hfp:hasFacet name="assertions"/>
  166. <hfp:hasProperty name="ordered" value="partial"/>
  167. <hfp:hasProperty name="bounded" value="false"/>
  168. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  169. <hfp:hasProperty name="numeric" value="false"/>
  170. </xs:appinfo>
  171. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#duration">Built-in primitive type.
  172. The duration datatype represents a duration of time.</xs:documentation>
  173. </xs:annotation>
  174. <xs:restriction base="xs:anyAtomicType">
  175. <xs:whiteSpace fixed="true" value="collapse" id="duration.whiteSpace"/>
  176. </xs:restriction>
  177. </xs:simpleType>
  178. <xs:simpleType name="dateTime" id="dateTime">
  179. <xs:annotation>
  180. <xs:appinfo>
  181. <hfp:hasFacet name="pattern"/>
  182. <hfp:hasFacet name="enumeration"/>
  183. <hfp:hasFacet name="whiteSpace"/>
  184. <hfp:hasFacet name="maxInclusive"/>
  185. <hfp:hasFacet name="maxExclusive"/>
  186. <hfp:hasFacet name="minInclusive"/>
  187. <hfp:hasFacet name="minExclusive"/>
  188. <hfp:hasFacet name="assertions"/>
  189. <hfp:hasFacet name="explicitTimezone"/>
  190. <hfp:hasProperty name="ordered" value="partial"/>
  191. <hfp:hasProperty name="bounded" value="false"/>
  192. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  193. <hfp:hasProperty name="numeric" value="false"/>
  194. </xs:appinfo>
  195. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#dateTime">Built-in primitive type.
  196. The dateTime datatype represents a specific instant of time.</xs:documentation>
  197. </xs:annotation>
  198. <xs:restriction base="xs:anyAtomicType">
  199. <xs:whiteSpace fixed="true" value="collapse" id="dateTime.whiteSpace"/>
  200. <xs:explicitTimezone value="optional" id="dateTime.explicitTimezone"/>
  201. </xs:restriction>
  202. </xs:simpleType>
  203. <xs:simpleType name="time" id="time">
  204. <xs:annotation>
  205. <xs:appinfo>
  206. <hfp:hasFacet name="pattern"/>
  207. <hfp:hasFacet name="enumeration"/>
  208. <hfp:hasFacet name="whiteSpace"/>
  209. <hfp:hasFacet name="maxInclusive"/>
  210. <hfp:hasFacet name="maxExclusive"/>
  211. <hfp:hasFacet name="minInclusive"/>
  212. <hfp:hasFacet name="minExclusive"/>
  213. <hfp:hasFacet name="assertions"/>
  214. <hfp:hasFacet name="explicitTimezone"/>
  215. <hfp:hasProperty name="ordered" value="partial"/>
  216. <hfp:hasProperty name="bounded" value="false"/>
  217. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  218. <hfp:hasProperty name="numeric" value="false"/>
  219. </xs:appinfo>
  220. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#time">Built-in primitive type.
  221. The time datatype represents an instant of time that recurs every day.</xs:documentation>
  222. </xs:annotation>
  223. <xs:restriction base="xs:anyAtomicType">
  224. <xs:whiteSpace fixed="true" value="collapse" id="time.whiteSpace"/>
  225. <xs:explicitTimezone value="optional" id="time.explicitTimezone"/>
  226. </xs:restriction>
  227. </xs:simpleType>
  228. <xs:simpleType name="date" id="date">
  229. <xs:annotation>
  230. <xs:appinfo>
  231. <hfp:hasFacet name="pattern"/>
  232. <hfp:hasFacet name="enumeration"/>
  233. <hfp:hasFacet name="whiteSpace"/>
  234. <hfp:hasFacet name="maxInclusive"/>
  235. <hfp:hasFacet name="maxExclusive"/>
  236. <hfp:hasFacet name="minInclusive"/>
  237. <hfp:hasFacet name="minExclusive"/>
  238. <hfp:hasFacet name="assertions"/>
  239. <hfp:hasFacet name="explicitTimezone"/>
  240. <hfp:hasProperty name="ordered" value="partial"/>
  241. <hfp:hasProperty name="bounded" value="false"/>
  242. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  243. <hfp:hasProperty name="numeric" value="false"/>
  244. </xs:appinfo>
  245. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#date">Built-in primitive type.
  246. The date datatype represents a calendar date.</xs:documentation>
  247. </xs:annotation>
  248. <xs:restriction base="xs:anyAtomicType">
  249. <xs:whiteSpace fixed="true" value="collapse" id="date.whiteSpace"/>
  250. <xs:explicitTimezone value="optional" id="date.explicitTimezone"/>
  251. </xs:restriction>
  252. </xs:simpleType>
  253. <xs:simpleType name="gYearMonth" id="gYearMonth">
  254. <xs:annotation>
  255. <xs:appinfo>
  256. <hfp:hasFacet name="pattern"/>
  257. <hfp:hasFacet name="enumeration"/>
  258. <hfp:hasFacet name="whiteSpace"/>
  259. <hfp:hasFacet name="maxInclusive"/>
  260. <hfp:hasFacet name="maxExclusive"/>
  261. <hfp:hasFacet name="minInclusive"/>
  262. <hfp:hasFacet name="minExclusive"/>
  263. <hfp:hasFacet name="assertions"/>
  264. <hfp:hasFacet name="explicitTimezone"/>
  265. <hfp:hasProperty name="ordered" value="partial"/>
  266. <hfp:hasProperty name="bounded" value="false"/>
  267. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  268. <hfp:hasProperty name="numeric" value="false"/>
  269. </xs:appinfo>
  270. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYearMonth">Built-in primitive type.
  271. The gYearMonth datatype represents a specific gregorian month in a specific gregorian year.</xs:documentation>
  272. </xs:annotation>
  273. <xs:restriction base="xs:anyAtomicType">
  274. <xs:whiteSpace fixed="true" value="collapse" id="gYearMonth.whiteSpace"/>
  275. <xs:explicitTimezone value="optional" id="gYearMonth.explicitTimezone"/>
  276. </xs:restriction>
  277. </xs:simpleType>
  278. <xs:simpleType name="gYear" id="gYear">
  279. <xs:annotation>
  280. <xs:appinfo>
  281. <hfp:hasFacet name="pattern"/>
  282. <hfp:hasFacet name="enumeration"/>
  283. <hfp:hasFacet name="whiteSpace"/>
  284. <hfp:hasFacet name="maxInclusive"/>
  285. <hfp:hasFacet name="maxExclusive"/>
  286. <hfp:hasFacet name="minInclusive"/>
  287. <hfp:hasFacet name="minExclusive"/>
  288. <hfp:hasFacet name="assertions"/>
  289. <hfp:hasFacet name="explicitTimezone"/>
  290. <hfp:hasProperty name="ordered" value="partial"/>
  291. <hfp:hasProperty name="bounded" value="false"/>
  292. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  293. <hfp:hasProperty name="numeric" value="false"/>
  294. </xs:appinfo>
  295. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYear">Built-in primitive type.
  296. The gYear datatype represents a gregorian calendar year.</xs:documentation>
  297. </xs:annotation>
  298. <xs:restriction base="xs:anyAtomicType">
  299. <xs:whiteSpace fixed="true" value="collapse" id="gYear.whiteSpace"/>
  300. <xs:explicitTimezone value="optional" id="gYear.explicitTimezone"/>
  301. </xs:restriction>
  302. </xs:simpleType>
  303. <xs:simpleType name="gMonthDay" id="gMonthDay">
  304. <xs:annotation>
  305. <xs:appinfo>
  306. <hfp:hasFacet name="pattern"/>
  307. <hfp:hasFacet name="enumeration"/>
  308. <hfp:hasFacet name="whiteSpace"/>
  309. <hfp:hasFacet name="maxInclusive"/>
  310. <hfp:hasFacet name="maxExclusive"/>
  311. <hfp:hasFacet name="minInclusive"/>
  312. <hfp:hasFacet name="minExclusive"/>
  313. <hfp:hasFacet name="assertions"/>
  314. <hfp:hasFacet name="explicitTimezone"/>
  315. <hfp:hasProperty name="ordered" value="partial"/>
  316. <hfp:hasProperty name="bounded" value="false"/>
  317. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  318. <hfp:hasProperty name="numeric" value="false"/>
  319. </xs:appinfo>
  320. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonthDay">Built-in primitive type.
  321. The gMonthDay datatype is a gregorian date that recurs, specifically a day of the year such as the third of May.Arbitrary recurring dates are not supported by this datatype.</xs:documentation>
  322. </xs:annotation>
  323. <xs:restriction base="xs:anyAtomicType">
  324. <xs:whiteSpace fixed="true" value="collapse" id="gMonthDay.whiteSpace"/>
  325. <xs:explicitTimezone value="optional" id="gMonthDay.explicitTimezone"/>
  326. </xs:restriction>
  327. </xs:simpleType>
  328. <xs:simpleType name="gDay" id="gDay">
  329. <xs:annotation>
  330. <xs:appinfo>
  331. <hfp:hasFacet name="pattern"/>
  332. <hfp:hasFacet name="enumeration"/>
  333. <hfp:hasFacet name="whiteSpace"/>
  334. <hfp:hasFacet name="maxInclusive"/>
  335. <hfp:hasFacet name="maxExclusive"/>
  336. <hfp:hasFacet name="minInclusive"/>
  337. <hfp:hasFacet name="minExclusive"/>
  338. <hfp:hasFacet name="assertions"/>
  339. <hfp:hasFacet name="explicitTimezone"/>
  340. <hfp:hasProperty name="ordered" value="partial"/>
  341. <hfp:hasProperty name="bounded" value="false"/>
  342. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  343. <hfp:hasProperty name="numeric" value="false"/>
  344. </xs:appinfo>
  345. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gDay">Built-in primitive type.
  346. The gDay datatype is a gregorian day that recurs, specifically a day of the month such as the 5th of the month. Arbitrary recurring days are not supported by this datatype.</xs:documentation>
  347. </xs:annotation>
  348. <xs:restriction base="xs:anyAtomicType">
  349. <xs:whiteSpace fixed="true" value="collapse" id="gDay.whiteSpace"/>
  350. <xs:explicitTimezone value="optional" id="gDay.explicitTimezone"/>
  351. </xs:restriction>
  352. </xs:simpleType>
  353. <xs:simpleType name="gMonth" id="gMonth">
  354. <xs:annotation>
  355. <xs:appinfo>
  356. <hfp:hasFacet name="pattern"/>
  357. <hfp:hasFacet name="enumeration"/>
  358. <hfp:hasFacet name="whiteSpace"/>
  359. <hfp:hasFacet name="maxInclusive"/>
  360. <hfp:hasFacet name="maxExclusive"/>
  361. <hfp:hasFacet name="minInclusive"/>
  362. <hfp:hasFacet name="minExclusive"/>
  363. <hfp:hasFacet name="assertions"/>
  364. <hfp:hasFacet name="explicitTimezone"/>
  365. <hfp:hasProperty name="ordered" value="partial"/>
  366. <hfp:hasProperty name="bounded" value="false"/>
  367. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  368. <hfp:hasProperty name="numeric" value="false"/>
  369. </xs:appinfo>
  370. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonth">Built-in primitive type.
  371. The gMonth datatype is a gregorian month that recurs every year.</xs:documentation>
  372. </xs:annotation>
  373. <xs:restriction base="xs:anyAtomicType">
  374. <xs:whiteSpace fixed="true" value="collapse" id="gMonth.whiteSpace"/>
  375. <xs:explicitTimezone value="optional" id="gMonth.explicitTimezone"/>
  376. </xs:restriction>
  377. </xs:simpleType>
  378. <xs:simpleType name="hexBinary" id="hexBinary">
  379. <xs:annotation>
  380. <xs:appinfo>
  381. <hfp:hasFacet name="length"/>
  382. <hfp:hasFacet name="minLength"/>
  383. <hfp:hasFacet name="maxLength"/>
  384. <hfp:hasFacet name="pattern"/>
  385. <hfp:hasFacet name="enumeration"/>
  386. <hfp:hasFacet name="whiteSpace"/>
  387. <hfp:hasFacet name="assertions"/>
  388. <hfp:hasProperty name="ordered" value="false"/>
  389. <hfp:hasProperty name="bounded" value="false"/>
  390. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  391. <hfp:hasProperty name="numeric" value="false"/>
  392. </xs:appinfo>
  393. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#binary">Built-in primitive type.
  394. The hexBinary datatype represents arbitrary hex-encoded binary data.</xs:documentation>
  395. </xs:annotation>
  396. <xs:restriction base="xs:anyAtomicType">
  397. <xs:whiteSpace fixed="true" value="collapse" id="hexBinary.whiteSpace"/>
  398. </xs:restriction>
  399. </xs:simpleType>
  400. <xs:simpleType name="base64Binary" id="base64Binary">
  401. <xs:annotation>
  402. <xs:appinfo>
  403. <hfp:hasFacet name="length"/>
  404. <hfp:hasFacet name="minLength"/>
  405. <hfp:hasFacet name="maxLength"/>
  406. <hfp:hasFacet name="pattern"/>
  407. <hfp:hasFacet name="enumeration"/>
  408. <hfp:hasFacet name="whiteSpace"/>
  409. <hfp:hasFacet name="assertions"/>
  410. <hfp:hasProperty name="ordered" value="false"/>
  411. <hfp:hasProperty name="bounded" value="false"/>
  412. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  413. <hfp:hasProperty name="numeric" value="false"/>
  414. </xs:appinfo>
  415. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#base64Binary">Built-in primitive type.
  416. The base64Binary datatype represents Base64-encoded arbitrary binary data.</xs:documentation>
  417. </xs:annotation>
  418. <xs:restriction base="xs:anyAtomicType">
  419. <xs:whiteSpace fixed="true" value="collapse" id="base64Binary.whiteSpace"/>
  420. </xs:restriction>
  421. </xs:simpleType>
  422. <xs:simpleType name="anyURI" id="anyURI">
  423. <xs:annotation>
  424. <xs:appinfo>
  425. <hfp:hasFacet name="length"/>
  426. <hfp:hasFacet name="minLength"/>
  427. <hfp:hasFacet name="maxLength"/>
  428. <hfp:hasFacet name="pattern"/>
  429. <hfp:hasFacet name="enumeration"/>
  430. <hfp:hasFacet name="whiteSpace"/>
  431. <hfp:hasFacet name="assertions"/>
  432. <hfp:hasProperty name="ordered" value="false"/>
  433. <hfp:hasProperty name="bounded" value="false"/>
  434. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  435. <hfp:hasProperty name="numeric" value="false"/>
  436. </xs:appinfo>
  437. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#anyURI">Built-in primitive type.
  438. The anyURI datatype represents a Uniform Resource Identifier Reference (URI).</xs:documentation>
  439. </xs:annotation>
  440. <xs:restriction base="xs:anyAtomicType">
  441. <xs:whiteSpace fixed="true" value="collapse" id="anyURI.whiteSpace"/>
  442. </xs:restriction>
  443. </xs:simpleType>
  444. <xs:simpleType name="QName" id="QName">
  445. <xs:annotation>
  446. <xs:appinfo>
  447. <hfp:hasFacet name="length"/>
  448. <hfp:hasFacet name="minLength"/>
  449. <hfp:hasFacet name="maxLength"/>
  450. <hfp:hasFacet name="pattern"/>
  451. <hfp:hasFacet name="enumeration"/>
  452. <hfp:hasFacet name="whiteSpace"/>
  453. <hfp:hasFacet name="assertions"/>
  454. <hfp:hasProperty name="ordered" value="false"/>
  455. <hfp:hasProperty name="bounded" value="false"/>
  456. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  457. <hfp:hasProperty name="numeric" value="false"/>
  458. </xs:appinfo>
  459. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#QName">Built-in primitive type.
  460. QName represents XML qualified names.</xs:documentation>
  461. </xs:annotation>
  462. <xs:restriction base="xs:anyAtomicType">
  463. <xs:whiteSpace fixed="true" value="collapse" id="QName.whiteSpace"/>
  464. </xs:restriction>
  465. </xs:simpleType>
  466. <xs:simpleType name="NOTATION" id="NOTATION">
  467. <xs:annotation>
  468. <xs:appinfo>
  469. <hfp:hasFacet name="length"/>
  470. <hfp:hasFacet name="minLength"/>
  471. <hfp:hasFacet name="maxLength"/>
  472. <hfp:hasFacet name="pattern"/>
  473. <hfp:hasFacet name="enumeration"/>
  474. <hfp:hasFacet name="whiteSpace"/>
  475. <hfp:hasFacet name="assertions"/>
  476. <hfp:hasProperty name="ordered" value="false"/>
  477. <hfp:hasProperty name="bounded" value="false"/>
  478. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  479. <hfp:hasProperty name="numeric" value="false"/>
  480. </xs:appinfo>
  481. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#NOTATION"/>
  482. <xs:documentation>
  483. NOTATION cannot be used directly in a schema; rather a type
  484. must be derived from it by specifying at least one enumeration
  485. facet whose value is the name of a NOTATION declared in the
  486. schema.
  487. </xs:documentation>
  488. </xs:annotation>
  489. <xs:restriction base="xs:anyAtomicType">
  490. <xs:whiteSpace fixed="true" value="collapse" id="NOTATION.whiteSpace"/>
  491. </xs:restriction>
  492. </xs:simpleType>
  493. </xs:schema>
  494. </xsl:variable>
  495. <xsl:variable name="system_cache__appinfo:derived.xsd">
  496. <xs:schema xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  497. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  498. elementFormDefault="qualified"
  499. xml:lang="en"
  500. targetNamespace="http://www.w3.org/2001/XMLSchema">
  501. <xs:annotation>
  502. <xs:documentation>
  503. This document contains XML representations for the
  504. ordinary non-primitive built-in datatypes
  505. </xs:documentation>
  506. </xs:annotation>
  507. <xs:simpleType name="normalizedString" id="normalizedString">
  508. <xs:annotation>
  509. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#normalizedString">Built-in derived type.
  510. The normalizedString datatype represents white space normalized strings.
  511. The base type of normalizedString is string.</xs:documentation>
  512. </xs:annotation>
  513. <xs:restriction base="xs:string">
  514. <xs:whiteSpace value="replace" id="normalizedString.whiteSpace"/>
  515. </xs:restriction>
  516. </xs:simpleType>
  517. <xs:simpleType name="token" id="token">
  518. <xs:annotation>
  519. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token">Built-in derived type.
  520. The token datatype represents tokenized strings.
  521. The base type of token is normalizedString.</xs:documentation>
  522. </xs:annotation>
  523. <xs:restriction base="xs:normalizedString">
  524. <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
  525. </xs:restriction>
  526. </xs:simpleType>
  527. <xs:simpleType name="language" id="language">
  528. <xs:annotation>
  529. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#language">Built-in derived type.
  530. The language datatype represents natural language identifiers as defined by [RFC 1766].
  531. The base type of language is token.</xs:documentation>
  532. </xs:annotation>
  533. <xs:restriction base="xs:token">
  534. <xs:pattern value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" id="language.pattern">
  535. <xs:annotation>
  536. <xs:documentation source="http://www.ietf.org/rfc/bcp/bcp47.txt">
  537. pattern specifies the content of section 2.12 of XML 1.0e2
  538. and RFC 3066 (Revised version of RFC 1766). N.B. RFC 3066 is now
  539. obsolete; the grammar of RFC4646 is more restrictive. So strict
  540. conformance to the rules for language codes requires extra checking
  541. beyond validation against this type.
  542. </xs:documentation>
  543. </xs:annotation>
  544. </xs:pattern>
  545. </xs:restriction>
  546. </xs:simpleType>
  547. <xs:simpleType name="IDREFS" id="IDREFS">
  548. <xs:annotation>
  549. <xs:appinfo>
  550. <hfp:hasFacet name="length"/>
  551. <hfp:hasFacet name="minLength"/>
  552. <hfp:hasFacet name="maxLength"/>
  553. <hfp:hasFacet name="enumeration"/>
  554. <hfp:hasFacet name="whiteSpace"/>
  555. <hfp:hasFacet name="pattern"/>
  556. <hfp:hasFacet name="assertions"/>
  557. <hfp:hasProperty name="ordered" value="false"/>
  558. <hfp:hasProperty name="bounded" value="false"/>
  559. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  560. <hfp:hasProperty name="numeric" value="false"/>
  561. </xs:appinfo>
  562. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREFS">Built-in derived type.
  563. IDREFS represents the IDREFS attribute type.
  564. The itemType of IDREFS is IDREF.</xs:documentation>
  565. </xs:annotation>
  566. <xs:restriction>
  567. <xs:simpleType>
  568. <xs:list itemType="xs:IDREF"/>
  569. </xs:simpleType>
  570. <xs:minLength value="1" id="IDREFS.minLength"/>
  571. </xs:restriction>
  572. </xs:simpleType>
  573. <xs:simpleType name="ENTITIES" id="ENTITIES">
  574. <xs:annotation>
  575. <xs:appinfo>
  576. <hfp:hasFacet name="length"/>
  577. <hfp:hasFacet name="minLength"/>
  578. <hfp:hasFacet name="maxLength"/>
  579. <hfp:hasFacet name="enumeration"/>
  580. <hfp:hasFacet name="whiteSpace"/>
  581. <hfp:hasFacet name="pattern"/>
  582. <hfp:hasFacet name="assertions"/>
  583. <hfp:hasProperty name="ordered" value="false"/>
  584. <hfp:hasProperty name="bounded" value="false"/>
  585. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  586. <hfp:hasProperty name="numeric" value="false"/>
  587. </xs:appinfo>
  588. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITIES">Built-in derived type.
  589. ENTITIES represents the ENTITIES attribute type.
  590. The itemType of ENTITIES is ENTITY.</xs:documentation>
  591. </xs:annotation>
  592. <xs:restriction>
  593. <xs:simpleType>
  594. <xs:list itemType="xs:ENTITY"/>
  595. </xs:simpleType>
  596. <xs:minLength value="1" id="ENTITIES.minLength"/>
  597. </xs:restriction>
  598. </xs:simpleType>
  599. <xs:simpleType name="NMTOKEN" id="NMTOKEN">
  600. <xs:annotation>
  601. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">Built-in derived type.
  602. NMTOKEN represents the NMTOKEN attribute type.
  603. The base type of NMTOKEN is token.</xs:documentation>
  604. </xs:annotation>
  605. <xs:restriction base="xs:token">
  606. <xs:pattern value="\c+" id="NMTOKEN.pattern">
  607. <xs:annotation>
  608. <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
  609. pattern matches production 7 from the XML spec
  610. </xs:documentation>
  611. </xs:annotation>
  612. </xs:pattern>
  613. </xs:restriction>
  614. </xs:simpleType>
  615. <xs:simpleType name="NMTOKENS" id="NMTOKENS">
  616. <xs:annotation>
  617. <xs:appinfo>
  618. <hfp:hasFacet name="length"/>
  619. <hfp:hasFacet name="minLength"/>
  620. <hfp:hasFacet name="maxLength"/>
  621. <hfp:hasFacet name="enumeration"/>
  622. <hfp:hasFacet name="whiteSpace"/>
  623. <hfp:hasFacet name="pattern"/>
  624. <hfp:hasFacet name="assertions"/>
  625. <hfp:hasProperty name="ordered" value="false"/>
  626. <hfp:hasProperty name="bounded" value="false"/>
  627. <hfp:hasProperty name="cardinality" value="countably infinite"/>
  628. <hfp:hasProperty name="numeric" value="false"/>
  629. </xs:appinfo>
  630. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS">Built-in derived type.
  631. NMTOKENS represents the NMTOKENS attribute type.
  632. The itemType of NMTOKENS is NMTOKEN.</xs:documentation>
  633. </xs:annotation>
  634. <xs:restriction>
  635. <xs:simpleType>
  636. <xs:list itemType="xs:NMTOKEN"/>
  637. </xs:simpleType>
  638. <xs:minLength value="1" id="NMTOKENS.minLength"/>
  639. </xs:restriction>
  640. </xs:simpleType>
  641. <xs:simpleType name="Name" id="Name">
  642. <xs:annotation>
  643. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#Name">Built-in derived type.
  644. Name represents XML Names.
  645. The base type of Name is token.</xs:documentation>
  646. </xs:annotation>
  647. <xs:restriction base="xs:token">
  648. <xs:pattern value="\i\c*" id="Name.pattern">
  649. <xs:annotation>
  650. <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Name">
  651. pattern matches production 5 from the XML spec
  652. </xs:documentation>
  653. </xs:annotation>
  654. </xs:pattern>
  655. </xs:restriction>
  656. </xs:simpleType>
  657. <xs:simpleType name="NCName" id="NCName">
  658. <xs:annotation>
  659. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NCName">Built-in derived type.
  660. NCName represents XML "non-colonized" Names.
  661. The base type of NCName is Name.</xs:documentation>
  662. </xs:annotation>
  663. <xs:restriction base="xs:Name">
  664. <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
  665. <xs:annotation>
  666. <xs:documentation source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
  667. pattern matches production 4 from the Namespaces in XML spec
  668. </xs:documentation>
  669. </xs:annotation>
  670. </xs:pattern>
  671. </xs:restriction>
  672. </xs:simpleType>
  673. <xs:simpleType name="ID" id="ID">
  674. <xs:annotation>
  675. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ID">Built-in derived type.
  676. ID represents the ID attribute type.
  677. The base type of ID is NCName.</xs:documentation>
  678. </xs:annotation>
  679. <xs:restriction base="xs:NCName"/>
  680. </xs:simpleType>
  681. <xs:simpleType name="IDREF" id="IDREF">
  682. <xs:annotation>
  683. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREF">Built-in derived type.
  684. IDREF represents the IDREF attribute type.
  685. The base type of IDREF is NCName.</xs:documentation>
  686. </xs:annotation>
  687. <xs:restriction base="xs:NCName"/>
  688. </xs:simpleType>
  689. <xs:simpleType name="ENTITY" id="ENTITY">
  690. <xs:annotation>
  691. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITY">Built-in derived type.
  692. ENTITY represents the ENTITY attribute type.
  693. The base type of ENTITY is NCName.</xs:documentation>
  694. </xs:annotation>
  695. <xs:restriction base="xs:NCName"/>
  696. </xs:simpleType>
  697. <xs:simpleType name="integer" id="integer">
  698. <xs:annotation>
  699. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#integer">Built-in derived type.
  700. The integer datatype is derived from decimal by fixing the value of fractionDigits to be 0.
  701. This results in the standard mathematical concept of the integer numbers.</xs:documentation>
  702. </xs:annotation>
  703. <xs:restriction base="xs:decimal">
  704. <xs:fractionDigits fixed="true" value="0" id="integer.fractionDigits"/>
  705. <xs:pattern value="[\-+]?[0-9]+" id="integer.pattern"/>
  706. </xs:restriction>
  707. </xs:simpleType>
  708. <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
  709. <xs:annotation>
  710. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">Built-in derived type.
  711. The nonPositiveInteger datatype is derived from integer by setting the value of maxInclusive to be 0.
  712. This results in the standard mathematical concept of the non-positive integers.</xs:documentation>
  713. </xs:annotation>
  714. <xs:restriction base="xs:integer">
  715. <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
  716. </xs:restriction>
  717. </xs:simpleType>
  718. <xs:simpleType name="negativeInteger" id="negativeInteger">
  719. <xs:annotation>
  720. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#negativeInteger">Built-in derived type.
  721. The negativeInteger datatype is derived from nonPositiveInteger by setting the value of maxInclusive to be -1. This results in the standard mathematical concept of the negative integers.</xs:documentation>
  722. </xs:annotation>
  723. <xs:restriction base="xs:nonPositiveInteger">
  724. <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
  725. </xs:restriction>
  726. </xs:simpleType>
  727. <xs:simpleType name="long" id="long">
  728. <xs:annotation>
  729. <xs:appinfo>
  730. <hfp:hasProperty name="bounded" value="true"/>
  731. <hfp:hasProperty name="cardinality" value="finite"/>
  732. </xs:appinfo>
  733. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#long">Built-in derived type.
  734. The long datatype is derived from integer by setting the value of maxInclusive to be 9223372036854775807 and minInclusive to be -9223372036854775808.</xs:documentation>
  735. </xs:annotation>
  736. <xs:restriction base="xs:integer">
  737. <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>
  738. <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>
  739. </xs:restriction>
  740. </xs:simpleType>
  741. <xs:simpleType name="int" id="int">
  742. <xs:annotation>
  743. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#int">Built-in derived type.
  744. The int datatype is derived from long by setting the value of maxInclusive to be 2147483647 and minInclusive to be -2147483648.</xs:documentation>
  745. </xs:annotation>
  746. <xs:restriction base="xs:long">
  747. <xs:minInclusive value="-2147483648" id="int.minInclusive"/>
  748. <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>
  749. </xs:restriction>
  750. </xs:simpleType>
  751. <xs:simpleType name="short" id="short">
  752. <xs:annotation>
  753. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#short">Built-in derived type.
  754. The short datatype is derived from int by setting the value of maxInclusive to be 32767 and minInclusive to be -32768.</xs:documentation>
  755. </xs:annotation>
  756. <xs:restriction base="xs:int">
  757. <xs:minInclusive value="-32768" id="short.minInclusive"/>
  758. <xs:maxInclusive value="32767" id="short.maxInclusive"/>
  759. </xs:restriction>
  760. </xs:simpleType>
  761. <xs:simpleType name="byte" id="byte">
  762. <xs:annotation>
  763. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#byte">Built-in derived type.
  764. The byte datatype is derived from short by setting the value of maxInclusive to be 127 and minInclusive to be -128.</xs:documentation>
  765. </xs:annotation>
  766. <xs:restriction base="xs:short">
  767. <xs:minInclusive value="-128" id="byte.minInclusive"/>
  768. <xs:maxInclusive value="127" id="byte.maxInclusive"/>
  769. </xs:restriction>
  770. </xs:simpleType>
  771. <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
  772. <xs:annotation>
  773. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">Built-in derived type.
  774. The nonNegativeInteger datatype is derived from integer by setting the value of minInclusive to be 0.
  775. This results in the standard mathematical concept of the non-negative integers.</xs:documentation>
  776. </xs:annotation>
  777. <xs:restriction base="xs:integer">
  778. <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
  779. </xs:restriction>
  780. </xs:simpleType>
  781. <xs:simpleType name="unsignedLong" id="unsignedLong">
  782. <xs:annotation>
  783. <xs:appinfo>
  784. <hfp:hasProperty name="bounded" value="true"/>
  785. <hfp:hasProperty name="cardinality" value="finite"/>
  786. </xs:appinfo>
  787. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedLong">Built-in derived type.
  788. The unsignedLong datatype is derived from nonNegativeInteger by setting the value of maxInclusive to be 18446744073709551615.</xs:documentation>
  789. </xs:annotation>
  790. <xs:restriction base="xs:nonNegativeInteger">
  791. <xs:maxInclusive value="18446744073709551615" id="unsignedLong.maxInclusive"/>
  792. </xs:restriction>
  793. </xs:simpleType>
  794. <xs:simpleType name="unsignedInt" id="unsignedInt">
  795. <xs:annotation>
  796. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedInt">Built-in derived type.
  797. The unsignedInt datatype is derived from unsignedLong by setting the value of maxInclusive to be 4294967295.</xs:documentation>
  798. </xs:annotation>
  799. <xs:restriction base="xs:unsignedLong">
  800. <xs:maxInclusive value="4294967295" id="unsignedInt.maxInclusive"/>
  801. </xs:restriction>
  802. </xs:simpleType>
  803. <xs:simpleType name="unsignedShort" id="unsignedShort">
  804. <xs:annotation>
  805. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedShort">Built-in derived type.
  806. The unsignedShort datatype is derived from unsignedInt by setting the value of maxInclusive to be 65535.</xs:documentation>
  807. </xs:annotation>
  808. <xs:restriction base="xs:unsignedInt">
  809. <xs:maxInclusive value="65535" id="unsignedShort.maxInclusive"/>
  810. </xs:restriction>
  811. </xs:simpleType>
  812. <xs:simpleType name="unsignedByte" id="unsignedByte">
  813. <xs:annotation>
  814. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedByte">Built-in derived type.
  815. The unsignedByte datatype is derived from unsignedShort by setting the value of maxInclusive to be 255.</xs:documentation>
  816. </xs:annotation>
  817. <xs:restriction base="xs:unsignedShort">
  818. <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
  819. </xs:restriction>
  820. </xs:simpleType>
  821. <xs:simpleType name="positiveInteger" id="positiveInteger">
  822. <xs:annotation>
  823. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#positiveInteger">Built-in derived type.
  824. The positiveInteger datatype is derived from nonNegativeInteger by setting the value of minInclusive to be 1.
  825. This results in the standard mathematical concept of the positive integer numbers.</xs:documentation>
  826. </xs:annotation>
  827. <xs:restriction base="xs:nonNegativeInteger">
  828. <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>
  829. </xs:restriction>
  830. </xs:simpleType>
  831. <xs:simpleType name="yearMonthDuration">
  832. <xs:annotation>
  833. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration">
  834. This type includes just those durations expressed in years and months.
  835. Since the pattern given excludes days, hours, minutes, and seconds,
  836. the values of this type have a seconds property of zero. They are
  837. totally ordered.
  838. </xs:documentation>
  839. </xs:annotation>
  840. <xs:restriction base="xs:duration">
  841. <xs:pattern id="yearMonthDuration.pattern" value="[^DT]*"/>
  842. </xs:restriction>
  843. </xs:simpleType>
  844. <xs:simpleType name="dayTimeDuration">
  845. <xs:annotation>
  846. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration">
  847. This type includes just those durations expressed in days, hours, minutes, and seconds.
  848. The pattern given excludes years and months, so the values of this type
  849. have a months property of zero. They are totally ordered.
  850. </xs:documentation>
  851. </xs:annotation>
  852. <xs:restriction base="xs:duration">
  853. <xs:pattern id="dayTimeDuration.pattern" value="[^YM]*(T.*)?"/>
  854. </xs:restriction>
  855. </xs:simpleType>
  856. <xs:simpleType name="dateTimeStamp" id="dateTimeStamp">
  857. <xs:annotation>
  858. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp">
  859. This datatype includes just those dateTime values Whose explicitTimezone
  860. is present. They are totally ordered.
  861. </xs:documentation>
  862. </xs:annotation>
  863. <xs:restriction base="xs:dateTime">
  864. <xs:explicitTimezone fixed="true" id="dateTimeStamp.explicitTimezone" value="required"/>
  865. </xs:restriction>
  866. </xs:simpleType>
  867. </xs:schema>
  868. </xsl:variable>
  869. <xsl:variable name="system_cache__appinfo:XMLSchema11.xsd">
  870. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  871. elementFormDefault="qualified"
  872. xml:lang="EN"
  873. targetNamespace="http://www.w3.org/2001/XMLSchema"
  874. version="1.0">
  875. <xs:annotation>
  876. <xs:documentation>
  877. Part 1 version: structures.xsd (rec-20120405)
  878. Part 2 version: datatypes.xsd (rec-20120405)
  879. </xs:documentation>
  880. </xs:annotation>
  881. <xs:annotation>
  882. <xs:documentation source="http://www.w3.org/TR/xmlschema11-1/structures.html">
  883. The schema corresponding to this document is normative,
  884. with respect to the syntactic constraints it expresses in the
  885. XML Schema Definition Language. The documentation (within 'documentation' elements)
  886. below, is not normative, but rather highlights important aspects of
  887. the W3C Recommendation of which this is a part.
  888. See below (at the bottom of this document) for information about
  889. the revision and namespace-versioning policy governing this
  890. schema document.
  891. </xs:documentation>
  892. </xs:annotation>
  893. <xs:annotation>
  894. <xs:documentation>
  895. The simpleType element and all of its members are defined
  896. towards the end of this schema document.</xs:documentation>
  897. </xs:annotation>
  898. <xs:include schemaLocation="primitives.xsd"/>
  899. <xs:include schemaLocation="derived.xsd"/>
  900. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  901. schemaLocation="xml.xsd">
  902. <xs:annotation>
  903. <xs:documentation>
  904. Get access to the xml: attribute groups for xml:lang
  905. as declared on 'schema' and 'documentation' below
  906. </xs:documentation>
  907. </xs:annotation>
  908. </xs:import>
  909. <xs:complexType name="openAttrs">
  910. <xs:annotation>
  911. <xs:documentation>
  912. This type is extended by almost all schema types
  913. to allow attributes from other namespaces to be
  914. added to user schemas.
  915. </xs:documentation>
  916. </xs:annotation>
  917. <xs:complexContent>
  918. <xs:restriction base="xs:anyType">
  919. <xs:anyAttribute namespace="##other" processContents="lax"/>
  920. </xs:restriction>
  921. </xs:complexContent>
  922. </xs:complexType>
  923. <xs:complexType name="annotated">
  924. <xs:annotation>
  925. <xs:documentation>
  926. This type is extended by all types which allow annotation
  927. other than &lt;schema&gt; itself
  928. </xs:documentation>
  929. </xs:annotation>
  930. <xs:complexContent>
  931. <xs:extension base="xs:openAttrs">
  932. <xs:sequence>
  933. <xs:element ref="xs:annotation" minOccurs="0"/>
  934. </xs:sequence>
  935. <xs:attribute name="id" type="xs:ID">
  936. <xs:annotation>
  937. <xs:documentation>Specifies an ID.</xs:documentation>
  938. </xs:annotation>
  939. </xs:attribute>
  940. </xs:extension>
  941. </xs:complexContent>
  942. </xs:complexType>
  943. <xs:group name="composition">
  944. <xs:choice>
  945. <xs:element ref="xs:include"/>
  946. <xs:element ref="xs:import"/>
  947. <xs:element ref="xs:redefine"/>
  948. <xs:element ref="xs:override"/>
  949. <xs:element ref="xs:annotation"/>
  950. </xs:choice>
  951. </xs:group>
  952. <xs:group name="schemaTop">
  953. <xs:annotation>
  954. <xs:documentation>
  955. This group is for the
  956. elements which occur freely at the top level of schemas.
  957. All of their types are based on the "annotated" type by extension.</xs:documentation>
  958. </xs:annotation>
  959. <xs:choice>
  960. <xs:group ref="xs:redefinable"/>
  961. <xs:element ref="xs:element"/>
  962. <xs:element ref="xs:attribute"/>
  963. <xs:element ref="xs:notation"/>
  964. </xs:choice>
  965. </xs:group>
  966. <xs:group name="redefinable">
  967. <xs:annotation>
  968. <xs:documentation>
  969. This group is for the
  970. elements which can self-redefine (see &lt;redefine&gt; below).</xs:documentation>
  971. </xs:annotation>
  972. <xs:choice>
  973. <xs:element ref="xs:simpleType"/>
  974. <xs:element ref="xs:complexType"/>
  975. <xs:element ref="xs:group"/>
  976. <xs:element ref="xs:attributeGroup"/>
  977. </xs:choice>
  978. </xs:group>
  979. <xs:simpleType name="formChoice">
  980. <xs:annotation>
  981. <xs:documentation>
  982. A utility type, not for public use</xs:documentation>
  983. </xs:annotation>
  984. <xs:restriction base="xs:NMTOKEN">
  985. <xs:enumeration value="qualified"/>
  986. <xs:enumeration value="unqualified"/>
  987. </xs:restriction>
  988. </xs:simpleType>
  989. <xs:simpleType name="reducedDerivationControl">
  990. <xs:annotation>
  991. <xs:documentation>
  992. A utility type, not for public use</xs:documentation>
  993. </xs:annotation>
  994. <xs:restriction base="xs:derivationControl">
  995. <xs:enumeration value="extension"/>
  996. <xs:enumeration value="restriction"/>
  997. </xs:restriction>
  998. </xs:simpleType>
  999. <xs:simpleType name="derivationSet">
  1000. <xs:annotation>
  1001. <xs:documentation>
  1002. A utility type, not for public use</xs:documentation>
  1003. <xs:documentation>
  1004. #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
  1005. </xs:annotation>
  1006. <xs:union>
  1007. <xs:simpleType>
  1008. <xs:restriction base="xs:token">
  1009. <xs:enumeration value="#all"/>
  1010. </xs:restriction>
  1011. </xs:simpleType>
  1012. <xs:simpleType>
  1013. <xs:list itemType="xs:reducedDerivationControl"/>
  1014. </xs:simpleType>
  1015. </xs:union>
  1016. </xs:simpleType>
  1017. <xs:simpleType name="typeDerivationControl">
  1018. <xs:annotation>
  1019. <xs:documentation>
  1020. A utility type, not for public use</xs:documentation>
  1021. </xs:annotation>
  1022. <xs:restriction base="xs:derivationControl">
  1023. <xs:enumeration value="extension"/>
  1024. <xs:enumeration value="restriction"/>
  1025. <xs:enumeration value="list"/>
  1026. <xs:enumeration value="union"/>
  1027. </xs:restriction>
  1028. </xs:simpleType>
  1029. <xs:simpleType name="fullDerivationSet">
  1030. <xs:annotation>
  1031. <xs:documentation>
  1032. A utility type, not for public use</xs:documentation>
  1033. <xs:documentation>
  1034. #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
  1035. </xs:annotation>
  1036. <xs:union>
  1037. <xs:simpleType>
  1038. <xs:restriction base="xs:token">
  1039. <xs:enumeration value="#all"/>
  1040. </xs:restriction>
  1041. </xs:simpleType>
  1042. <xs:simpleType>
  1043. <xs:list itemType="xs:typeDerivationControl"/>
  1044. </xs:simpleType>
  1045. </xs:union>
  1046. </xs:simpleType>
  1047. <xs:element name="schema" id="schema">
  1048. <xs:annotation>
  1049. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"> Defines the
  1050. root element of a schema. A schema consists of a set of schema
  1051. components. A schema is represented in XML by one or more schema
  1052. documents, that is, one or more &lt;schema&gt; element information items. A schema
  1053. document contains representations for a collection of schema components, e.g. type
  1054. definitions and element declarations, which have a common target
  1055. namespace. <br/> See more info at
  1056. http://www.w3.org/TR/xmlschema-1/#element-schema</xs:documentation>
  1057. </xs:annotation>
  1058. <xs:complexType>
  1059. <xs:complexContent>
  1060. <xs:extension base="xs:openAttrs">
  1061. <xs:sequence>
  1062. <xs:group ref="xs:composition" minOccurs="0" maxOccurs="unbounded"/>
  1063. <xs:sequence minOccurs="0">
  1064. <xs:element ref="xs:defaultOpenContent"/>
  1065. <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
  1066. </xs:sequence>
  1067. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  1068. <xs:group ref="xs:schemaTop"/>
  1069. <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
  1070. </xs:sequence>
  1071. </xs:sequence>
  1072. <xs:attribute name="targetNamespace" type="xs:anyURI">
  1073. <xs:annotation>
  1074. <xs:documentation>Most components corresponding to representations
  1075. within a given schema will have a
  1076. target namespace which corresponds to the targetNamespace attribute.
  1077. The appropriate form of schema
  1078. document corresponding to a schema whose components have no
  1079. target namespace is one which has no targetNamespace attribute
  1080. specified at all.</xs:documentation>
  1081. </xs:annotation>
  1082. </xs:attribute>
  1083. <xs:attribute name="version" type="xs:token">
  1084. <xs:annotation>
  1085. <xs:documentation> Optional. Specifies the version of the schema. It is
  1086. for user convenience, and the XML
  1087. Schema specification defines no semantics for
  1088. it.</xs:documentation>
  1089. </xs:annotation>
  1090. </xs:attribute>
  1091. <xs:attribute name="finalDefault"
  1092. type="xs:fullDerivationSet"
  1093. default=""
  1094. use="optional">
  1095. <xs:annotation>
  1096. <xs:documentation> Optional. Specifies the default value of the final
  1097. attribute on element, simpleType,
  1098. and complexType elements in the target namespace. The final
  1099. attribute prevents a specified type
  1100. of derivation of an element, simpleType, or complexType
  1101. element. For element and complexType elements, this value can
  1102. contain #all or a list that is a
  1103. subset of extension or restriction. For simpleType elements, this
  1104. value can additionally contain list
  1105. and union: <ul>
  1106. <li>extension - prevents derivation by extension</li>
  1107. <li>restriction - prevents derivation by restriction</li>
  1108. <li>list - prevents derivation by list </li>
  1109. <li>union - prevents derivation by union </li>
  1110. <li>#all - prevents all derivation.</li>
  1111. </ul>
  1112. </xs:documentation>
  1113. </xs:annotation>
  1114. </xs:attribute>
  1115. <xs:attribute name="blockDefault"
  1116. type="xs:blockSet"
  1117. default=""
  1118. use="optional">
  1119. <xs:annotation>
  1120. <xs:documentation> Optional. Specifies the default value of the block
  1121. attribute on element and complexType
  1122. elements in the target namespace. The block attribute prevents a
  1123. complex type (or element) that has a
  1124. specified type of derivation from being used in place of
  1125. this complex type. This value can contain #all or a list that is a
  1126. subset of extension, restriction, or
  1127. substitution: <ul>
  1128. <li>extension - prevents complex types derived by extension </li>
  1129. <li>restriction - prevents complex types derived by
  1130. restriction</li>
  1131. <li>substitution - prevents substitution of elements</li>
  1132. <li>#all - prevents all derived complex types.</li>
  1133. </ul>
  1134. </xs:documentation>
  1135. </xs:annotation>
  1136. </xs:attribute>
  1137. <xs:attribute name="attributeFormDefault"
  1138. type="xs:formChoice"
  1139. default="unqualified"
  1140. use="optional">
  1141. <xs:annotation>
  1142. <xs:documentation>Optional. The form for attributes declared in the
  1143. target namespace of this schema. The
  1144. value must be "qualified" or "unqualified". Default is
  1145. "unqualified". <ul>
  1146. <li>"unqualified" indicates that attributes from the target
  1147. namespace are not
  1148. required to be qualified with the namespace prefix.</li>
  1149. <li> "qualified" indicates that attributes from the target
  1150. namespace must be
  1151. qualified with the namespace prefix.</li>
  1152. </ul>
  1153. </xs:documentation>
  1154. </xs:annotation>
  1155. </xs:attribute>
  1156. <xs:attribute name="elementFormDefault"
  1157. type="xs:formChoice"
  1158. default="unqualified"
  1159. use="optional">
  1160. <xs:annotation>
  1161. <xs:documentation>Optional. The form for elements declared in the target
  1162. namespace of this schema. The value
  1163. must be "qualified" or "unqualified". Default is "unqualified". <ul>
  1164. <li>"unqualified" indicates that elements from the target
  1165. namespace are not required
  1166. to be qualified with the namespace prefix. </li>
  1167. <li>"qualified" indicates that elements from the target
  1168. namespace must be qualified
  1169. with the namespace prefix.</li>
  1170. </ul>
  1171. </xs:documentation>
  1172. </xs:annotation>
  1173. </xs:attribute>
  1174. <xs:attribute name="defaultAttributes" type="xs:QName">
  1175. <xs:annotation>
  1176. <xs:documentation>Specify a set of attributes that apply to every complexType in a schema document.</xs:documentation>
  1177. </xs:annotation>
  1178. </xs:attribute>
  1179. <xs:attribute name="xpathDefaultNamespace"
  1180. type="xs:xpathDefaultNamespace"
  1181. default="##local"
  1182. use="optional">
  1183. <xs:annotation>
  1184. <xs:documentation>The default namespace used when evalueates the XPath expression.</xs:documentation>
  1185. </xs:annotation>
  1186. </xs:attribute>
  1187. <xs:attribute name="id" type="xs:ID">
  1188. <xs:annotation>
  1189. <xs:documentation> Optional. Specifies a unique ID for the element. It
  1190. is for user convenience, and the XML
  1191. Schema specification defines no semantics for
  1192. it.</xs:documentation>
  1193. </xs:annotation>
  1194. </xs:attribute>
  1195. <xs:attribute ref="xml:lang"/>
  1196. </xs:extension>
  1197. </xs:complexContent>
  1198. </xs:complexType>
  1199. <xs:key name="element">
  1200. <xs:selector xpath="xs:element"/>
  1201. <xs:field xpath="@name"/>
  1202. </xs:key>
  1203. <xs:key name="attribute">
  1204. <xs:selector xpath="xs:attribute"/>
  1205. <xs:field xpath="@name"/>
  1206. </xs:key>
  1207. <xs:key name="type">
  1208. <xs:selector xpath="xs:complexType|xs:simpleType"/>
  1209. <xs:field xpath="@name"/>
  1210. </xs:key>
  1211. <xs:key name="group">
  1212. <xs:selector xpath="xs:group"/>
  1213. <xs:field xpath="@name"/>
  1214. </xs:key>
  1215. <xs:key name="attributeGroup">
  1216. <xs:selector xpath="xs:attributeGroup"/>
  1217. <xs:field xpath="@name"/>
  1218. </xs:key>
  1219. <xs:key name="notation">
  1220. <xs:selector xpath="xs:notation"/>
  1221. <xs:field xpath="@name"/>
  1222. </xs:key>
  1223. <xs:key name="identityConstraint">
  1224. <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
  1225. <xs:field xpath="@name"/>
  1226. </xs:key>
  1227. </xs:element>
  1228. <xs:simpleType name="allNNI">
  1229. <xs:annotation>
  1230. <xs:documentation>
  1231. for maxOccurs</xs:documentation>
  1232. </xs:annotation>
  1233. <xs:union memberTypes="xs:nonNegativeInteger">
  1234. <xs:simpleType>
  1235. <xs:restriction base="xs:NMTOKEN">
  1236. <xs:enumeration value="unbounded"/>
  1237. </xs:restriction>
  1238. </xs:simpleType>
  1239. </xs:union>
  1240. </xs:simpleType>
  1241. <xs:attributeGroup name="occurs">
  1242. <xs:annotation>
  1243. <xs:documentation>
  1244. for all particles</xs:documentation>
  1245. </xs:annotation>
  1246. <xs:attribute name="minOccurs"
  1247. type="xs:nonNegativeInteger"
  1248. default="1"
  1249. use="optional">
  1250. <xs:annotation>
  1251. <xs:documentation>Specifies the minimum number of occurrences for this particle.
  1252. Default is 1.</xs:documentation>
  1253. </xs:annotation>
  1254. </xs:attribute>
  1255. <xs:attribute name="maxOccurs" type="xs:allNNI" default="1" use="optional">
  1256. <xs:annotation>
  1257. <xs:documentation>Specifies the maximum number of occurrences for this particle.
  1258. Default is 1.</xs:documentation>
  1259. </xs:annotation>
  1260. </xs:attribute>
  1261. </xs:attributeGroup>
  1262. <xs:attributeGroup name="defRef">
  1263. <xs:annotation>
  1264. <xs:documentation>
  1265. for element, group and attributeGroup,
  1266. which both define and reference</xs:documentation>
  1267. </xs:annotation>
  1268. <xs:attribute name="name" type="xs:NCName">
  1269. <xs:annotation>
  1270. <xs:documentation>Specifies a name.</xs:documentation>
  1271. </xs:annotation>
  1272. </xs:attribute>
  1273. <xs:attribute name="ref" type="xs:QName">
  1274. <xs:annotation>
  1275. <xs:documentation>Specifies a reference.</xs:documentation>
  1276. </xs:annotation>
  1277. </xs:attribute>
  1278. </xs:attributeGroup>
  1279. <xs:group name="typeDefParticle">
  1280. <xs:annotation>
  1281. <xs:documentation>
  1282. 'complexType' uses this</xs:documentation>
  1283. </xs:annotation>
  1284. <xs:choice>
  1285. <xs:element name="group" type="xs:groupRef">
  1286. <xs:annotation>
  1287. <xs:documentation>Specifies a group reference.</xs:documentation>
  1288. </xs:annotation>
  1289. </xs:element>
  1290. <xs:element ref="xs:all"/>
  1291. <xs:element ref="xs:choice"/>
  1292. <xs:element ref="xs:sequence"/>
  1293. </xs:choice>
  1294. </xs:group>
  1295. <xs:group name="nestedParticle">
  1296. <xs:choice>
  1297. <xs:element name="element" type="xs:localElement">
  1298. <xs:annotation>
  1299. <xs:documentation>Specifies a local element or a reference to a global
  1300. element.</xs:documentation>
  1301. </xs:annotation>
  1302. </xs:element>
  1303. <xs:element name="group" type="xs:groupRef">
  1304. <xs:annotation>
  1305. <xs:documentation>Specifies a group reference.</xs:documentation>
  1306. </xs:annotation>
  1307. </xs:element>
  1308. <xs:element ref="xs:choice"/>
  1309. <xs:element ref="xs:sequence"/>
  1310. <xs:element ref="xs:any"/>
  1311. </xs:choice>
  1312. </xs:group>
  1313. <xs:group name="particle">
  1314. <xs:choice>
  1315. <xs:element name="element" type="xs:localElement">
  1316. <xs:annotation>
  1317. <xs:documentation>Specifies a local element or a reference to a global
  1318. element.</xs:documentation>
  1319. </xs:annotation>
  1320. </xs:element>
  1321. <xs:element name="group" type="xs:groupRef">
  1322. <xs:annotation>
  1323. <xs:documentation>Specifies a group reference.</xs:documentation>
  1324. </xs:annotation>
  1325. </xs:element>
  1326. <xs:element ref="xs:all"/>
  1327. <xs:element ref="xs:choice"/>
  1328. <xs:element ref="xs:sequence"/>
  1329. <xs:element ref="xs:any"/>
  1330. </xs:choice>
  1331. </xs:group>
  1332. <xs:complexType name="attribute">
  1333. <xs:complexContent>
  1334. <xs:extension base="xs:annotated">
  1335. <xs:sequence>
  1336. <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0">
  1337. <xs:annotation>
  1338. <xs:documentation>Specifies an anonymous local simple type for the
  1339. attribute in case the attribute does
  1340. not have the type attribute to specify a built-in or a pre-declared
  1341. type. The default when no simple
  1342. type definition is referenced or provided is the simple
  1343. ur-type definition, which imposes no constraints at
  1344. all.</xs:documentation>
  1345. </xs:annotation>
  1346. </xs:element>
  1347. </xs:sequence>
  1348. <xs:attributeGroup ref="xs:defRef"/>
  1349. <xs:attribute name="type" type="xs:QName">
  1350. <xs:annotation>
  1351. <xs:documentation>The type attribute is used when the declaration can use a
  1352. built-in or pre-declared simple type
  1353. definition. Otherwise an anonymous &lt;simpleType&gt; is
  1354. provided inline. The default when no simple type definition is
  1355. referenced or provided is the simple ur-type
  1356. definition, which imposes no constraints at all.</xs:documentation>
  1357. </xs:annotation>
  1358. </xs:attribute>
  1359. <xs:attribute name="use" default="optional" use="optional">
  1360. <xs:annotation>
  1361. <xs:documentation>Specifies the attribute use: prohibited, optional or
  1362. required, default is
  1363. optional.</xs:documentation>
  1364. </xs:annotation>
  1365. <xs:simpleType>
  1366. <xs:restriction base="xs:NMTOKEN">
  1367. <xs:enumeration value="prohibited"/>
  1368. <xs:enumeration value="optional"/>
  1369. <xs:enumeration value="required"/>
  1370. </xs:restriction>
  1371. </xs:simpleType>
  1372. </xs:attribute>
  1373. <xs:attribute name="default" type="xs:string">
  1374. <xs:annotation>
  1375. <xs:documentation>The default attribute specifies that the attribute is to
  1376. appear unconditionally in the
  1377. post-schema-validation infoset, with the supplied value used whenever
  1378. the attribute is not actually present.</xs:documentation>
  1379. </xs:annotation>
  1380. </xs:attribute>
  1381. <xs:attribute name="fixed" type="xs:string">
  1382. <xs:annotation>
  1383. <xs:documentation>The fixed attribute indicates that the attribute value if
  1384. present must equal the supplied constraint
  1385. value, and if absent receives the supplied value as for
  1386. default.</xs:documentation>
  1387. </xs:annotation>
  1388. </xs:attribute>
  1389. <xs:attribute name="form" type="xs:formChoice">
  1390. <xs:annotation>
  1391. <xs:documentation>Specifies if a local attribute belongs to the schema
  1392. target namespace or has no namespace. The
  1393. value must be "qualified" or "unqualified". The default value is
  1394. provided by the attributeFormDefault
  1395. attribute on the enclosing &lt;schema&gt;
  1396. element.</xs:documentation>
  1397. </xs:annotation>
  1398. </xs:attribute>
  1399. <xs:attribute name="targetNamespace" type="xs:anyURI">
  1400. <xs:annotation>
  1401. <xs:documentation>Specifies the target namespace for local attribute declarations.
  1402. The namespace URI may be different from the schema target namespace.</xs:documentation>
  1403. </xs:annotation>
  1404. </xs:attribute>
  1405. <xs:attribute name="inheritable" type="xs:boolean">
  1406. <xs:annotation>
  1407. <xs:documentation>Specifies if the attribute is inheritable. Inheritable attributes
  1408. can be used by &lt;alternative&gt; element on descendant elements.
  1409. </xs:documentation>
  1410. </xs:annotation>
  1411. </xs:attribute>
  1412. </xs:extension>
  1413. </xs:complexContent>
  1414. </xs:complexType>
  1415. <xs:complexType name="topLevelAttribute">
  1416. <xs:complexContent>
  1417. <xs:restriction base="xs:attribute">
  1418. <xs:sequence>
  1419. <xs:element ref="xs:annotation" minOccurs="0"/>
  1420. <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0">
  1421. <xs:annotation>
  1422. <xs:documentation> Specifies an anonymous local simple type for the
  1423. attribute in case the attribute does
  1424. not have the type attribute to specify a built-in or a pre-declared
  1425. type. The default when no simple
  1426. type definition is referenced or provided is the simple
  1427. ur-type definition, which imposes no constraints at all.
  1428. </xs:documentation>
  1429. </xs:annotation>
  1430. </xs:element>
  1431. </xs:sequence>
  1432. <xs:attribute name="ref" use="prohibited"/>
  1433. <xs:attribute name="form" use="prohibited"/>
  1434. <xs:attribute name="use" use="prohibited"/>
  1435. <xs:attribute name="targetNamespace" use="prohibited"/>
  1436. <xs:attribute name="name" type="xs:NCName" use="required">
  1437. <xs:annotation>
  1438. <xs:documentation>Specifies the required top level attribute
  1439. name.</xs:documentation>
  1440. </xs:annotation>
  1441. </xs:attribute>
  1442. <xs:attribute name="inheritable" type="xs:boolean">
  1443. <xs:annotation>
  1444. <xs:documentation>Specifies if the attribute is inheritable. Inheritable attributes
  1445. can be used by &lt;alternative&gt; element on descendant elements.
  1446. </xs:documentation>
  1447. </xs:annotation>
  1448. </xs:attribute>
  1449. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1450. </xs:restriction>
  1451. </xs:complexContent>
  1452. </xs:complexType>
  1453. <xs:group name="attrDecls">
  1454. <xs:sequence>
  1455. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1456. <xs:element name="attribute" type="xs:attribute">
  1457. <xs:annotation>
  1458. <xs:documentation>Specifies an attribute.</xs:documentation>
  1459. </xs:annotation>
  1460. </xs:element>
  1461. <xs:element name="attributeGroup" type="xs:attributeGroupRef">
  1462. <xs:annotation>
  1463. <xs:documentation>Specifies an attribute group reference.</xs:documentation>
  1464. </xs:annotation>
  1465. </xs:element>
  1466. </xs:choice>
  1467. <xs:element ref="xs:anyAttribute" minOccurs="0"/>
  1468. </xs:sequence>
  1469. </xs:group>
  1470. <xs:element name="anyAttribute" id="anyAttribute">
  1471. <xs:annotation>
  1472. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute">
  1473. Enables the author to extend the XML document with attributes not
  1474. specified by the schema.</xs:documentation>
  1475. </xs:annotation>
  1476. <xs:complexType>
  1477. <xs:complexContent>
  1478. <xs:extension base="xs:wildcard">
  1479. <xs:attribute name="notQName" type="xs:qnameListA" use="optional">
  1480. <xs:annotation>
  1481. <xs:documentation>Specify an element or attribute that is not allowed.</xs:documentation>
  1482. </xs:annotation>
  1483. </xs:attribute>
  1484. </xs:extension>
  1485. </xs:complexContent>
  1486. </xs:complexType>
  1487. </xs:element>
  1488. <xs:group name="assertions">
  1489. <xs:sequence>
  1490. <xs:element name="assert"
  1491. type="xs:assertion"
  1492. minOccurs="0"
  1493. maxOccurs="unbounded">
  1494. <xs:annotation>
  1495. <xs:documentation>The element is used to make assertions about element and attribute
  1496. values.</xs:documentation>
  1497. </xs:annotation>
  1498. </xs:element>
  1499. </xs:sequence>
  1500. </xs:group>
  1501. <xs:complexType name="assertion">
  1502. <xs:complexContent>
  1503. <xs:extension base="xs:annotated">
  1504. <xs:attribute name="test" type="xs:string">
  1505. <xs:annotation>
  1506. <xs:documentation>Specifies the XPath expression to be evaluated when the element is validated.</xs:documentation>
  1507. </xs:annotation>
  1508. </xs:attribute>
  1509. <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace">
  1510. <xs:annotation>
  1511. <xs:documentation>The default namespace used when evalueates the XPath expression.</xs:documentation>
  1512. </xs:annotation>
  1513. </xs:attribute>
  1514. </xs:extension>
  1515. </xs:complexContent>
  1516. </xs:complexType>
  1517. <xs:group name="complexTypeModel">
  1518. <xs:choice>
  1519. <xs:element ref="xs:simpleContent"/>
  1520. <xs:element ref="xs:complexContent"/>
  1521. <xs:sequence>
  1522. <xs:annotation>
  1523. <xs:documentation>
  1524. This branch is short for
  1525. &lt;complexContent&gt;
  1526. &lt;restriction base="xs:anyType"&gt;
  1527. ...
  1528. &lt;/restriction&gt;
  1529. &lt;/complexContent&gt;</xs:documentation>
  1530. </xs:annotation>
  1531. <xs:element ref="xs:openContent" minOccurs="0"/>
  1532. <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
  1533. <xs:group ref="xs:attrDecls"/>
  1534. <xs:group ref="xs:assertions"/>
  1535. </xs:sequence>
  1536. </xs:choice>
  1537. </xs:group>
  1538. <xs:complexType name="complexType" abstract="true">
  1539. <xs:complexContent>
  1540. <xs:extension base="xs:annotated">
  1541. <xs:group ref="xs:complexTypeModel"/>
  1542. <xs:attribute name="name" type="xs:NCName">
  1543. <xs:annotation>
  1544. <xs:documentation>
  1545. Will be restricted to required or prohibited</xs:documentation>
  1546. </xs:annotation>
  1547. </xs:attribute>
  1548. <xs:attribute name="mixed" type="xs:boolean" use="optional">
  1549. <xs:annotation>
  1550. <xs:documentation>
  1551. Not allowed if simpleContent child is chosen.
  1552. May be overridden by setting on complexContent child.</xs:documentation>
  1553. </xs:annotation>
  1554. </xs:attribute>
  1555. <xs:attribute name="abstract"
  1556. type="xs:boolean"
  1557. default="false"
  1558. use="optional">
  1559. <xs:annotation>
  1560. <xs:documentation>Specifies whether the complex type is abstract or not.
  1561. Default is false. Complex types for which
  1562. abstract is true must not be used as the type definition for the
  1563. validation of element information items. Abstract complex types can be
  1564. used as base type definitions, or even as
  1565. the type definitions of element declarations, provided in every case
  1566. a concrete derived type definition is used for validation.
  1567. </xs:documentation>
  1568. </xs:annotation>
  1569. </xs:attribute>
  1570. <xs:attribute name="final" type="xs:derivationSet">
  1571. <xs:annotation>
  1572. <xs:documentation> A complex type with an empty specification for final can
  1573. be used as a base type definition for other
  1574. types derived by either of extension or restriction; the explicit
  1575. values extension, and restriction prevent further derivations by
  1576. extension and restriction respectively. If
  1577. all values are specified, then the complex type is said to be final,
  1578. because no further derivations are possible. Finality is not inherited,
  1579. that is, a type definition derived by
  1580. restriction from a type definition which is final for extension is not
  1581. itself, in the absence of any explicit final attribute of its own, final
  1582. for anything. </xs:documentation>
  1583. </xs:annotation>
  1584. </xs:attribute>
  1585. <xs:attribute name="block" type="xs:derivationSet">
  1586. <xs:annotation>
  1587. <xs:documentation> Specifies the value of the block attribute on this
  1588. complexType The block attribute prevents a
  1589. complex type that has a specified type of derivation from being used in
  1590. place of this complex type. This value can contain #all or a list that
  1591. is a subset of extension and restriction: <ul>
  1592. <li>extension - prevents complex types derived by extension </li>
  1593. <li>restriction - prevents complex types derived by restriction</li>
  1594. <li>#all - prevents all derived complex types.</li>
  1595. </ul>
  1596. </xs:documentation>
  1597. </xs:annotation>
  1598. </xs:attribute>
  1599. <xs:attribute name="defaultAttributesApply"
  1600. type="xs:boolean"
  1601. default="true"
  1602. use="optional">
  1603. <xs:annotation>
  1604. <xs:documentation>The &lt;schema&gt; element can carry a defaultAttributes attribute, which
  1605. identifies a named Attribute Group Definition; each complex type defined in the
  1606. schema document then automatically includes that attribute group, unless this is
  1607. overridden by the defaultAttributesApply attribute on the &lt;complexType&gt; element.
  1608. </xs:documentation>
  1609. </xs:annotation>
  1610. </xs:attribute>
  1611. </xs:extension>
  1612. </xs:complexContent>
  1613. </xs:complexType>
  1614. <xs:complexType name="topLevelComplexType">
  1615. <xs:complexContent>
  1616. <xs:restriction base="xs:complexType">
  1617. <xs:sequence>
  1618. <xs:element ref="xs:annotation" minOccurs="0"/>
  1619. <xs:group ref="xs:complexTypeModel"/>
  1620. </xs:sequence>
  1621. <xs:attribute name="name" type="xs:NCName" use="required">
  1622. <xs:annotation>
  1623. <xs:documentation>Defines the name of the top level complex type. No complex
  1624. type definition can have the same name as
  1625. another simple or complex type definition.</xs:documentation>
  1626. </xs:annotation>
  1627. </xs:attribute>
  1628. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1629. </xs:restriction>
  1630. </xs:complexContent>
  1631. </xs:complexType>
  1632. <xs:complexType name="localComplexType">
  1633. <xs:complexContent>
  1634. <xs:restriction base="xs:complexType">
  1635. <xs:sequence>
  1636. <xs:element ref="xs:annotation" minOccurs="0"/>
  1637. <xs:group ref="xs:complexTypeModel"/>
  1638. </xs:sequence>
  1639. <xs:attribute name="name" use="prohibited"/>
  1640. <xs:attribute name="abstract" use="prohibited"/>
  1641. <xs:attribute name="final" use="prohibited"/>
  1642. <xs:attribute name="block" use="prohibited"/>
  1643. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1644. </xs:restriction>
  1645. </xs:complexContent>
  1646. </xs:complexType>
  1647. <xs:complexType name="restrictionType">
  1648. <xs:complexContent>
  1649. <xs:extension base="xs:annotated">
  1650. <xs:sequence>
  1651. <xs:choice minOccurs="0">
  1652. <xs:sequence>
  1653. <xs:element ref="xs:openContent" minOccurs="0"/>
  1654. <xs:group ref="xs:typeDefParticle"/>
  1655. </xs:sequence>
  1656. <xs:group ref="xs:simpleRestrictionModel"/>
  1657. </xs:choice>
  1658. <xs:group ref="xs:attrDecls"/>
  1659. <xs:group ref="xs:assertions"/>
  1660. </xs:sequence>
  1661. <xs:attribute name="base" type="xs:QName" use="required">
  1662. <xs:annotation>
  1663. <xs:documentation>Specifies the base type for the
  1664. restriction.</xs:documentation>
  1665. </xs:annotation>
  1666. </xs:attribute>
  1667. </xs:extension>
  1668. </xs:complexContent>
  1669. </xs:complexType>
  1670. <xs:complexType name="complexRestrictionType">
  1671. <xs:complexContent>
  1672. <xs:restriction base="xs:restrictionType">
  1673. <xs:sequence>
  1674. <xs:element ref="xs:annotation" minOccurs="0"/>
  1675. <xs:choice minOccurs="0">
  1676. <xs:annotation>
  1677. <xs:documentation>This choice is added simply to
  1678. make this a valid restriction per the REC</xs:documentation>
  1679. </xs:annotation>
  1680. <xs:sequence>
  1681. <xs:element ref="xs:openContent" minOccurs="0"/>
  1682. <xs:group ref="xs:typeDefParticle"/>
  1683. </xs:sequence>
  1684. </xs:choice>
  1685. <xs:group ref="xs:attrDecls"/>
  1686. <xs:group ref="xs:assertions"/>
  1687. </xs:sequence>
  1688. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1689. </xs:restriction>
  1690. </xs:complexContent>
  1691. </xs:complexType>
  1692. <xs:complexType name="extensionType">
  1693. <xs:complexContent>
  1694. <xs:extension base="xs:annotated">
  1695. <xs:sequence>
  1696. <xs:element ref="xs:openContent" minOccurs="0"/>
  1697. <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
  1698. <xs:group ref="xs:attrDecls"/>
  1699. <xs:group ref="xs:assertions"/>
  1700. </xs:sequence>
  1701. <xs:attribute name="base" type="xs:QName" use="required">
  1702. <xs:annotation>
  1703. <xs:documentation>Specifies the base type for the
  1704. extension.</xs:documentation>
  1705. </xs:annotation>
  1706. </xs:attribute>
  1707. </xs:extension>
  1708. </xs:complexContent>
  1709. </xs:complexType>
  1710. <xs:element name="complexContent" id="complexContent">
  1711. <xs:annotation>
  1712. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent">
  1713. Defines extensions or restrictions on a complex type that contains
  1714. mixed content or elements only. </xs:documentation>
  1715. </xs:annotation>
  1716. <xs:complexType>
  1717. <xs:complexContent>
  1718. <xs:extension base="xs:annotated">
  1719. <xs:choice>
  1720. <xs:element name="restriction" type="xs:complexRestrictionType">
  1721. <xs:annotation>
  1722. <xs:documentation>Defines a restriction.</xs:documentation>
  1723. </xs:annotation>
  1724. </xs:element>
  1725. <xs:element name="extension" type="xs:extensionType">
  1726. <xs:annotation>
  1727. <xs:documentation>Defines an extension.</xs:documentation>
  1728. </xs:annotation>
  1729. </xs:element>
  1730. </xs:choice>
  1731. <xs:attribute name="mixed" type="xs:boolean">
  1732. <xs:annotation>
  1733. <xs:documentation>
  1734. Overrides any setting on complexType parent.</xs:documentation>
  1735. </xs:annotation>
  1736. </xs:attribute>
  1737. </xs:extension>
  1738. </xs:complexContent>
  1739. </xs:complexType>
  1740. </xs:element>
  1741. <xs:element name="openContent" id="openContent">
  1742. <xs:annotation>
  1743. <xs:documentation source="http://www.w3.org/TR/xmlschema11-1/structures.html#element-openContent">
  1744. Specifies that any element can appear interleaved among the declared elements.
  1745. </xs:documentation>
  1746. </xs:annotation>
  1747. <xs:complexType>
  1748. <xs:complexContent>
  1749. <xs:extension base="xs:annotated">
  1750. <xs:sequence>
  1751. <xs:element name="any" minOccurs="0" type="xs:wildcard">
  1752. <xs:annotation>
  1753. <xs:documentation>Wildcard used to specify the elements accepted by open content.</xs:documentation>
  1754. </xs:annotation>
  1755. </xs:element>
  1756. </xs:sequence>
  1757. <xs:attribute name="mode" default="interleave" use="optional">
  1758. <xs:annotation>
  1759. <xs:documentation>Specifies where the extension elements can be inserted.
  1760. The value must be "interleave", "suffix" or "none". Default is "interleave".</xs:documentation>
  1761. </xs:annotation>
  1762. <xs:simpleType>
  1763. <xs:restriction base="xs:NMTOKEN">
  1764. <xs:enumeration value="none"/>
  1765. <xs:enumeration value="interleave"/>
  1766. <xs:enumeration value="suffix"/>
  1767. </xs:restriction>
  1768. </xs:simpleType>
  1769. </xs:attribute>
  1770. </xs:extension>
  1771. </xs:complexContent>
  1772. </xs:complexType>
  1773. </xs:element>
  1774. <xs:element name="defaultOpenContent" id="defaultOpenContent">
  1775. <xs:annotation>
  1776. <xs:documentation source="http://www.w3.org/TR/xmlschema11-1/structures.html#element-defaultOpenContent">
  1777. Specifies that any element can appear interleaved among the declared elements.
  1778. </xs:documentation>
  1779. </xs:annotation>
  1780. <xs:complexType>
  1781. <xs:complexContent>
  1782. <xs:extension base="xs:annotated">
  1783. <xs:sequence>
  1784. <xs:element name="any" type="xs:wildcard">
  1785. <xs:annotation>
  1786. <xs:documentation>Wildcard used to specify the elements accepted by default open content.</xs:documentation>
  1787. </xs:annotation>
  1788. </xs:element>
  1789. </xs:sequence>
  1790. <xs:attribute name="appliesToEmpty"
  1791. type="xs:boolean"
  1792. default="false"
  1793. use="optional">
  1794. <xs:annotation>
  1795. <xs:documentation>Controls whether or not extension elements can be inserted into empty elements.</xs:documentation>
  1796. </xs:annotation>
  1797. </xs:attribute>
  1798. <xs:attribute name="mode" default="interleave" use="optional">
  1799. <xs:annotation>
  1800. <xs:documentation>Specifies where the extension elements can be inserted.</xs:documentation>
  1801. </xs:annotation>
  1802. <xs:simpleType>
  1803. <xs:restriction base="xs:NMTOKEN">
  1804. <xs:enumeration value="interleave"/>
  1805. <xs:enumeration value="suffix"/>
  1806. </xs:restriction>
  1807. </xs:simpleType>
  1808. </xs:attribute>
  1809. </xs:extension>
  1810. </xs:complexContent>
  1811. </xs:complexType>
  1812. </xs:element>
  1813. <xs:complexType name="simpleRestrictionType">
  1814. <xs:complexContent>
  1815. <xs:restriction base="xs:restrictionType">
  1816. <xs:sequence>
  1817. <xs:element ref="xs:annotation" minOccurs="0"/>
  1818. <xs:choice minOccurs="0">
  1819. <xs:annotation>
  1820. <xs:documentation>This choice is added simply to
  1821. make this a valid restriction per the REC</xs:documentation>
  1822. </xs:annotation>
  1823. <xs:group ref="xs:simpleRestrictionModel"/>
  1824. </xs:choice>
  1825. <xs:group ref="xs:attrDecls"/>
  1826. <xs:group ref="xs:assertions"/>
  1827. </xs:sequence>
  1828. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1829. </xs:restriction>
  1830. </xs:complexContent>
  1831. </xs:complexType>
  1832. <xs:complexType name="simpleExtensionType">
  1833. <xs:complexContent>
  1834. <xs:restriction base="xs:extensionType">
  1835. <xs:sequence>
  1836. <xs:annotation>
  1837. <xs:documentation>
  1838. No typeDefParticle group reference</xs:documentation>
  1839. </xs:annotation>
  1840. <xs:element ref="xs:annotation" minOccurs="0"/>
  1841. <xs:group ref="xs:attrDecls"/>
  1842. <xs:group ref="xs:assertions"/>
  1843. </xs:sequence>
  1844. <xs:anyAttribute namespace="##other" processContents="lax"/>
  1845. </xs:restriction>
  1846. </xs:complexContent>
  1847. </xs:complexType>
  1848. <xs:element name="simpleContent" id="simpleContent">
  1849. <xs:annotation>
  1850. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent">
  1851. Contains extensions or restrictions on a text-only complex type or
  1852. on a simple type as content and contains no
  1853. elements.</xs:documentation>
  1854. </xs:annotation>
  1855. <xs:complexType>
  1856. <xs:complexContent>
  1857. <xs:extension base="xs:annotated">
  1858. <xs:choice>
  1859. <xs:element name="restriction" type="xs:simpleRestrictionType">
  1860. <xs:annotation>
  1861. <xs:documentation>Defines restrictions on a simpleType,
  1862. simpleContent, or a
  1863. complexContent. </xs:documentation>
  1864. </xs:annotation>
  1865. </xs:element>
  1866. <xs:element name="extension" type="xs:simpleExtensionType">
  1867. <xs:annotation>
  1868. <xs:documentation>Extends an existing simpleType or complexType
  1869. element. </xs:documentation>
  1870. </xs:annotation>
  1871. </xs:element>
  1872. </xs:choice>
  1873. </xs:extension>
  1874. </xs:complexContent>
  1875. </xs:complexType>
  1876. </xs:element>
  1877. <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
  1878. <xs:annotation>
  1879. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType">
  1880. Defines a top level complex type.<br/> Complex Type Definitions
  1881. provide for: <ul>
  1882. <li>Constraining element information items by providing Attribute Declarations
  1883. governing the appearance and content of
  1884. attributes.</li>
  1885. <li>Constraining element information item children to be empty, or to conform to
  1886. a specified element-only or mixed content model, or
  1887. else constraining the character information item
  1888. children to conform to a specified simple type definition.</li>
  1889. <li>Using the mechanisms of Type Definition Hierarchy to derive a complex type
  1890. from another simple or complex type.</li>
  1891. <li>Specifying post-schema-validation infoset contributions for elements.</li>
  1892. <li>Limiting the ability to derive additional types from a given complex
  1893. type.</li>
  1894. <li>Controlling the permission to substitute, in an instance, elements of a
  1895. derived type for elements declared in a content
  1896. model to be of a given complex type.</li>
  1897. </ul>
  1898. </xs:documentation>
  1899. </xs:annotation>
  1900. </xs:element>
  1901. <xs:simpleType name="blockSet">
  1902. <xs:annotation>
  1903. <xs:documentation>
  1904. A utility type, not for public use</xs:documentation>
  1905. <xs:documentation>
  1906. #all or (possibly empty) subset of {substitution, extension,
  1907. restriction}</xs:documentation>
  1908. </xs:annotation>
  1909. <xs:union>
  1910. <xs:simpleType>
  1911. <xs:restriction base="xs:token">
  1912. <xs:enumeration value="#all"/>
  1913. </xs:restriction>
  1914. </xs:simpleType>
  1915. <xs:simpleType>
  1916. <xs:list>
  1917. <xs:simpleType>
  1918. <xs:restriction base="xs:derivationControl">
  1919. <xs:enumeration value="extension"/>
  1920. <xs:enumeration value="restriction"/>
  1921. <xs:enumeration value="substitution"/>
  1922. </xs:restriction>
  1923. </xs:simpleType>
  1924. </xs:list>
  1925. </xs:simpleType>
  1926. </xs:union>
  1927. </xs:simpleType>
  1928. <xs:complexType name="element" abstract="true">
  1929. <xs:annotation>
  1930. <xs:documentation>
  1931. The element element can be used either
  1932. at the top level to define an element-type binding globally,
  1933. or within a content model to either reference a globally-defined
  1934. element or type or declare an element-type binding locally.
  1935. The ref form is not allowed at the top level.</xs:documentation>
  1936. </xs:annotation>
  1937. <xs:complexContent>
  1938. <xs:extension base="xs:annotated">
  1939. <xs:sequence>
  1940. <xs:choice minOccurs="0">
  1941. <xs:element name="simpleType" type="xs:localSimpleType">
  1942. <xs:annotation>
  1943. <xs:documentation>Specifies a local simple type.</xs:documentation>
  1944. </xs:annotation>
  1945. </xs:element>
  1946. <xs:element name="complexType" type="xs:localComplexType">
  1947. <xs:annotation>
  1948. <xs:documentation>Defines a local complex type. Complex Type
  1949. Definitions provide for: <ul>
  1950. <li>Constraining element information items by providing
  1951. Attribute Declarations
  1952. governing the appearance and content of attributes.</li>
  1953. <li>Constraining element information item children to be
  1954. empty, or to conform to
  1955. a specified element-only or mixed content model, or else
  1956. constraining the
  1957. character information item children to conform to a
  1958. specified simple type
  1959. definition.</li>
  1960. <li>Using the mechanisms of Type Definition Hierarchy to
  1961. derive a complex type
  1962. from another simple or complex type.</li>
  1963. <li>Specifying post-schema-validation infoset contributions
  1964. for elements.</li>
  1965. <li>Limiting the ability to derive additional types from a
  1966. given complex
  1967. type.</li>
  1968. <li>Controlling the permission to substitute, in an
  1969. instance, elements of a
  1970. derived type for elements declared in a content model to
  1971. be of a given
  1972. complex type.</li>
  1973. </ul>
  1974. </xs:documentation>
  1975. </xs:annotation>
  1976. </xs:element>
  1977. </xs:choice>
  1978. <xs:element name="alternative"
  1979. type="xs:altType"
  1980. minOccurs="0"
  1981. maxOccurs="unbounded">
  1982. <xs:annotation>
  1983. <xs:documentation>The &lt;alternative&gt; element is used specify an element a choice
  1984. types, depending on the value of the attributes. </xs:documentation>
  1985. </xs:annotation>
  1986. </xs:element>
  1987. <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
  1988. </xs:sequence>
  1989. <xs:attributeGroup ref="xs:defRef"/>
  1990. <xs:attribute name="type" type="xs:QName">
  1991. <xs:annotation>
  1992. <xs:documentation>Specifies a type definition for this element by reference
  1993. to a defined type.</xs:documentation>
  1994. </xs:annotation>
  1995. </xs:attribute>
  1996. <xs:attribute name="substitutionGroup">
  1997. <xs:annotation>
  1998. <xs:documentation>Defines the substitution group head element. XML Schema
  1999. provides a mechanism, called substitution
  2000. groups, that allows elements to be substituted for other elements. More
  2001. specifically, elements can be assigned to a special group of elements
  2002. that are said to be substitutable for a
  2003. particular named element called the head element. (Note that the head
  2004. element must be declared as a global element.).</xs:documentation>
  2005. </xs:annotation>
  2006. <xs:simpleType>
  2007. <xs:list itemType="xs:QName"/>
  2008. </xs:simpleType>
  2009. </xs:attribute>
  2010. <xs:attributeGroup ref="xs:occurs"/>
  2011. <xs:attribute name="default" type="xs:string">
  2012. <xs:annotation>
  2013. <xs:documentation>Specifies a default value for this element. The element
  2014. must have either a simple type or a complex
  2015. type emptiable and with mixed content.</xs:documentation>
  2016. </xs:annotation>
  2017. </xs:attribute>
  2018. <xs:attribute name="fixed" type="xs:string">
  2019. <xs:annotation>
  2020. <xs:documentation>Specifies a fixed value for this element. If fixed is
  2021. specified, then the element's content must
  2022. either be empty, in which case fixed behaves as default, or its value
  2023. must match the supplied constraint value.</xs:documentation>
  2024. </xs:annotation>
  2025. </xs:attribute>
  2026. <xs:attribute name="nillable" type="xs:boolean" use="optional">
  2027. <xs:annotation>
  2028. <xs:documentation>Specifies if the element is nillable, default is false. If
  2029. nillable is true then an element may also be
  2030. valid if it specifies xsi:nil="true" even if it has no text or
  2031. element content despite a content type which would otherwise require
  2032. content.</xs:documentation>
  2033. </xs:annotation>
  2034. </xs:attribute>
  2035. <xs:attribute name="abstract"
  2036. type="xs:boolean"
  2037. default="false"
  2038. use="optional">
  2039. <xs:annotation>
  2040. <xs:documentation>Specifies if the element is abstract, default is false.
  2041. Element declarations for which abstract is
  2042. true can appear in content models only when substitution is
  2043. allowed.</xs:documentation>
  2044. </xs:annotation>
  2045. </xs:attribute>
  2046. <xs:attribute name="final" type="xs:derivationSet">
  2047. <xs:annotation>
  2048. <xs:documentation>Specifies the value of the final attribute for this
  2049. element. The final attribute prevents a
  2050. specified type of derivation of an element. For elements this value can
  2051. contain #all or a list that is a subset of extension or restriction. <ul>
  2052. <li>extension - prevents derivation by extension</li>
  2053. <li>restriction - prevents derivation by restriction</li>
  2054. <li>#all - prevents all derivation.</li>
  2055. </ul>
  2056. </xs:documentation>
  2057. </xs:annotation>
  2058. </xs:attribute>
  2059. <xs:attribute name="block" type="xs:blockSet">
  2060. <xs:annotation>
  2061. <xs:documentation>Specifies the value of the block attribute on this
  2062. element. The block attribute prevents an
  2063. element that has a specified type of derivation from being used in
  2064. place of this element. This value can contain #all or a list that is a
  2065. subset of extension, restriction, or
  2066. substitution.</xs:documentation>
  2067. </xs:annotation>
  2068. </xs:attribute>
  2069. <xs:attribute name="form" type="xs:formChoice">
  2070. <xs:annotation>
  2071. <xs:documentation>Specifies the target namespace for this element. The value
  2072. must be "qualified" or "unqualified". The
  2073. default value is provided by the elementFormDefault attribute on the
  2074. enclosing &lt;schema&gt; element. <ul>
  2075. <li>"unqualified" indicates that a local element belongs to no
  2076. namespace.</li>
  2077. <li>"qualified" indicates that a local element belongs to the schema
  2078. target namespace.</li>
  2079. </ul>
  2080. </xs:documentation>
  2081. </xs:annotation>
  2082. </xs:attribute>
  2083. <xs:attribute name="targetNamespace" type="xs:anyURI">
  2084. <xs:annotation>
  2085. <xs:documentation>Specifies the target namespace for local element declarations.
  2086. The namespace URI may be different from the schema target namespace.</xs:documentation>
  2087. </xs:annotation>
  2088. </xs:attribute>
  2089. </xs:extension>
  2090. </xs:complexContent>
  2091. </xs:complexType>
  2092. <xs:complexType name="topLevelElement">
  2093. <xs:complexContent>
  2094. <xs:restriction base="xs:element">
  2095. <xs:sequence>
  2096. <xs:element ref="xs:annotation" minOccurs="0"/>
  2097. <xs:choice minOccurs="0">
  2098. <xs:element name="simpleType" type="xs:localSimpleType">
  2099. <xs:annotation>
  2100. <xs:documentation>Specifies a local simple type.</xs:documentation>
  2101. </xs:annotation>
  2102. </xs:element>
  2103. <xs:element name="complexType" type="xs:localComplexType">
  2104. <xs:annotation>
  2105. <xs:documentation>Defines a local complex type. Complex Type
  2106. Definitions provide for: <ul>
  2107. <li>Constraining element information items by providing
  2108. Attribute Declarations
  2109. governing the appearance and content of attributes.</li>
  2110. <li>Constraining element information item children to be
  2111. empty, or to conform to
  2112. a specified element-only or mixed content model, or else
  2113. constraining the
  2114. character information item children to conform to a
  2115. specified simple type
  2116. definition.</li>
  2117. <li>Using the mechanisms of Type Definition Hierarchy to
  2118. derive a complex type
  2119. from another simple or complex type.</li>
  2120. <li>Specifying post-schema-validation infoset contributions
  2121. for elements.</li>
  2122. <li>Limiting the ability to derive additional types from a
  2123. given complex
  2124. type.</li>
  2125. <li>Controlling the permission to substitute, in an
  2126. instance, elements of a
  2127. derived type for elements declared in a content model to
  2128. be of a given
  2129. complex type.</li>
  2130. </ul>
  2131. </xs:documentation>
  2132. </xs:annotation>
  2133. </xs:element>
  2134. </xs:choice>
  2135. <xs:element name="alternative"
  2136. type="xs:altType"
  2137. minOccurs="0"
  2138. maxOccurs="unbounded">
  2139. <xs:annotation>
  2140. <xs:documentation>The &lt;alternative&gt; element is used specify an element a choice
  2141. types, depending on the value of the attributes. </xs:documentation>
  2142. </xs:annotation>
  2143. </xs:element>
  2144. <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
  2145. </xs:sequence>
  2146. <xs:attribute name="ref" use="prohibited"/>
  2147. <xs:attribute name="form" use="prohibited"/>
  2148. <xs:attribute name="targetNamespace" use="prohibited"/>
  2149. <xs:attribute name="minOccurs" use="prohibited"/>
  2150. <xs:attribute name="maxOccurs" use="prohibited"/>
  2151. <xs:attribute name="name" type="xs:NCName" use="required">
  2152. <xs:annotation>
  2153. <xs:documentation>Specifies the required top level element
  2154. name.</xs:documentation>
  2155. </xs:annotation>
  2156. </xs:attribute>
  2157. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2158. </xs:restriction>
  2159. </xs:complexContent>
  2160. </xs:complexType>
  2161. <xs:complexType name="localElement">
  2162. <xs:complexContent>
  2163. <xs:restriction base="xs:element">
  2164. <xs:sequence>
  2165. <xs:element ref="xs:annotation" minOccurs="0"/>
  2166. <xs:choice minOccurs="0">
  2167. <xs:element name="simpleType" type="xs:localSimpleType">
  2168. <xs:annotation>
  2169. <xs:documentation>Specifies a local simple type.</xs:documentation>
  2170. </xs:annotation>
  2171. </xs:element>
  2172. <xs:element name="complexType" type="xs:localComplexType">
  2173. <xs:annotation>
  2174. <xs:documentation>Defines a local complex type. Complex Type
  2175. Definitions provide for: <ul>
  2176. <li>Constraining element information items by providing
  2177. Attribute Declarations
  2178. governing the appearance and content of attributes.</li>
  2179. <li>Constraining element information item children to be
  2180. empty, or to conform to
  2181. a specified element-only or mixed content model, or else
  2182. constraining the
  2183. character information item children to conform to a
  2184. specified simple type
  2185. definition.</li>
  2186. <li>Using the mechanisms of Type Definition Hierarchy to
  2187. derive a complex type
  2188. from another simple or complex type.</li>
  2189. <li>Specifying post-schema-validation infoset contributions
  2190. for elements.</li>
  2191. <li>Limiting the ability to derive additional types from a
  2192. given complex
  2193. type.</li>
  2194. <li>Controlling the permission to substitute, in an
  2195. instance, elements of a
  2196. derived type for elements declared in a content model to
  2197. be of a given
  2198. complex type.</li>
  2199. </ul>
  2200. </xs:documentation>
  2201. </xs:annotation>
  2202. </xs:element>
  2203. </xs:choice>
  2204. <xs:element name="alternative"
  2205. type="xs:altType"
  2206. minOccurs="0"
  2207. maxOccurs="unbounded">
  2208. <xs:annotation>
  2209. <xs:documentation>The &lt;alternative&gt; element is used specify an element a choice
  2210. types, depending on the value of the attributes. </xs:documentation>
  2211. </xs:annotation>
  2212. </xs:element>
  2213. <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
  2214. </xs:sequence>
  2215. <xs:attribute name="substitutionGroup" use="prohibited"/>
  2216. <xs:attribute name="final" use="prohibited"/>
  2217. <xs:attribute name="abstract" use="prohibited"/>
  2218. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2219. </xs:restriction>
  2220. </xs:complexContent>
  2221. </xs:complexType>
  2222. <xs:element name="element" type="xs:topLevelElement" id="element">
  2223. <xs:annotation>
  2224. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"> Defines an
  2225. element. An element declaration is an association of a name with a
  2226. type definition, either simple or complex, an (optional) default
  2227. value and a (possibly empty) set of identity-constraint definitions.
  2228. </xs:documentation>
  2229. </xs:annotation>
  2230. </xs:element>
  2231. <xs:complexType name="altType">
  2232. <xs:annotation>
  2233. <xs:documentation>
  2234. This type is used for 'alternative' elements.
  2235. </xs:documentation>
  2236. </xs:annotation>
  2237. <xs:complexContent>
  2238. <xs:extension base="xs:annotated">
  2239. <xs:choice minOccurs="0">
  2240. <xs:element name="simpleType" type="xs:localSimpleType">
  2241. <xs:annotation>
  2242. <xs:documentation> Defines a simple type. A simple type definition is a set of
  2243. constraints on strings and information about the values they encode, applicable to
  2244. the normalized value of an attribute information item or of an element information
  2245. item with no element children. Informally, it applies to the values of attributes
  2246. and the text-only content of elements. </xs:documentation>
  2247. </xs:annotation>
  2248. </xs:element>
  2249. <xs:element name="complexType" type="xs:localComplexType">
  2250. <xs:annotation>
  2251. <xs:documentation>Defines a local complex type. Complex Type
  2252. Definitions provide for: <ul>
  2253. <li>Constraining element information items by providing
  2254. Attribute Declarations
  2255. governing the appearance and content of attributes.</li>
  2256. <li>Constraining element information item children to be
  2257. empty, or to conform to
  2258. a specified element-only or mixed content model, or else
  2259. constraining the
  2260. character information item children to conform to a
  2261. specified simple type
  2262. definition.</li>
  2263. <li>Using the mechanisms of Type Definition Hierarchy to
  2264. derive a complex type
  2265. from another simple or complex type.</li>
  2266. <li>Specifying post-schema-validation infoset contributions
  2267. for elements.</li>
  2268. <li>Limiting the ability to derive additional types from a
  2269. given complex
  2270. type.</li>
  2271. <li>Controlling the permission to substitute, in an
  2272. instance, elements of a
  2273. derived type for elements declared in a content model to
  2274. be of a given
  2275. complex type.</li>
  2276. </ul>
  2277. </xs:documentation>
  2278. </xs:annotation>
  2279. </xs:element>
  2280. </xs:choice>
  2281. <xs:attribute name="test" type="xs:string" use="optional">
  2282. <xs:annotation>
  2283. <xs:documentation>Specifies an XPath expression. If the XPath expression is evaluated to
  2284. true,then the specified type is selected as the element type. The expressions
  2285. allowed are limited to a subset of XPath 2.0.In the XPath expression are accessible
  2286. only the attributes of the current element and inheriritable attributes from
  2287. ancestor elements. </xs:documentation>
  2288. </xs:annotation>
  2289. </xs:attribute>
  2290. <xs:attribute name="type" type="xs:QName" use="optional">
  2291. <xs:annotation>
  2292. <xs:documentation>Specifies the type of the element that should be used if the test
  2293. attribute is evaluated to true. The type specified must be derived from the element
  2294. declared type or a special simple type definition called xs:error (which has no
  2295. valid instances).</xs:documentation>
  2296. </xs:annotation>
  2297. </xs:attribute>
  2298. <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace">
  2299. <xs:annotation>
  2300. <xs:documentation>The default namespace used when evalueates the XPath
  2301. expression.</xs:documentation>
  2302. </xs:annotation>
  2303. </xs:attribute>
  2304. </xs:extension>
  2305. </xs:complexContent>
  2306. </xs:complexType>
  2307. <xs:complexType name="group" abstract="true">
  2308. <xs:annotation>
  2309. <xs:documentation>
  2310. group type for explicit groups, named top-level groups and
  2311. group references</xs:documentation>
  2312. </xs:annotation>
  2313. <xs:complexContent>
  2314. <xs:extension base="xs:annotated">
  2315. <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
  2316. <xs:attributeGroup ref="xs:defRef"/>
  2317. <xs:attributeGroup ref="xs:occurs"/>
  2318. </xs:extension>
  2319. </xs:complexContent>
  2320. </xs:complexType>
  2321. <xs:complexType name="realGroup">
  2322. <xs:complexContent>
  2323. <xs:restriction base="xs:group">
  2324. <xs:sequence>
  2325. <xs:element ref="xs:annotation" minOccurs="0"/>
  2326. <xs:choice minOccurs="0" maxOccurs="1">
  2327. <xs:element ref="xs:all"/>
  2328. <xs:element ref="xs:choice"/>
  2329. <xs:element ref="xs:sequence"/>
  2330. </xs:choice>
  2331. </xs:sequence>
  2332. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2333. </xs:restriction>
  2334. </xs:complexContent>
  2335. </xs:complexType>
  2336. <xs:complexType name="namedGroup">
  2337. <xs:complexContent>
  2338. <xs:restriction base="xs:realGroup">
  2339. <xs:sequence>
  2340. <xs:element ref="xs:annotation" minOccurs="0"/>
  2341. <xs:choice minOccurs="1" maxOccurs="1">
  2342. <xs:element name="all">
  2343. <xs:annotation>
  2344. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all">
  2345. Specifies that the child
  2346. elements can appear in any order. Each child element can occur 0
  2347. or 1
  2348. time.</xs:documentation>
  2349. </xs:annotation>
  2350. <xs:complexType>
  2351. <xs:complexContent>
  2352. <xs:restriction base="xs:all">
  2353. <xs:group ref="xs:allModel"/>
  2354. <xs:attribute name="minOccurs" use="prohibited"/>
  2355. <xs:attribute name="maxOccurs" use="prohibited"/>
  2356. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2357. </xs:restriction>
  2358. </xs:complexContent>
  2359. </xs:complexType>
  2360. </xs:element>
  2361. <xs:element name="choice" type="xs:simpleExplicitGroup">
  2362. <xs:annotation>
  2363. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice">
  2364. Allows only one of the
  2365. elements contained in the &lt;choice&gt; declaration to be
  2366. present within the containing element.</xs:documentation>
  2367. </xs:annotation>
  2368. </xs:element>
  2369. <xs:element name="sequence" type="xs:simpleExplicitGroup">
  2370. <xs:annotation>
  2371. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence">
  2372. Specifies that the child
  2373. elements must appear in a sequence. Each child element can occur
  2374. from 0 to any number of
  2375. times.</xs:documentation>
  2376. </xs:annotation>
  2377. </xs:element>
  2378. </xs:choice>
  2379. </xs:sequence>
  2380. <xs:attribute name="name" type="xs:NCName" use="required">
  2381. <xs:annotation>
  2382. <xs:documentation>Specifies the required named group
  2383. name.</xs:documentation>
  2384. </xs:annotation>
  2385. </xs:attribute>
  2386. <xs:attribute name="ref" use="prohibited"/>
  2387. <xs:attribute name="minOccurs" use="prohibited"/>
  2388. <xs:attribute name="maxOccurs" use="prohibited"/>
  2389. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2390. </xs:restriction>
  2391. </xs:complexContent>
  2392. </xs:complexType>
  2393. <xs:complexType name="groupRef">
  2394. <xs:complexContent>
  2395. <xs:restriction base="xs:realGroup">
  2396. <xs:sequence>
  2397. <xs:element ref="xs:annotation" minOccurs="0"/>
  2398. </xs:sequence>
  2399. <xs:attribute name="ref" type="xs:QName" use="required">
  2400. <xs:annotation>
  2401. <xs:documentation>Specifies the group this group reference points
  2402. to.</xs:documentation>
  2403. </xs:annotation>
  2404. </xs:attribute>
  2405. <xs:attribute name="name" use="prohibited"/>
  2406. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2407. </xs:restriction>
  2408. </xs:complexContent>
  2409. </xs:complexType>
  2410. <xs:complexType name="explicitGroup">
  2411. <xs:annotation>
  2412. <xs:documentation>
  2413. group type for the three kinds of group</xs:documentation>
  2414. </xs:annotation>
  2415. <xs:complexContent>
  2416. <xs:restriction base="xs:group">
  2417. <xs:sequence>
  2418. <xs:element ref="xs:annotation" minOccurs="0"/>
  2419. <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
  2420. </xs:sequence>
  2421. <xs:attribute name="name" use="prohibited"/>
  2422. <xs:attribute name="ref" use="prohibited"/>
  2423. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2424. </xs:restriction>
  2425. </xs:complexContent>
  2426. </xs:complexType>
  2427. <xs:complexType name="simpleExplicitGroup">
  2428. <xs:complexContent>
  2429. <xs:restriction base="xs:explicitGroup">
  2430. <xs:sequence>
  2431. <xs:element ref="xs:annotation" minOccurs="0"/>
  2432. <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
  2433. </xs:sequence>
  2434. <xs:attribute name="minOccurs" use="prohibited"/>
  2435. <xs:attribute name="maxOccurs" use="prohibited"/>
  2436. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2437. </xs:restriction>
  2438. </xs:complexContent>
  2439. </xs:complexType>
  2440. <xs:group name="allModel">
  2441. <xs:sequence>
  2442. <xs:element ref="xs:annotation" minOccurs="0"/>
  2443. <xs:choice minOccurs="0" maxOccurs="unbounded">
  2444. <xs:annotation>
  2445. <xs:documentation>This choice with min/max is here to
  2446. avoid a pblm with the Elt:All/Choice/Seq
  2447. Particle derivation constraint</xs:documentation>
  2448. </xs:annotation>
  2449. <xs:element name="element" type="xs:localElement">
  2450. <xs:annotation>
  2451. <xs:documentation>Specifies a local element or a reference to a global
  2452. element.</xs:documentation>
  2453. </xs:annotation>
  2454. </xs:element>
  2455. <xs:element ref="xs:any"/>
  2456. <xs:element name="group">
  2457. <xs:annotation>
  2458. <xs:documentation>Specifies a group reference.</xs:documentation>
  2459. </xs:annotation>
  2460. <xs:complexType>
  2461. <xs:complexContent>
  2462. <xs:restriction base="xs:groupRef">
  2463. <xs:sequence>
  2464. <xs:element ref="xs:annotation" minOccurs="0"/>
  2465. </xs:sequence>
  2466. <xs:attribute name="minOccurs" fixed="1" type="xs:nonNegativeInteger"/>
  2467. <xs:attribute name="maxOccurs" fixed="1" type="xs:nonNegativeInteger"/>
  2468. </xs:restriction>
  2469. </xs:complexContent>
  2470. </xs:complexType>
  2471. </xs:element>
  2472. </xs:choice>
  2473. </xs:sequence>
  2474. </xs:group>
  2475. <xs:complexType name="all">
  2476. <xs:annotation>
  2477. <xs:documentation>
  2478. Only elements allowed inside</xs:documentation>
  2479. </xs:annotation>
  2480. <xs:complexContent>
  2481. <xs:restriction base="xs:explicitGroup">
  2482. <xs:group ref="xs:allModel"/>
  2483. <xs:attribute name="minOccurs" default="1" use="optional">
  2484. <xs:annotation>
  2485. <xs:documentation>Specifies the minimum number of occurrences, possible
  2486. values are 0 and 1, default is
  2487. 1.</xs:documentation>
  2488. </xs:annotation>
  2489. <xs:simpleType>
  2490. <xs:restriction base="xs:nonNegativeInteger">
  2491. <xs:enumeration value="0"/>
  2492. <xs:enumeration value="1"/>
  2493. </xs:restriction>
  2494. </xs:simpleType>
  2495. </xs:attribute>
  2496. <xs:attribute name="maxOccurs" default="1" use="optional">
  2497. <xs:annotation>
  2498. <xs:documentation>Specifies the maximum number of occurrences, possible
  2499. value is 1, default is 1.</xs:documentation>
  2500. </xs:annotation>
  2501. <xs:simpleType>
  2502. <xs:restriction base="xs:allNNI">
  2503. <xs:enumeration value="0"/>
  2504. <xs:enumeration value="1"/>
  2505. </xs:restriction>
  2506. </xs:simpleType>
  2507. </xs:attribute>
  2508. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2509. </xs:restriction>
  2510. </xs:complexContent>
  2511. </xs:complexType>
  2512. <xs:element name="all" type="xs:all" id="all">
  2513. <xs:annotation>
  2514. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"> Specifies that
  2515. the child elements can appear in any order. Each child element can
  2516. occur 0 or 1 time. </xs:documentation>
  2517. </xs:annotation>
  2518. </xs:element>
  2519. <xs:element name="choice" type="xs:explicitGroup" id="choice">
  2520. <xs:annotation>
  2521. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"> Allows only
  2522. one of the elements contained in the &lt;choice&gt; declaration to
  2523. be present within the containing element.</xs:documentation>
  2524. </xs:annotation>
  2525. </xs:element>
  2526. <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
  2527. <xs:annotation>
  2528. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"> Specifies
  2529. that the child elements must appear in a sequence. Each child
  2530. element can occur from 0 to any number of times.</xs:documentation>
  2531. </xs:annotation>
  2532. </xs:element>
  2533. <xs:element name="group" type="xs:namedGroup" id="group">
  2534. <xs:annotation>
  2535. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"> Defines a
  2536. group of elements to be used in complex type
  2537. definitions.</xs:documentation>
  2538. </xs:annotation>
  2539. </xs:element>
  2540. <xs:attributeGroup name="anyAttrGroup">
  2541. <xs:attribute name="namespace" type="xs:namespaceList" use="optional">
  2542. <xs:annotation>
  2543. <xs:documentation>Specifies the namespace(s) allowed by the wildcard, default is ##any
  2544. standing for any namespace.</xs:documentation>
  2545. </xs:annotation>
  2546. </xs:attribute>
  2547. <xs:attribute name="notNamespace" use="optional">
  2548. <xs:annotation>
  2549. <xs:documentation>Specify the namespace that extension elements or attributes cannot come from.</xs:documentation>
  2550. </xs:annotation>
  2551. <xs:simpleType>
  2552. <xs:restriction base="xs:basicNamespaceList">
  2553. <xs:minLength value="1"/>
  2554. </xs:restriction>
  2555. </xs:simpleType>
  2556. </xs:attribute>
  2557. <xs:attribute name="processContents" default="strict" use="optional">
  2558. <xs:annotation>
  2559. <xs:documentation>Specifies the validation constraint to be applied on the content that
  2560. matched the wildcard. Possible values are <ul>
  2561. <li>skip - that means no validation</li>
  2562. <li>lax - that means validation will be performed if a schema is available</li>
  2563. <li>strict - that means validation is required </li>
  2564. </ul> The default is strict. </xs:documentation>
  2565. </xs:annotation>
  2566. <xs:simpleType>
  2567. <xs:restriction base="xs:NMTOKEN">
  2568. <xs:enumeration value="skip"/>
  2569. <xs:enumeration value="lax"/>
  2570. <xs:enumeration value="strict"/>
  2571. </xs:restriction>
  2572. </xs:simpleType>
  2573. </xs:attribute>
  2574. </xs:attributeGroup>
  2575. <xs:complexType name="wildcard">
  2576. <xs:complexContent>
  2577. <xs:extension base="xs:annotated">
  2578. <xs:attributeGroup ref="xs:anyAttrGroup"/>
  2579. </xs:extension>
  2580. </xs:complexContent>
  2581. </xs:complexType>
  2582. <xs:element name="any" id="any">
  2583. <xs:annotation>
  2584. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"> Enables the
  2585. author to extend the XML document with elements not specified by the
  2586. schema.</xs:documentation>
  2587. </xs:annotation>
  2588. <xs:complexType>
  2589. <xs:complexContent>
  2590. <xs:extension base="xs:wildcard">
  2591. <xs:attribute name="notQName" type="xs:qnameList" use="optional">
  2592. <xs:annotation>
  2593. <xs:documentation>Specify an element or attribute that is not allowed.</xs:documentation>
  2594. </xs:annotation>
  2595. </xs:attribute>
  2596. <xs:attributeGroup ref="xs:occurs"/>
  2597. </xs:extension>
  2598. </xs:complexContent>
  2599. </xs:complexType>
  2600. </xs:element>
  2601. <xs:annotation>
  2602. <xs:documentation>
  2603. simple type for the value of the 'namespace' attr of
  2604. 'any' and 'anyAttribute'</xs:documentation>
  2605. </xs:annotation>
  2606. <xs:annotation>
  2607. <xs:documentation>
  2608. Value is
  2609. ##any - - any non-conflicting WFXML/attribute at all
  2610. ##other - - any non-conflicting WFXML/attribute from
  2611. namespace other than targetNS
  2612. ##local - - any unqualified non-conflicting WFXML/attribute
  2613. one or - - any non-conflicting WFXML/attribute from
  2614. more URI the listed namespaces
  2615. references
  2616. (space separated)
  2617. ##targetNamespace or ##local may appear in the above list, to
  2618. refer to the targetNamespace of the enclosing
  2619. schema or an absent targetNamespace respectively</xs:documentation>
  2620. </xs:annotation>
  2621. <xs:simpleType name="namespaceList">
  2622. <xs:annotation>
  2623. <xs:documentation>
  2624. A utility type, not for public use</xs:documentation>
  2625. </xs:annotation>
  2626. <xs:union memberTypes="xs:specialNamespaceList xs:basicNamespaceList"/>
  2627. </xs:simpleType>
  2628. <xs:simpleType name="basicNamespaceList">
  2629. <xs:annotation>
  2630. <xs:documentation>
  2631. A utility type, not for public use</xs:documentation>
  2632. </xs:annotation>
  2633. <xs:list>
  2634. <xs:simpleType>
  2635. <xs:union memberTypes="xs:anyURI">
  2636. <xs:simpleType>
  2637. <xs:restriction base="xs:token">
  2638. <xs:enumeration value="##targetNamespace"/>
  2639. <xs:enumeration value="##local"/>
  2640. </xs:restriction>
  2641. </xs:simpleType>
  2642. </xs:union>
  2643. </xs:simpleType>
  2644. </xs:list>
  2645. </xs:simpleType>
  2646. <xs:simpleType name="specialNamespaceList">
  2647. <xs:annotation>
  2648. <xs:documentation>
  2649. A utility type, not for public use</xs:documentation>
  2650. </xs:annotation>
  2651. <xs:restriction base="xs:token">
  2652. <xs:enumeration value="##any"/>
  2653. <xs:enumeration value="##other"/>
  2654. </xs:restriction>
  2655. </xs:simpleType>
  2656. <xs:simpleType name="qnameList">
  2657. <xs:annotation>
  2658. <xs:documentation>
  2659. A utility type, not for public use
  2660. </xs:documentation>
  2661. </xs:annotation>
  2662. <xs:list>
  2663. <xs:simpleType>
  2664. <xs:union memberTypes="xs:QName">
  2665. <xs:simpleType>
  2666. <xs:restriction base="xs:token">
  2667. <xs:enumeration value="##defined"/>
  2668. <xs:enumeration value="##definedSibling"/>
  2669. </xs:restriction>
  2670. </xs:simpleType>
  2671. </xs:union>
  2672. </xs:simpleType>
  2673. </xs:list>
  2674. </xs:simpleType>
  2675. <xs:simpleType name="qnameListA">
  2676. <xs:annotation>
  2677. <xs:documentation>
  2678. A utility type, not for public use
  2679. </xs:documentation>
  2680. </xs:annotation>
  2681. <xs:list>
  2682. <xs:simpleType>
  2683. <xs:union memberTypes="xs:QName">
  2684. <xs:simpleType>
  2685. <xs:restriction base="xs:token">
  2686. <xs:enumeration value="##defined"/>
  2687. </xs:restriction>
  2688. </xs:simpleType>
  2689. </xs:union>
  2690. </xs:simpleType>
  2691. </xs:list>
  2692. </xs:simpleType>
  2693. <xs:simpleType name="xpathDefaultNamespace">
  2694. <xs:union memberTypes="xs:anyURI">
  2695. <xs:simpleType>
  2696. <xs:restriction base="xs:token">
  2697. <xs:enumeration value="##defaultNamespace"/>
  2698. <xs:enumeration value="##targetNamespace"/>
  2699. <xs:enumeration value="##local"/>
  2700. </xs:restriction>
  2701. </xs:simpleType>
  2702. </xs:union>
  2703. </xs:simpleType>
  2704. <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
  2705. <xs:annotation>
  2706. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"> Defines
  2707. an attribute.</xs:documentation>
  2708. </xs:annotation>
  2709. </xs:element>
  2710. <xs:complexType name="attributeGroup" abstract="true">
  2711. <xs:complexContent>
  2712. <xs:extension base="xs:annotated">
  2713. <xs:group ref="xs:attrDecls"/>
  2714. <xs:attributeGroup ref="xs:defRef"/>
  2715. </xs:extension>
  2716. </xs:complexContent>
  2717. </xs:complexType>
  2718. <xs:complexType name="namedAttributeGroup">
  2719. <xs:complexContent>
  2720. <xs:restriction base="xs:attributeGroup">
  2721. <xs:sequence>
  2722. <xs:element ref="xs:annotation" minOccurs="0"/>
  2723. <xs:group ref="xs:attrDecls"/>
  2724. </xs:sequence>
  2725. <xs:attribute name="name" type="xs:NCName" use="required">
  2726. <xs:annotation>
  2727. <xs:documentation>Specifies the required named attribute group
  2728. name.</xs:documentation>
  2729. </xs:annotation>
  2730. </xs:attribute>
  2731. <xs:attribute name="ref" use="prohibited"/>
  2732. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2733. </xs:restriction>
  2734. </xs:complexContent>
  2735. </xs:complexType>
  2736. <xs:complexType name="attributeGroupRef">
  2737. <xs:complexContent>
  2738. <xs:restriction base="xs:attributeGroup">
  2739. <xs:sequence>
  2740. <xs:element ref="xs:annotation" minOccurs="0"/>
  2741. </xs:sequence>
  2742. <xs:attribute name="ref" type="xs:QName" use="required">
  2743. <xs:annotation>
  2744. <xs:documentation>Specifies the attribute group this attribute group
  2745. reference points to.</xs:documentation>
  2746. </xs:annotation>
  2747. </xs:attribute>
  2748. <xs:attribute name="name" use="prohibited"/>
  2749. <xs:anyAttribute namespace="##other" processContents="lax"/>
  2750. </xs:restriction>
  2751. </xs:complexContent>
  2752. </xs:complexType>
  2753. <xs:element name="attributeGroup"
  2754. type="xs:namedAttributeGroup"
  2755. id="attributeGroup">
  2756. <xs:annotation>
  2757. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup">Defines an attribute group to be used in complex type
  2758. definitions.</xs:documentation>
  2759. </xs:annotation>
  2760. </xs:element>
  2761. <xs:element name="include" id="include">
  2762. <xs:annotation>
  2763. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"> Adds
  2764. multiple schemas with the same target namespace to a
  2765. document.</xs:documentation>
  2766. </xs:annotation>
  2767. <xs:complexType>
  2768. <xs:complexContent>
  2769. <xs:extension base="xs:annotated">
  2770. <xs:attribute name="schemaLocation" type="xs:anyURI" use="required">
  2771. <xs:annotation>
  2772. <xs:documentation>Required. Specifies the URI to the schema to include
  2773. in the target namespace of the
  2774. containing schema.</xs:documentation>
  2775. </xs:annotation>
  2776. </xs:attribute>
  2777. </xs:extension>
  2778. </xs:complexContent>
  2779. </xs:complexType>
  2780. </xs:element>
  2781. <xs:element name="redefine" id="redefine">
  2782. <xs:annotation>
  2783. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"> Redefines
  2784. simple and complex types, groups, and attribute groups from an
  2785. external schema.</xs:documentation>
  2786. </xs:annotation>
  2787. <xs:complexType>
  2788. <xs:complexContent>
  2789. <xs:extension base="xs:openAttrs">
  2790. <xs:choice minOccurs="0" maxOccurs="unbounded">
  2791. <xs:element ref="xs:annotation"/>
  2792. <xs:group ref="xs:redefinable"/>
  2793. </xs:choice>
  2794. <xs:attribute name="schemaLocation" type="xs:anyURI" use="required">
  2795. <xs:annotation>
  2796. <xs:documentation>Required. A URI to the location of a schema
  2797. document.</xs:documentation>
  2798. </xs:annotation>
  2799. </xs:attribute>
  2800. <xs:attribute name="id" type="xs:ID">
  2801. <xs:annotation>
  2802. <xs:documentation>Optional. Specifies a unique ID for the
  2803. element.</xs:documentation>
  2804. </xs:annotation>
  2805. </xs:attribute>
  2806. </xs:extension>
  2807. </xs:complexContent>
  2808. </xs:complexType>
  2809. </xs:element>
  2810. <xs:element name="override" id="override">
  2811. <xs:annotation>
  2812. <xs:documentation source="http://www.w3.org/TR/xmlschema11-1/structures.html#element-override">
  2813. Overrides simple and complex types, groups, and attribute groups from an external schema.
  2814. Does not imposes constraints on the new definitions provided for components whose definitions are
  2815. being overridden. </xs:documentation>
  2816. </xs:annotation>
  2817. <xs:complexType>
  2818. <xs:complexContent>
  2819. <xs:extension base="xs:openAttrs">
  2820. <xs:sequence>
  2821. <xs:element ref="xs:annotation" minOccurs="0"/>
  2822. <xs:group ref="xs:schemaTop" minOccurs="0" maxOccurs="unbounded"/>
  2823. </xs:sequence>
  2824. <xs:attribute name="schemaLocation" type="xs:anyURI" use="required">
  2825. <xs:annotation>
  2826. <xs:documentation>Required. A URI to the location of a schema
  2827. document.</xs:documentation>
  2828. </xs:annotation>
  2829. </xs:attribute>
  2830. <xs:attribute name="id" type="xs:ID"/>
  2831. </xs:extension>
  2832. </xs:complexContent>
  2833. </xs:complexType>
  2834. </xs:element>
  2835. <xs:element name="import" id="import">
  2836. <xs:annotation>
  2837. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"> Adds
  2838. multiple schemas with different target namespace to a
  2839. document.</xs:documentation>
  2840. </xs:annotation>
  2841. <xs:complexType>
  2842. <xs:complexContent>
  2843. <xs:extension base="xs:annotated">
  2844. <xs:attribute name="namespace" type="xs:anyURI">
  2845. <xs:annotation>
  2846. <xs:documentation>Required. Specifies the URI of the namespace to
  2847. import.</xs:documentation>
  2848. </xs:annotation>
  2849. </xs:attribute>
  2850. <xs:attribute name="schemaLocation" type="xs:anyURI">
  2851. <xs:annotation>
  2852. <xs:documentation>Optional. Specifies the URI to the schema for the
  2853. imported
  2854. namespace.</xs:documentation>
  2855. </xs:annotation>
  2856. </xs:attribute>
  2857. </xs:extension>
  2858. </xs:complexContent>
  2859. </xs:complexType>
  2860. </xs:element>
  2861. <xs:element name="selector" id="selector">
  2862. <xs:annotation>
  2863. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"> Specifies
  2864. an XPath expression that selects a set of elements for an identity
  2865. constraint. </xs:documentation>
  2866. </xs:annotation>
  2867. <xs:complexType>
  2868. <xs:complexContent>
  2869. <xs:extension base="xs:annotated">
  2870. <xs:attribute name="xpath" use="required">
  2871. <xs:annotation>
  2872. <xs:documentation>Defines the XPath selector
  2873. expression.</xs:documentation>
  2874. </xs:annotation>
  2875. <xs:simpleType>
  2876. <xs:annotation>
  2877. <xs:documentation>A subset of XPath expressions for use
  2878. in selectors</xs:documentation>
  2879. <xs:documentation>A utility type, not for public
  2880. use</xs:documentation>
  2881. </xs:annotation>
  2882. <xs:restriction base="xs:token"/>
  2883. </xs:simpleType>
  2884. </xs:attribute>
  2885. <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace">
  2886. <xs:annotation>
  2887. <xs:documentation>The default namespace used when evalueates the XPath
  2888. expression.</xs:documentation>
  2889. </xs:annotation>
  2890. </xs:attribute>
  2891. </xs:extension>
  2892. </xs:complexContent>
  2893. </xs:complexType>
  2894. </xs:element>
  2895. <xs:element name="field" id="field">
  2896. <xs:annotation>
  2897. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"> Specifies an
  2898. XPath expression that specifies the value used to define an identity
  2899. constraint.</xs:documentation>
  2900. </xs:annotation>
  2901. <xs:complexType>
  2902. <xs:complexContent>
  2903. <xs:extension base="xs:annotated">
  2904. <xs:attribute name="xpath" use="required">
  2905. <xs:annotation>
  2906. <xs:documentation>Required. Identifies a single element or attribute
  2907. whose content or value is used for
  2908. the constraint.</xs:documentation>
  2909. </xs:annotation>
  2910. <xs:simpleType>
  2911. <xs:annotation>
  2912. <xs:documentation>A subset of XPath expressions for use
  2913. in fields</xs:documentation>
  2914. <xs:documentation>A utility type, not for public
  2915. use</xs:documentation>
  2916. </xs:annotation>
  2917. <xs:restriction base="xs:token"/>
  2918. </xs:simpleType>
  2919. </xs:attribute>
  2920. <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace">
  2921. <xs:annotation>
  2922. <xs:documentation>The default namespace used when evalueates the XPath
  2923. expression.</xs:documentation>
  2924. </xs:annotation>
  2925. </xs:attribute>
  2926. </xs:extension>
  2927. </xs:complexContent>
  2928. </xs:complexType>
  2929. </xs:element>
  2930. <xs:complexType name="keybase">
  2931. <xs:complexContent>
  2932. <xs:extension base="xs:annotated">
  2933. <xs:sequence minOccurs="0">
  2934. <xs:element ref="xs:selector"/>
  2935. <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
  2936. </xs:sequence>
  2937. <xs:attribute name="name" type="xs:NCName">
  2938. <xs:annotation>
  2939. <xs:documentation>Specifies the required identity constraint
  2940. name.</xs:documentation>
  2941. </xs:annotation>
  2942. </xs:attribute>
  2943. <xs:attribute name="ref" type="xs:QName"/>
  2944. </xs:extension>
  2945. </xs:complexContent>
  2946. </xs:complexType>
  2947. <xs:group name="identityConstraint">
  2948. <xs:annotation>
  2949. <xs:documentation>The three kinds of identity constraints, all with
  2950. type of or derived from 'keybase'.
  2951. </xs:documentation>
  2952. </xs:annotation>
  2953. <xs:choice>
  2954. <xs:element ref="xs:unique"/>
  2955. <xs:element ref="xs:key"/>
  2956. <xs:element ref="xs:keyref"/>
  2957. </xs:choice>
  2958. </xs:group>
  2959. <xs:element name="unique" type="xs:keybase" id="unique">
  2960. <xs:annotation>
  2961. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"> Defines
  2962. that an element or an attribute value must be unique within the
  2963. scope. </xs:documentation>
  2964. </xs:annotation>
  2965. </xs:element>
  2966. <xs:element name="key" type="xs:keybase" id="key">
  2967. <xs:annotation>
  2968. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"> Specifies an
  2969. attribute or element value as a key (unique, non-nullable, and
  2970. always present) within the containing element in an instance
  2971. document. </xs:documentation>
  2972. </xs:annotation>
  2973. </xs:element>
  2974. <xs:element name="keyref" id="keyref">
  2975. <xs:annotation>
  2976. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"> Specifies
  2977. that an attribute or element value correspond to those of the
  2978. specified key or unique element.</xs:documentation>
  2979. </xs:annotation>
  2980. <xs:complexType>
  2981. <xs:complexContent>
  2982. <xs:extension base="xs:keybase">
  2983. <xs:attribute name="refer" type="xs:QName">
  2984. <xs:annotation>
  2985. <xs:documentation>Required. Specifies the name of a key or unique
  2986. element defined in this or another
  2987. schema.</xs:documentation>
  2988. </xs:annotation>
  2989. </xs:attribute>
  2990. </xs:extension>
  2991. </xs:complexContent>
  2992. </xs:complexType>
  2993. </xs:element>
  2994. <xs:element name="notation" id="notation">
  2995. <xs:annotation>
  2996. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"> Describes
  2997. the format of non-XML data within an XML
  2998. document.</xs:documentation>
  2999. </xs:annotation>
  3000. <xs:complexType>
  3001. <xs:complexContent>
  3002. <xs:extension base="xs:annotated">
  3003. <xs:attribute name="name" type="xs:NCName" use="required">
  3004. <xs:annotation>
  3005. <xs:documentation>Required. Specifies a name for the
  3006. notation.</xs:documentation>
  3007. </xs:annotation>
  3008. </xs:attribute>
  3009. <xs:attribute name="public" type="xs:public">
  3010. <xs:annotation>
  3011. <xs:documentation>Required. Specifies a URI corresponding to the public
  3012. identifier.</xs:documentation>
  3013. </xs:annotation>
  3014. </xs:attribute>
  3015. <xs:attribute name="system" type="xs:anyURI">
  3016. <xs:annotation>
  3017. <xs:documentation>Optional. Specifies a URI corresponding to the system
  3018. identifier. </xs:documentation>
  3019. </xs:annotation>
  3020. </xs:attribute>
  3021. </xs:extension>
  3022. </xs:complexContent>
  3023. </xs:complexType>
  3024. </xs:element>
  3025. <xs:simpleType name="public">
  3026. <xs:annotation>
  3027. <xs:documentation>
  3028. A utility type, not for public use</xs:documentation>
  3029. <xs:documentation>
  3030. A public identifier, per ISO 8879</xs:documentation>
  3031. </xs:annotation>
  3032. <xs:restriction base="xs:token"/>
  3033. </xs:simpleType>
  3034. <xs:element name="appinfo" id="appinfo">
  3035. <xs:annotation>
  3036. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"> Specifies
  3037. information to be used by the application. </xs:documentation>
  3038. </xs:annotation>
  3039. <xs:complexType mixed="true">
  3040. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  3041. <xs:any processContents="lax"/>
  3042. </xs:sequence>
  3043. <xs:attribute name="source" type="xs:anyURI">
  3044. <xs:annotation>
  3045. <xs:documentation>Optional. A URI reference that specifies the source of the
  3046. application information. </xs:documentation>
  3047. </xs:annotation>
  3048. </xs:attribute>
  3049. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3050. </xs:complexType>
  3051. </xs:element>
  3052. <xs:element name="documentation" id="documentation">
  3053. <xs:annotation>
  3054. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation">
  3055. Defines text comments in a schema. </xs:documentation>
  3056. </xs:annotation>
  3057. <xs:complexType mixed="true">
  3058. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  3059. <xs:any processContents="lax"/>
  3060. </xs:sequence>
  3061. <xs:attribute name="source" type="xs:anyURI">
  3062. <xs:annotation>
  3063. <xs:documentation>Optional. Specifies the source of the application
  3064. information.</xs:documentation>
  3065. </xs:annotation>
  3066. </xs:attribute>
  3067. <xs:attribute ref="xml:lang"/>
  3068. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3069. </xs:complexType>
  3070. </xs:element>
  3071. <xs:element name="annotation" id="annotation">
  3072. <xs:annotation>
  3073. <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation">Specifies schema comments.</xs:documentation>
  3074. </xs:annotation>
  3075. <xs:complexType>
  3076. <xs:complexContent>
  3077. <xs:extension base="xs:openAttrs">
  3078. <xs:choice minOccurs="0" maxOccurs="unbounded">
  3079. <xs:element ref="xs:appinfo"/>
  3080. <xs:element ref="xs:documentation"/>
  3081. </xs:choice>
  3082. <xs:attribute name="id" type="xs:ID">
  3083. <xs:annotation>
  3084. <xs:documentation>Optional. Specifies a unique ID for the
  3085. element.</xs:documentation>
  3086. </xs:annotation>
  3087. </xs:attribute>
  3088. </xs:extension>
  3089. </xs:complexContent>
  3090. </xs:complexType>
  3091. </xs:element>
  3092. <xs:annotation>
  3093. <xs:documentation>
  3094. notations for use within schema documents</xs:documentation>
  3095. </xs:annotation>
  3096. <xs:notation name="XMLSchemaStructures"
  3097. public="structures"
  3098. system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
  3099. <xs:notation name="XML"
  3100. public="REC-xml-19980210"
  3101. system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
  3102. <xs:complexType name="anyType" mixed="true">
  3103. <xs:annotation>
  3104. <xs:documentation>
  3105. Not the real urType, but as close an approximation as we can
  3106. get in the XML representation</xs:documentation>
  3107. </xs:annotation>
  3108. <xs:sequence>
  3109. <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  3110. </xs:sequence>
  3111. <xs:anyAttribute processContents="lax"/>
  3112. </xs:complexType>
  3113. <xs:annotation>
  3114. <xs:documentation>
  3115. In keeping with the XML Schema WG's standard versioning policy,
  3116. the material in this schema document will persist at the URI
  3117. http://www.w3.org/2012/04/XMLSchema.xsd.
  3118. At the date of issue it can also be found at the URI
  3119. http://www.w3.org/2009/XMLSchema/XMLSchema.xsd.
  3120. The schema document at that URI may however change in the future,
  3121. in order to remain compatible with the latest version of XSD
  3122. and its namespace. In other words, if XSD or the XML Schema
  3123. namespace change, the version of this document at
  3124. http://www.w3.org/2009/XMLSchema/XMLSchema.xsd will change accordingly;
  3125. the version at http://www.w3.org/2012/04/XMLSchema.xsd will not change.
  3126. Previous dated (and unchanging) versions of this schema document
  3127. include:
  3128. http://www.w3.org/2012/01/XMLSchema.xsd
  3129. (XSD 1.1 Proposed Recommendation)
  3130. http://www.w3.org/2011/07/XMLSchema.xsd
  3131. (XSD 1.1 Candidate Recommendation)
  3132. http://www.w3.org/2009/04/XMLSchema.xsd
  3133. (XSD 1.1 Candidate Recommendation)
  3134. http://www.w3.org/2004/10/XMLSchema.xsd
  3135. (XSD 1.0 Recommendation, Second Edition)
  3136. http://www.w3.org/2001/05/XMLSchema.xsd
  3137. (XSD 1.0 Recommendation, First Edition)
  3138. </xs:documentation>
  3139. </xs:annotation>
  3140. <xs:simpleType name="derivationControl">
  3141. <xs:annotation>
  3142. <xs:documentation>
  3143. A utility type, not for public use</xs:documentation>
  3144. </xs:annotation>
  3145. <xs:restriction base="xs:NMTOKEN">
  3146. <xs:enumeration value="substitution"/>
  3147. <xs:enumeration value="extension"/>
  3148. <xs:enumeration value="restriction"/>
  3149. <xs:enumeration value="list"/>
  3150. <xs:enumeration value="union"/>
  3151. </xs:restriction>
  3152. </xs:simpleType>
  3153. <xs:group name="simpleDerivation">
  3154. <xs:choice>
  3155. <xs:element ref="xs:restriction"/>
  3156. <xs:element ref="xs:list"/>
  3157. <xs:element ref="xs:union"/>
  3158. </xs:choice>
  3159. </xs:group>
  3160. <xs:simpleType name="simpleDerivationSet">
  3161. <xs:annotation>
  3162. <xs:documentation>
  3163. #all or (possibly empty) subset of {restriction, extension, union, list}
  3164. </xs:documentation>
  3165. <xs:documentation>
  3166. A utility type, not for public use</xs:documentation>
  3167. </xs:annotation>
  3168. <xs:union>
  3169. <xs:simpleType>
  3170. <xs:restriction base="xs:token">
  3171. <xs:enumeration value="#all"/>
  3172. </xs:restriction>
  3173. </xs:simpleType>
  3174. <xs:simpleType>
  3175. <xs:list>
  3176. <xs:simpleType>
  3177. <xs:restriction base="xs:derivationControl">
  3178. <xs:enumeration value="list"/>
  3179. <xs:enumeration value="union"/>
  3180. <xs:enumeration value="restriction"/>
  3181. <xs:enumeration value="extension"/>
  3182. </xs:restriction>
  3183. </xs:simpleType>
  3184. </xs:list>
  3185. </xs:simpleType>
  3186. </xs:union>
  3187. </xs:simpleType>
  3188. <xs:complexType name="simpleType" abstract="true">
  3189. <xs:complexContent>
  3190. <xs:extension base="xs:annotated">
  3191. <xs:group ref="xs:simpleDerivation"/>
  3192. <xs:attribute name="final" type="xs:simpleDerivationSet">
  3193. <xs:annotation>
  3194. <xs:documentation>Specifies the value of the final attribute on this
  3195. simpleType. The final attribute prevents a
  3196. specified type of derivation. For simpleType elements this value can
  3197. contain #all or a list that is a subset of restriction, list or union: <ul>
  3198. <li>restriction - prevents derivation by restriction</li>
  3199. <li>list - prevents derivation by list</li>
  3200. <li>union - prevents derivation by union</li>
  3201. <li>#all - prevents all derivation</li>
  3202. </ul>
  3203. </xs:documentation>
  3204. </xs:annotation>
  3205. </xs:attribute>
  3206. <xs:attribute name="name" type="xs:NCName">
  3207. <xs:annotation>
  3208. <xs:documentation>
  3209. Can be restricted to required or forbidden
  3210. </xs:documentation>
  3211. </xs:annotation>
  3212. </xs:attribute>
  3213. </xs:extension>
  3214. </xs:complexContent>
  3215. </xs:complexType>
  3216. <xs:complexType name="topLevelSimpleType">
  3217. <xs:complexContent>
  3218. <xs:restriction base="xs:simpleType">
  3219. <xs:sequence>
  3220. <xs:element ref="xs:annotation" minOccurs="0"/>
  3221. <xs:group ref="xs:simpleDerivation"/>
  3222. </xs:sequence>
  3223. <xs:attribute name="name" type="xs:NCName" use="required">
  3224. <xs:annotation>
  3225. <xs:documentation>
  3226. Required at the top level
  3227. </xs:documentation>
  3228. </xs:annotation>
  3229. </xs:attribute>
  3230. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3231. </xs:restriction>
  3232. </xs:complexContent>
  3233. </xs:complexType>
  3234. <xs:complexType name="localSimpleType">
  3235. <xs:complexContent>
  3236. <xs:restriction base="xs:simpleType">
  3237. <xs:sequence>
  3238. <xs:element ref="xs:annotation" minOccurs="0"/>
  3239. <xs:group ref="xs:simpleDerivation"/>
  3240. </xs:sequence>
  3241. <xs:attribute name="name" use="prohibited">
  3242. <xs:annotation>
  3243. <xs:documentation>
  3244. Forbidden when nested
  3245. </xs:documentation>
  3246. </xs:annotation>
  3247. </xs:attribute>
  3248. <xs:attribute name="final" use="prohibited"/>
  3249. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3250. </xs:restriction>
  3251. </xs:complexContent>
  3252. </xs:complexType>
  3253. <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
  3254. <xs:annotation>
  3255. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"> Defines
  3256. a simple type. A simple type definition is a set of constraints on
  3257. strings and information about the values they encode, applicable to
  3258. the normalized value of an attribute information item or of an element information
  3259. item with no element children. Informally, it applies to the values
  3260. of attributes and the text-only content of elements.
  3261. </xs:documentation>
  3262. </xs:annotation>
  3263. </xs:element>
  3264. <xs:element name="facet" abstract="true">
  3265. <xs:annotation>
  3266. <xs:documentation>
  3267. An abstract element, representing facets in general.
  3268. The facets defined by this spec are substitutable for
  3269. this element, and implementation-defined facets should
  3270. also name this as a substitution-group head.
  3271. </xs:documentation>
  3272. </xs:annotation>
  3273. </xs:element>
  3274. <xs:group name="simpleRestrictionModel">
  3275. <xs:sequence>
  3276. <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0">
  3277. <xs:annotation>
  3278. <xs:documentation>Specifies a local simple type.</xs:documentation>
  3279. </xs:annotation>
  3280. </xs:element>
  3281. <xs:choice minOccurs="0" maxOccurs="unbounded">
  3282. <xs:element ref="xs:facet"/>
  3283. <xs:any processContents="lax" namespace="##other"/>
  3284. </xs:choice>
  3285. </xs:sequence>
  3286. </xs:group>
  3287. <xs:element name="restriction" id="restriction">
  3288. <xs:annotation>
  3289. <xs:documentation> Defines restrictions on a simpleType, simpleContent, or a
  3290. complexContent. </xs:documentation>
  3291. </xs:annotation>
  3292. <xs:complexType>
  3293. <xs:annotation>
  3294. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#element-restriction">
  3295. base attribute and simpleType child are mutually
  3296. exclusive, but one or other is required
  3297. </xs:documentation>
  3298. </xs:annotation>
  3299. <xs:complexContent>
  3300. <xs:extension base="xs:annotated">
  3301. <xs:group ref="xs:simpleRestrictionModel"/>
  3302. <xs:attribute name="base" type="xs:QName" use="optional">
  3303. <xs:annotation>
  3304. <xs:documentation>Specifies the base type for the
  3305. restriction.</xs:documentation>
  3306. </xs:annotation>
  3307. </xs:attribute>
  3308. </xs:extension>
  3309. </xs:complexContent>
  3310. </xs:complexType>
  3311. </xs:element>
  3312. <xs:element name="list" id="list">
  3313. <xs:annotation>
  3314. <xs:documentation> Defines a simple type element as a list of values.
  3315. </xs:documentation>
  3316. </xs:annotation>
  3317. <xs:complexType>
  3318. <xs:annotation>
  3319. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#element-list">
  3320. itemType attribute and simpleType child are mutually
  3321. exclusive, but one or other is required
  3322. </xs:documentation>
  3323. </xs:annotation>
  3324. <xs:complexContent>
  3325. <xs:extension base="xs:annotated">
  3326. <xs:sequence>
  3327. <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0">
  3328. <xs:annotation>
  3329. <xs:documentation> Defines a simple type and specifies the
  3330. constraints and information
  3331. about the values of attributes or text-only elements.
  3332. </xs:documentation>
  3333. </xs:annotation>
  3334. </xs:element>
  3335. </xs:sequence>
  3336. <xs:attribute name="itemType" type="xs:QName" use="optional">
  3337. <xs:annotation>
  3338. <xs:documentation> Specifies the name of a built-in data type or
  3339. simpleType element defined in this
  3340. or another schema. This attribute is not allowed if the content
  3341. contains a simpleType element,
  3342. otherwise it is required. </xs:documentation>
  3343. </xs:annotation>
  3344. </xs:attribute>
  3345. </xs:extension>
  3346. </xs:complexContent>
  3347. </xs:complexType>
  3348. </xs:element>
  3349. <xs:element name="union" id="union">
  3350. <xs:annotation>
  3351. <xs:documentation> Defines a simple type as a collection (union) of values from
  3352. specified simple data types. </xs:documentation>
  3353. </xs:annotation>
  3354. <xs:complexType>
  3355. <xs:annotation>
  3356. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#element-union">
  3357. memberTypes attribute must be non-empty or there must be
  3358. at least one simpleType child
  3359. </xs:documentation>
  3360. </xs:annotation>
  3361. <xs:complexContent>
  3362. <xs:extension base="xs:annotated">
  3363. <xs:sequence>
  3364. <xs:element name="simpleType"
  3365. type="xs:localSimpleType"
  3366. minOccurs="0"
  3367. maxOccurs="unbounded">
  3368. <xs:annotation>
  3369. <xs:documentation> Defines a simple type and specifies the
  3370. constraints and information
  3371. about the values of attributes or text-only elements.
  3372. </xs:documentation>
  3373. </xs:annotation>
  3374. </xs:element>
  3375. </xs:sequence>
  3376. <xs:attribute name="memberTypes" use="optional">
  3377. <xs:annotation>
  3378. <xs:documentation>Optional. Specifies a list of built-in data types or
  3379. simpleType elements defined in a
  3380. schema. </xs:documentation>
  3381. </xs:annotation>
  3382. <xs:simpleType>
  3383. <xs:list itemType="xs:QName"/>
  3384. </xs:simpleType>
  3385. </xs:attribute>
  3386. </xs:extension>
  3387. </xs:complexContent>
  3388. </xs:complexType>
  3389. </xs:element>
  3390. <xs:complexType name="facet">
  3391. <xs:complexContent>
  3392. <xs:extension base="xs:annotated">
  3393. <xs:attribute name="value" use="required">
  3394. <xs:annotation>
  3395. <xs:documentation>Specifies the facet value.</xs:documentation>
  3396. </xs:annotation>
  3397. </xs:attribute>
  3398. <xs:attribute name="fixed" type="xs:boolean" default="false" use="optional">
  3399. <xs:annotation>
  3400. <xs:documentation>Default is false, specifies whether the content has a
  3401. fixed value.</xs:documentation>
  3402. </xs:annotation>
  3403. </xs:attribute>
  3404. </xs:extension>
  3405. </xs:complexContent>
  3406. </xs:complexType>
  3407. <xs:complexType name="noFixedFacet">
  3408. <xs:complexContent>
  3409. <xs:restriction base="xs:facet">
  3410. <xs:sequence>
  3411. <xs:element ref="xs:annotation" minOccurs="0"/>
  3412. </xs:sequence>
  3413. <xs:attribute name="fixed" use="prohibited"/>
  3414. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3415. </xs:restriction>
  3416. </xs:complexContent>
  3417. </xs:complexType>
  3418. <xs:element name="minExclusive"
  3419. type="xs:facet"
  3420. id="minExclusive"
  3421. substitutionGroup="xs:facet">
  3422. <xs:annotation>
  3423. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive">
  3424. Specifies the lower bounds for numeric values (the value must be
  3425. greater than this value). </xs:documentation>
  3426. </xs:annotation>
  3427. </xs:element>
  3428. <xs:element name="minInclusive"
  3429. type="xs:facet"
  3430. id="minInclusive"
  3431. substitutionGroup="xs:facet">
  3432. <xs:annotation>
  3433. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive">
  3434. Specifies the lower bounds for numeric values (the value must be
  3435. greater than or equal to this value).</xs:documentation>
  3436. </xs:annotation>
  3437. </xs:element>
  3438. <xs:element name="maxExclusive"
  3439. type="xs:facet"
  3440. id="maxExclusive"
  3441. substitutionGroup="xs:facet">
  3442. <xs:annotation>
  3443. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive">
  3444. Specifies the upper bounds for numeric values (the value must be
  3445. less than this value). </xs:documentation>
  3446. </xs:annotation>
  3447. </xs:element>
  3448. <xs:element name="maxInclusive"
  3449. type="xs:facet"
  3450. id="maxInclusive"
  3451. substitutionGroup="xs:facet">
  3452. <xs:annotation>
  3453. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive">
  3454. Specifies the upper bounds for numeric values (the value must be
  3455. less than or equal to this value). </xs:documentation>
  3456. </xs:annotation>
  3457. </xs:element>
  3458. <xs:complexType name="numFacet">
  3459. <xs:complexContent>
  3460. <xs:restriction base="xs:facet">
  3461. <xs:sequence>
  3462. <xs:element ref="xs:annotation" minOccurs="0"/>
  3463. </xs:sequence>
  3464. <xs:attribute name="value" type="xs:nonNegativeInteger" use="required">
  3465. <xs:annotation>
  3466. <xs:documentation>Specifies the facet value.</xs:documentation>
  3467. </xs:annotation>
  3468. </xs:attribute>
  3469. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3470. </xs:restriction>
  3471. </xs:complexContent>
  3472. </xs:complexType>
  3473. <xs:complexType name="intFacet">
  3474. <xs:complexContent>
  3475. <xs:restriction base="xs:facet">
  3476. <xs:sequence>
  3477. <xs:element ref="xs:annotation" minOccurs="0"/>
  3478. </xs:sequence>
  3479. <xs:attribute name="value" type="xs:integer" use="required"/>
  3480. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3481. </xs:restriction>
  3482. </xs:complexContent>
  3483. </xs:complexType>
  3484. <xs:element name="totalDigits" id="totalDigits" substitutionGroup="xs:facet">
  3485. <xs:annotation>
  3486. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits">
  3487. Specifies the exact number of digits allowed. Must be greater than
  3488. zero. </xs:documentation>
  3489. </xs:annotation>
  3490. <xs:complexType>
  3491. <xs:complexContent>
  3492. <xs:restriction base="xs:numFacet">
  3493. <xs:sequence>
  3494. <xs:element ref="xs:annotation" minOccurs="0"/>
  3495. </xs:sequence>
  3496. <xs:attribute name="value" type="xs:positiveInteger" use="required">
  3497. <xs:annotation>
  3498. <xs:documentation>Specifies the facet value.</xs:documentation>
  3499. </xs:annotation>
  3500. </xs:attribute>
  3501. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3502. </xs:restriction>
  3503. </xs:complexContent>
  3504. </xs:complexType>
  3505. </xs:element>
  3506. <xs:element name="fractionDigits"
  3507. type="xs:numFacet"
  3508. id="fractionDigits"
  3509. substitutionGroup="xs:facet">
  3510. <xs:annotation>
  3511. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits">
  3512. Specifies the maximum number of decimal places allowed. Must be
  3513. equal to or greater than zero. </xs:documentation>
  3514. </xs:annotation>
  3515. </xs:element>
  3516. <xs:element name="length"
  3517. type="xs:numFacet"
  3518. id="length"
  3519. substitutionGroup="xs:facet">
  3520. <xs:annotation>
  3521. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-length"> Specifies
  3522. the exact number of characters or list items allowed. Must be equal
  3523. to or greater than zero. </xs:documentation>
  3524. </xs:annotation>
  3525. </xs:element>
  3526. <xs:element name="minLength"
  3527. type="xs:numFacet"
  3528. id="minLength"
  3529. substitutionGroup="xs:facet">
  3530. <xs:annotation>
  3531. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-minLength">
  3532. Specifies the minimum number of characters or list items allowed.
  3533. Must be equal to or greater than zero. </xs:documentation>
  3534. </xs:annotation>
  3535. </xs:element>
  3536. <xs:element name="maxLength"
  3537. type="xs:numFacet"
  3538. id="maxLength"
  3539. substitutionGroup="xs:facet">
  3540. <xs:annotation>
  3541. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-maxLength">
  3542. Specifies the maximum number of characters or list items allowed.
  3543. Must be equal to or greater than zero. </xs:documentation>
  3544. </xs:annotation>
  3545. </xs:element>
  3546. <xs:element name="enumeration"
  3547. type="xs:noFixedFacet"
  3548. id="enumeration"
  3549. substitutionGroup="xs:facet">
  3550. <xs:annotation>
  3551. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-enumeration">
  3552. Defines a list of acceptable values. </xs:documentation>
  3553. </xs:annotation>
  3554. </xs:element>
  3555. <xs:element name="whiteSpace" id="whiteSpace" substitutionGroup="xs:facet">
  3556. <xs:annotation>
  3557. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace">
  3558. Specifies how white space (line feeds, tabs, spaces, and carriage
  3559. returns) are handled. </xs:documentation>
  3560. </xs:annotation>
  3561. <xs:complexType>
  3562. <xs:complexContent>
  3563. <xs:restriction base="xs:facet">
  3564. <xs:sequence>
  3565. <xs:element ref="xs:annotation" minOccurs="0"/>
  3566. </xs:sequence>
  3567. <xs:attribute name="value" use="required">
  3568. <xs:annotation>
  3569. <xs:documentation>Specifies the facet value.</xs:documentation>
  3570. </xs:annotation>
  3571. <xs:simpleType>
  3572. <xs:restriction base="xs:NMTOKEN">
  3573. <xs:enumeration value="preserve"/>
  3574. <xs:enumeration value="replace"/>
  3575. <xs:enumeration value="collapse"/>
  3576. </xs:restriction>
  3577. </xs:simpleType>
  3578. </xs:attribute>
  3579. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3580. </xs:restriction>
  3581. </xs:complexContent>
  3582. </xs:complexType>
  3583. </xs:element>
  3584. <xs:element name="pattern" id="pattern" substitutionGroup="xs:facet">
  3585. <xs:annotation>
  3586. <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-pattern"> Defines
  3587. the exact sequence of characters that are acceptable.
  3588. </xs:documentation>
  3589. </xs:annotation>
  3590. <xs:complexType>
  3591. <xs:complexContent>
  3592. <xs:restriction base="xs:noFixedFacet">
  3593. <xs:sequence>
  3594. <xs:element ref="xs:annotation" minOccurs="0"/>
  3595. </xs:sequence>
  3596. <xs:attribute name="value" type="xs:string" use="required">
  3597. <xs:annotation>
  3598. <xs:documentation>Specifies the regular expression constraint.</xs:documentation>
  3599. </xs:annotation>
  3600. </xs:attribute>
  3601. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3602. </xs:restriction>
  3603. </xs:complexContent>
  3604. </xs:complexType>
  3605. </xs:element>
  3606. <xs:element name="assertion"
  3607. type="xs:assertion"
  3608. id="assertion"
  3609. substitutionGroup="xs:facet">
  3610. <xs:annotation>
  3611. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#element-assertion"> The
  3612. facet is used to constrain simpleTypes.
  3613. An assertion is a predicate associated with
  3614. a type, which is checked for each instance of the type. If an element or attribute
  3615. information item fails to satisfy an assertion associated with a given type, then
  3616. that information item is not locally valid with respect to that type.
  3617. </xs:documentation>
  3618. </xs:annotation>
  3619. </xs:element>
  3620. <xs:element name="explicitTimezone"
  3621. id="explicitTimezone"
  3622. substitutionGroup="xs:facet">
  3623. <xs:annotation>
  3624. <xs:documentation source="http://www.w3.org/TR/xmlschema11-2/#element-explicitTimezone">
  3625. Specifies if the time zone in date/time datatypes is optional, required or prohibited.
  3626. </xs:documentation>
  3627. </xs:annotation>
  3628. <xs:complexType>
  3629. <xs:complexContent>
  3630. <xs:restriction base="xs:facet">
  3631. <xs:sequence>
  3632. <xs:element ref="xs:annotation" minOccurs="0"/>
  3633. </xs:sequence>
  3634. <xs:attribute name="value" use="required">
  3635. <xs:annotation>
  3636. <xs:documentation>The value of this facet is one of these:
  3637. required, prohibited, optional</xs:documentation>
  3638. </xs:annotation>
  3639. <xs:simpleType>
  3640. <xs:restriction base="xs:NMTOKEN">
  3641. <xs:enumeration value="optional"/>
  3642. <xs:enumeration value="required"/>
  3643. <xs:enumeration value="prohibited"/>
  3644. </xs:restriction>
  3645. </xs:simpleType>
  3646. </xs:attribute>
  3647. <xs:anyAttribute namespace="##other" processContents="lax"/>
  3648. </xs:restriction>
  3649. </xs:complexContent>
  3650. </xs:complexType>
  3651. </xs:element>
  3652. <xs:annotation>
  3653. <xs:documentation>
  3654. In keeping with the XML Schema WG's standard versioning policy,
  3655. this schema document will persist at the URI
  3656. http://www.w3.org/2012/04/datatypes.xsd.
  3657. At the date of issue it can also be found at the URI
  3658. http://www.w3.org/2009/XMLSchema/datatypes.xsd.
  3659. The schema document at that URI may however change in the future,
  3660. in order to remain compatible with the latest version of XSD
  3661. and its namespace. In other words, if XSD or the XML Schema
  3662. namespace change, the version of this document at
  3663. http://www.w3.org/2009/XMLSchema/datatypes.xsd will change accordingly;
  3664. the version at http://www.w3.org/2012/04/datatypes.xsd will not change.
  3665. Previous dated (and unchanging) versions of this schema document
  3666. include:
  3667. http://www.w3.org/2012/01/datatypes.xsd
  3668. (XSD 1.1 Proposed Recommendation)
  3669. http://www.w3.org/2011/07/datatypes.xsd
  3670. (XSD 1.1 Candidate Recommendation)
  3671. http://www.w3.org/2009/04/datatypes.xsd
  3672. (XSD 1.1 Candidate Recommendation)
  3673. http://www.w3.org/2004/10/datatypes.xsd
  3674. (XSD 1.0 Recommendation, Second Edition)
  3675. http://www.w3.org/2001/05/datatypes.xsd
  3676. (XSD 1.0 Recommendation, First Edition)
  3677. </xs:documentation>
  3678. </xs:annotation>
  3679. </xs:schema>
  3680. </xsl:variable>
  3681. <xsl:variable name="system_cache__appinfo:builtintypes.xsd">
  3682. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3683. elementFormDefault="qualified"
  3684. xml:lang="EN"
  3685. targetNamespace="http://www.w3.org/2001/XMLSchema"
  3686. version="1.0">
  3687. <!-- TODO @2015-11-04 - trzeba te typy skad sciagnac - nie wiem skad -->
  3688. <xs:simpleType name="anyAtomicType"/>
  3689. </xs:schema>
  3690. </xsl:variable>
  3691. </xsl:stylesheet>