xml-schema-primitives.xsl 178 KB

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