programming.xsd 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of DocBook V5.0
  4. Copyright 1992-2008 HaL Computer Systems, Inc.,
  5. O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
  6. Corporation, Norman Walsh, Sun Microsystems, Inc., and the
  7. Organization for the Advancement of Structured Information
  8. Standards (OASIS).
  9. Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
  10. Permission to use, copy, modify and distribute the DocBook schema
  11. and its accompanying documentation for any purpose and without fee
  12. is hereby granted in perpetuity, provided that the above copyright
  13. notice and this paragraph appear in all copies. The copyright
  14. holders make no representation about the suitability of the schema
  15. for any purpose. It is provided "as is" without expressed or implied
  16. warranty.
  17. If you modify the DocBook schema in any way, label your schema as a
  18. variant of DocBook. See the reference documentation
  19. (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
  20. for more information.
  21. Please direct all questions, bug reports, or suggestions for changes
  22. to the docbook@lists.oasis-open.org mailing list. For more
  23. information, see http://www.oasis-open.org/docbook/.
  24. ======================================================================
  25. -->
  26. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  27. <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
  28. <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  29. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  30. <xs:group name="db.programming.inlines">
  31. <xs:choice>
  32. <xs:element ref="db:function"/>
  33. <xs:element ref="db:parameter"/>
  34. <xs:element ref="db:varname"/>
  35. <xs:element ref="db:returnvalue"/>
  36. <xs:element ref="db:type"/>
  37. <xs:element ref="db:classname"/>
  38. <xs:element ref="db:exceptionname"/>
  39. <xs:element ref="db:interfacename"/>
  40. <xs:element ref="db:methodname"/>
  41. <xs:element ref="db:modifier"/>
  42. <xs:element ref="db:initializer"/>
  43. <xs:element ref="db:db.oo.inlines"/>
  44. </xs:choice>
  45. </xs:group>
  46. <xs:element name="db.oo.inlines" abstract="true"/>
  47. <!-- ====================================================================== -->
  48. <xs:attributeGroup name="db.synopsis.role.attribute">
  49. <xs:attribute name="role" use="required"/>
  50. </xs:attributeGroup>
  51. <xs:attributeGroup name="db.synopsis.label.attribute">
  52. <xs:attributeGroup ref="db:db.label.attribute"/>
  53. </xs:attributeGroup>
  54. <xs:attributeGroup name="db.synopsis.attlist">
  55. <xs:attribute name="role"/>
  56. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  57. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  58. <xs:attributeGroup ref="db:db.verbatim.attributes"/>
  59. <xs:attribute name="label"/>
  60. </xs:attributeGroup>
  61. <xs:element name="synopsis" substitutionGroup="db:db.verbatim.blocks">
  62. <xs:complexType>
  63. <xs:complexContent>
  64. <xs:extension base="db:db.verbatim.contentmodel">
  65. <xs:attributeGroup ref="db:db.synopsis.attlist"/>
  66. </xs:extension>
  67. </xs:complexContent>
  68. </xs:complexType>
  69. </xs:element>
  70. <!-- ====================================================================== -->
  71. <xs:attributeGroup name="db.funcsynopsis.role.attribute">
  72. <xs:attribute name="role" use="required"/>
  73. </xs:attributeGroup>
  74. <xs:attributeGroup name="db.funcsynopsis.attlist">
  75. <xs:attribute name="role"/>
  76. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  77. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  78. <xs:attribute name="language"/>
  79. </xs:attributeGroup>
  80. <xs:group name="db.funcsynopsis.info">
  81. <xs:sequence>
  82. <xs:group ref="db:db._info.title.forbidden"/>
  83. </xs:sequence>
  84. </xs:group>
  85. <xs:element name="funcsynopsis" substitutionGroup="db:db.synopsis.blocks">
  86. <xs:complexType>
  87. <xs:sequence>
  88. <xs:group ref="db:db.funcsynopsis.info"/>
  89. <xs:choice maxOccurs="unbounded">
  90. <xs:element ref="db:funcsynopsisinfo"/>
  91. <xs:element ref="db:funcprototype"/>
  92. </xs:choice>
  93. </xs:sequence>
  94. <xs:attributeGroup ref="db:db.funcsynopsis.attlist"/>
  95. </xs:complexType>
  96. </xs:element>
  97. <!-- ====================================================================== -->
  98. <xs:attributeGroup name="db.funcsynopsisinfo.role.attribute">
  99. <xs:attribute name="role" use="required"/>
  100. </xs:attributeGroup>
  101. <xs:attributeGroup name="db.funcsynopsisinfo.attlist">
  102. <xs:attribute name="role"/>
  103. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  104. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  105. <xs:attributeGroup ref="db:db.verbatim.attributes"/>
  106. </xs:attributeGroup>
  107. <xs:element name="funcsynopsisinfo">
  108. <xs:complexType>
  109. <xs:complexContent>
  110. <xs:extension base="db:db.verbatim.contentmodel">
  111. <xs:attributeGroup ref="db:db.funcsynopsisinfo.attlist"/>
  112. </xs:extension>
  113. </xs:complexContent>
  114. </xs:complexType>
  115. </xs:element>
  116. <!-- ====================================================================== -->
  117. <xs:attributeGroup name="db.funcprototype.role.attribute">
  118. <xs:attribute name="role" use="required"/>
  119. </xs:attributeGroup>
  120. <xs:attributeGroup name="db.funcprototype.attlist">
  121. <xs:attribute name="role"/>
  122. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  123. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  124. </xs:attributeGroup>
  125. <xs:element name="funcprototype">
  126. <xs:complexType>
  127. <xs:sequence>
  128. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  129. <xs:element ref="db:funcdef"/>
  130. <xs:choice>
  131. <xs:element ref="db:void"/>
  132. <xs:element ref="db:varargs"/>
  133. <xs:sequence>
  134. <xs:choice maxOccurs="unbounded">
  135. <xs:element ref="db:paramdef"/>
  136. <xs:group ref="db:db.group.paramdef"/>
  137. </xs:choice>
  138. <xs:element minOccurs="0" ref="db:varargs"/>
  139. </xs:sequence>
  140. </xs:choice>
  141. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  142. </xs:sequence>
  143. <xs:attributeGroup ref="db:db.funcprototype.attlist"/>
  144. </xs:complexType>
  145. </xs:element>
  146. <!-- ====================================================================== -->
  147. <xs:attributeGroup name="db.funcdef.role.attribute">
  148. <xs:attribute name="role" use="required"/>
  149. </xs:attributeGroup>
  150. <xs:attributeGroup name="db.funcdef.attlist">
  151. <xs:attribute name="role"/>
  152. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  153. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  154. </xs:attributeGroup>
  155. <xs:element name="funcdef">
  156. <xs:complexType mixed="true">
  157. <xs:choice minOccurs="0" maxOccurs="unbounded">
  158. <xs:group ref="db:db._text"/>
  159. <xs:element ref="db:type"/>
  160. <xs:element ref="db:function"/>
  161. </xs:choice>
  162. <xs:attributeGroup ref="db:db.funcdef.attlist"/>
  163. </xs:complexType>
  164. </xs:element>
  165. <!-- ====================================================================== -->
  166. <xs:attributeGroup name="db.function.role.attribute">
  167. <xs:attribute name="role" use="required"/>
  168. </xs:attributeGroup>
  169. <xs:attributeGroup name="db.function.attlist">
  170. <xs:attribute name="role"/>
  171. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  172. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  173. </xs:attributeGroup>
  174. <xs:element name="function">
  175. <xs:complexType mixed="true">
  176. <xs:group ref="db:db._text"/>
  177. <xs:attributeGroup ref="db:db.function.attlist"/>
  178. </xs:complexType>
  179. </xs:element>
  180. <!-- ====================================================================== -->
  181. <xs:attributeGroup name="db.void.role.attribute">
  182. <xs:attribute name="role" use="required"/>
  183. </xs:attributeGroup>
  184. <xs:attributeGroup name="db.void.attlist">
  185. <xs:attribute name="role"/>
  186. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  187. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  188. </xs:attributeGroup>
  189. <xs:element name="void">
  190. <xs:complexType>
  191. <xs:attributeGroup ref="db:db.void.attlist"/>
  192. </xs:complexType>
  193. </xs:element>
  194. <!-- ====================================================================== -->
  195. <xs:attributeGroup name="db.varargs.role.attribute">
  196. <xs:attribute name="role" use="required"/>
  197. </xs:attributeGroup>
  198. <xs:attributeGroup name="db.varargs.attlist">
  199. <xs:attribute name="role"/>
  200. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  201. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  202. </xs:attributeGroup>
  203. <xs:element name="varargs">
  204. <xs:complexType>
  205. <xs:attributeGroup ref="db:db.varargs.attlist"/>
  206. </xs:complexType>
  207. </xs:element>
  208. <!-- ====================================================================== -->
  209. <xs:attributeGroup name="db.group.paramdef.role.attribute">
  210. <xs:attribute name="role" use="required"/>
  211. </xs:attributeGroup>
  212. <xs:attributeGroup name="db.group.paramdef.choice.attribute">
  213. <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
  214. </xs:attributeGroup>
  215. <xs:attributeGroup name="db.group.paramdef.attlist">
  216. <xs:attribute name="role"/>
  217. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  218. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  219. <xs:attribute name="choice" type="db:db.choice.enumeration"/>
  220. </xs:attributeGroup>
  221. <xs:group name="db.group.paramdef">
  222. <xs:sequence>
  223. <xs:element name="group">
  224. <xs:complexType>
  225. <xs:choice maxOccurs="unbounded">
  226. <xs:element ref="db:paramdef"/>
  227. <xs:group ref="db:db.group.paramdef"/>
  228. </xs:choice>
  229. <xs:attributeGroup ref="db:db.group.paramdef.attlist"/>
  230. </xs:complexType>
  231. </xs:element>
  232. </xs:sequence>
  233. </xs:group>
  234. <!-- ====================================================================== -->
  235. <xs:attributeGroup name="db.paramdef.role.attribute">
  236. <xs:attribute name="role" use="required"/>
  237. </xs:attributeGroup>
  238. <xs:simpleType name="db.paramdef.choice.enumeration">
  239. <xs:restriction base="xs:token">
  240. <xs:enumeration value="opt">
  241. <xs:annotation>
  242. <xs:documentation>Formatted to indicate that it is optional.</xs:documentation>
  243. </xs:annotation>
  244. </xs:enumeration>
  245. <xs:enumeration value="req">
  246. <xs:annotation>
  247. <xs:documentation>Formatted to indicate that it is required.</xs:documentation>
  248. </xs:annotation>
  249. </xs:enumeration>
  250. </xs:restriction>
  251. </xs:simpleType>
  252. <xs:attributeGroup name="db.paramdef.choice.attribute">
  253. <xs:attribute name="choice" use="required" type="db:db.paramdef.choice.enumeration"/>
  254. </xs:attributeGroup>
  255. <xs:attributeGroup name="db.paramdef.attlist">
  256. <xs:attribute name="role"/>
  257. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  258. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  259. <xs:attribute name="choice" type="db:db.paramdef.choice.enumeration"/>
  260. </xs:attributeGroup>
  261. <xs:element name="paramdef">
  262. <xs:complexType mixed="true">
  263. <xs:choice minOccurs="0" maxOccurs="unbounded">
  264. <xs:group ref="db:db._text"/>
  265. <xs:element ref="db:initializer"/>
  266. <xs:element ref="db:type"/>
  267. <xs:element ref="db:parameter"/>
  268. <xs:element ref="db:funcparams"/>
  269. </xs:choice>
  270. <xs:attributeGroup ref="db:db.paramdef.attlist"/>
  271. </xs:complexType>
  272. </xs:element>
  273. <!-- ====================================================================== -->
  274. <xs:attributeGroup name="db.funcparams.role.attribute">
  275. <xs:attribute name="role" use="required"/>
  276. </xs:attributeGroup>
  277. <xs:attributeGroup name="db.funcparams.attlist">
  278. <xs:attribute name="role"/>
  279. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  280. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  281. </xs:attributeGroup>
  282. <xs:element name="funcparams">
  283. <xs:complexType mixed="true">
  284. <xs:group ref="db:db._text"/>
  285. <xs:attributeGroup ref="db:db.funcparams.attlist"/>
  286. </xs:complexType>
  287. </xs:element>
  288. <!-- ====================================================================== -->
  289. <xs:attributeGroup name="db.classsynopsis.role.attribute">
  290. <xs:attribute name="role" use="required"/>
  291. </xs:attributeGroup>
  292. <xs:simpleType name="db.classsynopsis.class.enumeration">
  293. <xs:restriction base="xs:token">
  294. <xs:enumeration value="class">
  295. <xs:annotation>
  296. <xs:documentation>This is the synopsis of a class</xs:documentation>
  297. </xs:annotation>
  298. </xs:enumeration>
  299. <xs:enumeration value="interface">
  300. <xs:annotation>
  301. <xs:documentation>This is the synopsis of an interface</xs:documentation>
  302. </xs:annotation>
  303. </xs:enumeration>
  304. </xs:restriction>
  305. </xs:simpleType>
  306. <xs:attributeGroup name="db.classsynopsis.class.attribute">
  307. <xs:attribute name="class" use="required" type="db:db.classsynopsis.class.enumeration"/>
  308. </xs:attributeGroup>
  309. <xs:attributeGroup name="db.classsynopsis.attlist">
  310. <xs:attribute name="role"/>
  311. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  312. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  313. <xs:attribute name="language"/>
  314. <xs:attribute name="class" type="db:db.classsynopsis.class.enumeration"/>
  315. </xs:attributeGroup>
  316. <xs:element name="classsynopsis" substitutionGroup="db:db.synopsis.blocks">
  317. <xs:complexType>
  318. <xs:sequence>
  319. <xs:element maxOccurs="unbounded" ref="db:db.oo.inlines"/>
  320. <xs:choice minOccurs="0" maxOccurs="unbounded">
  321. <xs:element ref="db:classsynopsisinfo"/>
  322. <xs:element ref="db:methodsynopsis"/>
  323. <xs:element ref="db:constructorsynopsis"/>
  324. <xs:element ref="db:destructorsynopsis"/>
  325. <xs:element ref="db:fieldsynopsis"/>
  326. </xs:choice>
  327. </xs:sequence>
  328. <xs:attributeGroup ref="db:db.classsynopsis.attlist"/>
  329. </xs:complexType>
  330. </xs:element>
  331. <!-- ====================================================================== -->
  332. <xs:attributeGroup name="db.classsynopsisinfo.role.attribute">
  333. <xs:attribute name="role" use="required"/>
  334. </xs:attributeGroup>
  335. <xs:attributeGroup name="db.classsynopsisinfo.attlist">
  336. <xs:attribute name="role"/>
  337. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  338. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  339. <xs:attributeGroup ref="db:db.verbatim.attributes"/>
  340. </xs:attributeGroup>
  341. <xs:element name="classsynopsisinfo">
  342. <xs:complexType>
  343. <xs:complexContent>
  344. <xs:extension base="db:db.verbatim.contentmodel">
  345. <xs:attributeGroup ref="db:db.classsynopsisinfo.attlist"/>
  346. </xs:extension>
  347. </xs:complexContent>
  348. </xs:complexType>
  349. </xs:element>
  350. <!-- ====================================================================== -->
  351. <xs:attributeGroup name="db.ooclass.role.attribute">
  352. <xs:attribute name="role" use="required"/>
  353. </xs:attributeGroup>
  354. <xs:attributeGroup name="db.ooclass.attlist">
  355. <xs:attribute name="role"/>
  356. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  357. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  358. </xs:attributeGroup>
  359. <xs:element name="ooclass" substitutionGroup="db:db.oo.inlines">
  360. <xs:complexType>
  361. <xs:sequence>
  362. <xs:choice minOccurs="0" maxOccurs="unbounded">
  363. <xs:element ref="db:package"/>
  364. <xs:element ref="db:modifier"/>
  365. </xs:choice>
  366. <xs:element ref="db:classname"/>
  367. </xs:sequence>
  368. <xs:attributeGroup ref="db:db.ooclass.attlist"/>
  369. </xs:complexType>
  370. </xs:element>
  371. <!-- ====================================================================== -->
  372. <xs:attributeGroup name="db.oointerface.role.attribute">
  373. <xs:attribute name="role" use="required"/>
  374. </xs:attributeGroup>
  375. <xs:attributeGroup name="db.oointerface.attlist">
  376. <xs:attribute name="role"/>
  377. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  378. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  379. </xs:attributeGroup>
  380. <xs:element name="oointerface" substitutionGroup="db:db.oo.inlines">
  381. <xs:complexType>
  382. <xs:sequence>
  383. <xs:choice minOccurs="0" maxOccurs="unbounded">
  384. <xs:element ref="db:package"/>
  385. <xs:element ref="db:modifier"/>
  386. </xs:choice>
  387. <xs:element ref="db:interfacename"/>
  388. </xs:sequence>
  389. <xs:attributeGroup ref="db:db.oointerface.attlist"/>
  390. </xs:complexType>
  391. </xs:element>
  392. <!-- ====================================================================== -->
  393. <xs:attributeGroup name="db.ooexception.role.attribute">
  394. <xs:attribute name="role" use="required"/>
  395. </xs:attributeGroup>
  396. <xs:attributeGroup name="db.ooexception.attlist">
  397. <xs:attribute name="role"/>
  398. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  399. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  400. </xs:attributeGroup>
  401. <xs:element name="ooexception" substitutionGroup="db:db.oo.inlines">
  402. <xs:complexType>
  403. <xs:sequence>
  404. <xs:choice minOccurs="0" maxOccurs="unbounded">
  405. <xs:element ref="db:package"/>
  406. <xs:element ref="db:modifier"/>
  407. </xs:choice>
  408. <xs:element ref="db:exceptionname"/>
  409. </xs:sequence>
  410. <xs:attributeGroup ref="db:db.ooexception.attlist"/>
  411. </xs:complexType>
  412. </xs:element>
  413. <!-- ====================================================================== -->
  414. <xs:attributeGroup name="db.modifier.xml.space.attribute">
  415. <xs:attributeGroup ref="xml:space1"/>
  416. </xs:attributeGroup>
  417. <xs:attributeGroup name="db.modifier.role.attribute">
  418. <xs:attribute name="role" use="required"/>
  419. </xs:attributeGroup>
  420. <xs:attributeGroup name="db.modifier.attlist">
  421. <xs:attributeGroup ref="xml:space1"/>
  422. <xs:attribute name="role"/>
  423. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  424. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  425. </xs:attributeGroup>
  426. <xs:element name="modifier">
  427. <xs:complexType mixed="true">
  428. <xs:group ref="db:db._text"/>
  429. <xs:attributeGroup ref="db:db.modifier.attlist"/>
  430. </xs:complexType>
  431. </xs:element>
  432. <!-- ====================================================================== -->
  433. <xs:attributeGroup name="db.interfacename.role.attribute">
  434. <xs:attribute name="role" use="required"/>
  435. </xs:attributeGroup>
  436. <xs:attributeGroup name="db.interfacename.attlist">
  437. <xs:attribute name="role"/>
  438. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  439. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  440. </xs:attributeGroup>
  441. <xs:element name="interfacename">
  442. <xs:complexType mixed="true">
  443. <xs:group ref="db:db._text"/>
  444. <xs:attributeGroup ref="db:db.interfacename.attlist"/>
  445. </xs:complexType>
  446. </xs:element>
  447. <!-- ====================================================================== -->
  448. <xs:attributeGroup name="db.exceptionname.role.attribute">
  449. <xs:attribute name="role" use="required"/>
  450. </xs:attributeGroup>
  451. <xs:attributeGroup name="db.exceptionname.attlist">
  452. <xs:attribute name="role"/>
  453. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  454. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  455. </xs:attributeGroup>
  456. <xs:element name="exceptionname">
  457. <xs:complexType mixed="true">
  458. <xs:group ref="db:db._text"/>
  459. <xs:attributeGroup ref="db:db.exceptionname.attlist"/>
  460. </xs:complexType>
  461. </xs:element>
  462. <!-- ====================================================================== -->
  463. <xs:attributeGroup name="db.fieldsynopsis.role.attribute">
  464. <xs:attribute name="role" use="required"/>
  465. </xs:attributeGroup>
  466. <xs:attributeGroup name="db.fieldsynopsis.attlist">
  467. <xs:attribute name="role"/>
  468. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  469. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  470. <xs:attribute name="language"/>
  471. </xs:attributeGroup>
  472. <xs:element name="fieldsynopsis" substitutionGroup="db:db.synopsis.blocks">
  473. <xs:complexType>
  474. <xs:sequence>
  475. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  476. <xs:element minOccurs="0" ref="db:type"/>
  477. <xs:element ref="db:varname"/>
  478. <xs:element minOccurs="0" ref="db:initializer"/>
  479. </xs:sequence>
  480. <xs:attributeGroup ref="db:db.fieldsynopsis.attlist"/>
  481. </xs:complexType>
  482. </xs:element>
  483. <!-- ====================================================================== -->
  484. <xs:attributeGroup name="db.initializer.role.attribute">
  485. <xs:attribute name="role" use="required"/>
  486. </xs:attributeGroup>
  487. <xs:attributeGroup name="db.initializer.attlist">
  488. <xs:attribute name="role"/>
  489. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  490. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  491. </xs:attributeGroup>
  492. <xs:element name="initializer">
  493. <xs:complexType mixed="true">
  494. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.initializer.inlines"/>
  495. <xs:attributeGroup ref="db:db.initializer.attlist"/>
  496. </xs:complexType>
  497. </xs:element>
  498. <!-- ====================================================================== -->
  499. <xs:attributeGroup name="db.constructorsynopsis.role.attribute">
  500. <xs:attribute name="role" use="required"/>
  501. </xs:attributeGroup>
  502. <xs:attributeGroup name="db.constructorsynopsis.attlist">
  503. <xs:attribute name="role"/>
  504. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  505. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  506. <xs:attribute name="language"/>
  507. </xs:attributeGroup>
  508. <xs:element name="constructorsynopsis" substitutionGroup="db:db.synopsis.blocks">
  509. <xs:complexType>
  510. <xs:sequence>
  511. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  512. <xs:element minOccurs="0" ref="db:methodname"/>
  513. <xs:choice>
  514. <xs:choice maxOccurs="unbounded">
  515. <xs:element ref="db:methodparam"/>
  516. <xs:group ref="db:db.group.methodparam"/>
  517. </xs:choice>
  518. <xs:element minOccurs="0" ref="db:void"/>
  519. </xs:choice>
  520. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
  521. </xs:sequence>
  522. <xs:attributeGroup ref="db:db.constructorsynopsis.attlist"/>
  523. </xs:complexType>
  524. </xs:element>
  525. <!-- ====================================================================== -->
  526. <xs:attributeGroup name="db.destructorsynopsis.role.attribute">
  527. <xs:attribute name="role" use="required"/>
  528. </xs:attributeGroup>
  529. <xs:attributeGroup name="db.destructorsynopsis.attlist">
  530. <xs:attribute name="role"/>
  531. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  532. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  533. <xs:attribute name="language"/>
  534. </xs:attributeGroup>
  535. <xs:element name="destructorsynopsis" substitutionGroup="db:db.synopsis.blocks">
  536. <xs:complexType>
  537. <xs:sequence>
  538. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  539. <xs:element minOccurs="0" ref="db:methodname"/>
  540. <xs:choice>
  541. <xs:choice maxOccurs="unbounded">
  542. <xs:element ref="db:methodparam"/>
  543. <xs:group ref="db:db.group.methodparam"/>
  544. </xs:choice>
  545. <xs:element minOccurs="0" ref="db:void"/>
  546. </xs:choice>
  547. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
  548. </xs:sequence>
  549. <xs:attributeGroup ref="db:db.destructorsynopsis.attlist"/>
  550. </xs:complexType>
  551. </xs:element>
  552. <!-- ====================================================================== -->
  553. <xs:attributeGroup name="db.methodsynopsis.role.attribute">
  554. <xs:attribute name="role" use="required"/>
  555. </xs:attributeGroup>
  556. <xs:attributeGroup name="db.methodsynopsis.attlist">
  557. <xs:attribute name="role"/>
  558. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  559. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  560. <xs:attribute name="language"/>
  561. </xs:attributeGroup>
  562. <xs:element name="methodsynopsis" substitutionGroup="db:db.synopsis.blocks">
  563. <xs:complexType>
  564. <xs:sequence>
  565. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  566. <xs:choice minOccurs="0">
  567. <xs:element ref="db:type"/>
  568. <xs:element ref="db:void"/>
  569. </xs:choice>
  570. <xs:element ref="db:methodname"/>
  571. <xs:choice>
  572. <xs:choice maxOccurs="unbounded">
  573. <xs:element ref="db:methodparam"/>
  574. <xs:group ref="db:db.group.methodparam"/>
  575. </xs:choice>
  576. <xs:element ref="db:void"/>
  577. </xs:choice>
  578. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
  579. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  580. </xs:sequence>
  581. <xs:attributeGroup ref="db:db.methodsynopsis.attlist"/>
  582. </xs:complexType>
  583. </xs:element>
  584. <!-- ====================================================================== -->
  585. <xs:attributeGroup name="db.methodname.role.attribute">
  586. <xs:attribute name="role" use="required"/>
  587. </xs:attributeGroup>
  588. <xs:attributeGroup name="db.methodname.attlist">
  589. <xs:attribute name="role"/>
  590. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  591. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  592. </xs:attributeGroup>
  593. <xs:element name="methodname">
  594. <xs:complexType mixed="true">
  595. <xs:group ref="db:db._text"/>
  596. <xs:attributeGroup ref="db:db.methodname.attlist"/>
  597. </xs:complexType>
  598. </xs:element>
  599. <!-- ====================================================================== -->
  600. <xs:attributeGroup name="db.methodparam.role.attribute">
  601. <xs:attribute name="role" use="required"/>
  602. </xs:attributeGroup>
  603. <xs:attributeGroup name="db.methodparam.rep.attribute">
  604. <xs:attributeGroup ref="db:db.rep.attribute"/>
  605. </xs:attributeGroup>
  606. <xs:attributeGroup name="db.methodparam.choice.attribute">
  607. <xs:attributeGroup ref="db:db.choice.req.attribute"/>
  608. </xs:attributeGroup>
  609. <xs:attributeGroup name="db.methodparam.attlist">
  610. <xs:attribute name="role"/>
  611. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  612. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  613. <xs:attribute name="rep" type="db:db.rep.enumeration"/>
  614. <xs:attribute name="choice" type="db:db.choice.enumeration"/>
  615. </xs:attributeGroup>
  616. <xs:element name="methodparam">
  617. <xs:complexType>
  618. <xs:sequence>
  619. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  620. <xs:element minOccurs="0" ref="db:type"/>
  621. <xs:choice>
  622. <xs:sequence>
  623. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  624. <xs:element ref="db:parameter"/>
  625. <xs:element minOccurs="0" ref="db:initializer"/>
  626. </xs:sequence>
  627. <xs:element ref="db:funcparams"/>
  628. </xs:choice>
  629. <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
  630. </xs:sequence>
  631. <xs:attributeGroup ref="db:db.methodparam.attlist"/>
  632. </xs:complexType>
  633. </xs:element>
  634. <!-- ====================================================================== -->
  635. <xs:attributeGroup name="db.group.methodparam.role.attribute">
  636. <xs:attribute name="role" use="required"/>
  637. </xs:attributeGroup>
  638. <xs:attributeGroup name="db.group.methodparam.choice.attribute">
  639. <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
  640. </xs:attributeGroup>
  641. <xs:attributeGroup name="db.group.methodparam.attlist">
  642. <xs:attribute name="role"/>
  643. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  644. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  645. <xs:attribute name="choice" type="db:db.choice.enumeration"/>
  646. </xs:attributeGroup>
  647. <xs:group name="db.group.methodparam">
  648. <xs:sequence>
  649. <xs:element name="group">
  650. <xs:complexType>
  651. <xs:choice maxOccurs="unbounded">
  652. <xs:element ref="db:methodparam"/>
  653. <xs:group ref="db:db.group.methodparam"/>
  654. </xs:choice>
  655. <xs:attributeGroup ref="db:db.group.methodparam.attlist"/>
  656. </xs:complexType>
  657. </xs:element>
  658. </xs:sequence>
  659. </xs:group>
  660. <!-- ====================================================================== -->
  661. <xs:attributeGroup name="db.varname.role.attribute">
  662. <xs:attribute name="role" use="required"/>
  663. </xs:attributeGroup>
  664. <xs:attributeGroup name="db.varname.attlist">
  665. <xs:attribute name="role"/>
  666. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  667. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  668. </xs:attributeGroup>
  669. <xs:element name="varname">
  670. <xs:complexType mixed="true">
  671. <xs:group ref="db:db._text"/>
  672. <xs:attributeGroup ref="db:db.varname.attlist"/>
  673. </xs:complexType>
  674. </xs:element>
  675. <!-- ====================================================================== -->
  676. <xs:attributeGroup name="db.returnvalue.role.attribute">
  677. <xs:attribute name="role" use="required"/>
  678. </xs:attributeGroup>
  679. <xs:attributeGroup name="db.returnvalue.attlist">
  680. <xs:attribute name="role"/>
  681. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  682. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  683. </xs:attributeGroup>
  684. <xs:element name="returnvalue">
  685. <xs:complexType mixed="true">
  686. <xs:group ref="db:db._text"/>
  687. <xs:attributeGroup ref="db:db.returnvalue.attlist"/>
  688. </xs:complexType>
  689. </xs:element>
  690. <!-- ====================================================================== -->
  691. <xs:attributeGroup name="db.type.role.attribute">
  692. <xs:attribute name="role" use="required"/>
  693. </xs:attributeGroup>
  694. <xs:attributeGroup name="db.type.attlist">
  695. <xs:attribute name="role"/>
  696. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  697. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  698. </xs:attributeGroup>
  699. <xs:element name="type">
  700. <xs:complexType mixed="true">
  701. <xs:group ref="db:db._text"/>
  702. <xs:attributeGroup ref="db:db.type.attlist"/>
  703. </xs:complexType>
  704. </xs:element>
  705. <!-- ====================================================================== -->
  706. <xs:attributeGroup name="db.classname.role.attribute">
  707. <xs:attribute name="role" use="required"/>
  708. </xs:attributeGroup>
  709. <xs:attributeGroup name="db.classname.attlist">
  710. <xs:attribute name="role"/>
  711. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  712. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  713. </xs:attributeGroup>
  714. <xs:element name="classname">
  715. <xs:complexType mixed="true">
  716. <xs:group ref="db:db._text"/>
  717. <xs:attributeGroup ref="db:db.classname.attlist"/>
  718. </xs:complexType>
  719. </xs:element>
  720. <!-- ====================================================================== -->
  721. <xs:attributeGroup name="db.programlisting.role.attribute">
  722. <xs:attribute name="role" use="required"/>
  723. </xs:attributeGroup>
  724. <xs:attributeGroup name="db.programlisting.width.attribute">
  725. <xs:attributeGroup ref="db:db.width.characters.attribute"/>
  726. </xs:attributeGroup>
  727. <xs:attributeGroup name="db.programlisting.attlist">
  728. <xs:attribute name="role"/>
  729. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  730. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  731. <xs:attributeGroup ref="db:db.verbatim.attributes"/>
  732. <xs:attribute name="width" type="xs:nonNegativeInteger"/>
  733. </xs:attributeGroup>
  734. <xs:element name="programlisting" substitutionGroup="db:db.verbatim.blocks">
  735. <xs:complexType>
  736. <xs:complexContent>
  737. <xs:extension base="db:db.verbatim.contentmodel">
  738. <xs:attributeGroup ref="db:db.programlisting.attlist"/>
  739. </xs:extension>
  740. </xs:complexContent>
  741. </xs:complexType>
  742. </xs:element>
  743. </xs:schema>