technical.xsd 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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. <!-- ====================================================================== -->
  31. <!-- ====================================================================== -->
  32. <xs:simpleType name="db.systemitem.class.enumeration">
  33. <xs:restriction base="xs:token">
  34. <xs:enumeration value="daemon">
  35. <xs:annotation>
  36. <xs:documentation>A daemon or other system process (syslogd)</xs:documentation>
  37. </xs:annotation>
  38. </xs:enumeration>
  39. <xs:enumeration value="domainname">
  40. <xs:annotation>
  41. <xs:documentation>A domain name (example.com)</xs:documentation>
  42. </xs:annotation>
  43. </xs:enumeration>
  44. <xs:enumeration value="etheraddress">
  45. <xs:annotation>
  46. <xs:documentation>An ethernet address (00:05:4E:49:FD:8E)</xs:documentation>
  47. </xs:annotation>
  48. </xs:enumeration>
  49. <xs:enumeration value="event">
  50. <xs:annotation>
  51. <xs:documentation>An event of some sort (SIGHUP)</xs:documentation>
  52. </xs:annotation>
  53. </xs:enumeration>
  54. <xs:enumeration value="eventhandler">
  55. <xs:annotation>
  56. <xs:documentation>An event handler of some sort (hangup)</xs:documentation>
  57. </xs:annotation>
  58. </xs:enumeration>
  59. <xs:enumeration value="filesystem">
  60. <xs:annotation>
  61. <xs:documentation>A filesystem (ext3)</xs:documentation>
  62. </xs:annotation>
  63. </xs:enumeration>
  64. <xs:enumeration value="fqdomainname">
  65. <xs:annotation>
  66. <xs:documentation>A fully qualified domain name (my.example.com)</xs:documentation>
  67. </xs:annotation>
  68. </xs:enumeration>
  69. <xs:enumeration value="groupname">
  70. <xs:annotation>
  71. <xs:documentation>A group name (wheel)</xs:documentation>
  72. </xs:annotation>
  73. </xs:enumeration>
  74. <xs:enumeration value="ipaddress">
  75. <xs:annotation>
  76. <xs:documentation>An IP address (127.0.0.1)</xs:documentation>
  77. </xs:annotation>
  78. </xs:enumeration>
  79. <xs:enumeration value="library">
  80. <xs:annotation>
  81. <xs:documentation>A library (libncurses)</xs:documentation>
  82. </xs:annotation>
  83. </xs:enumeration>
  84. <xs:enumeration value="macro">
  85. <xs:annotation>
  86. <xs:documentation>A macro</xs:documentation>
  87. </xs:annotation>
  88. </xs:enumeration>
  89. <xs:enumeration value="netmask">
  90. <xs:annotation>
  91. <xs:documentation>A netmask (255.255.255.192)</xs:documentation>
  92. </xs:annotation>
  93. </xs:enumeration>
  94. <xs:enumeration value="newsgroup">
  95. <xs:annotation>
  96. <xs:documentation>A newsgroup (comp.text.xml)</xs:documentation>
  97. </xs:annotation>
  98. </xs:enumeration>
  99. <xs:enumeration value="osname">
  100. <xs:annotation>
  101. <xs:documentation>An operating system name (Hurd)</xs:documentation>
  102. </xs:annotation>
  103. </xs:enumeration>
  104. <xs:enumeration value="process">
  105. <xs:annotation>
  106. <xs:documentation>A process (gnome-cups-icon)</xs:documentation>
  107. </xs:annotation>
  108. </xs:enumeration>
  109. <xs:enumeration value="protocol">
  110. <xs:annotation>
  111. <xs:documentation>A protocol (ftp)</xs:documentation>
  112. </xs:annotation>
  113. </xs:enumeration>
  114. <xs:enumeration value="resource">
  115. <xs:annotation>
  116. <xs:documentation>A resource</xs:documentation>
  117. </xs:annotation>
  118. </xs:enumeration>
  119. <xs:enumeration value="securitycontext">
  120. <xs:annotation>
  121. <xs:documentation>A security context (a role, permission, or security token, for example)</xs:documentation>
  122. </xs:annotation>
  123. </xs:enumeration>
  124. <xs:enumeration value="server">
  125. <xs:annotation>
  126. <xs:documentation>A server (mail.example.com)</xs:documentation>
  127. </xs:annotation>
  128. </xs:enumeration>
  129. <xs:enumeration value="service">
  130. <xs:annotation>
  131. <xs:documentation>A service (ppp)</xs:documentation>
  132. </xs:annotation>
  133. </xs:enumeration>
  134. <xs:enumeration value="systemname">
  135. <xs:annotation>
  136. <xs:documentation>A system name (hephaistos)</xs:documentation>
  137. </xs:annotation>
  138. </xs:enumeration>
  139. <xs:enumeration value="username">
  140. <xs:annotation>
  141. <xs:documentation>A user name (ndw)</xs:documentation>
  142. </xs:annotation>
  143. </xs:enumeration>
  144. </xs:restriction>
  145. </xs:simpleType>
  146. <xs:attributeGroup name="db.systemitem.class-enum.attribute">
  147. <xs:attribute name="class" type="db:db.systemitem.class.enumeration"/>
  148. </xs:attributeGroup>
  149. <xs:attributeGroup name="db.systemitem.class-other.attribute">
  150. <xs:attribute name="otherclass" use="required" type="xs:NMTOKEN"/>
  151. </xs:attributeGroup>
  152. <xs:attributeGroup name="db.systemitem.class-other.attributes">
  153. <xs:attribute name="class" use="required">
  154. <xs:simpleType>
  155. <xs:restriction base="xs:token">
  156. <xs:enumeration value="other">
  157. <xs:annotation>
  158. <xs:documentation>Indicates that the system item is some 'other' kind.</xs:documentation>
  159. </xs:annotation>
  160. </xs:enumeration>
  161. </xs:restriction>
  162. </xs:simpleType>
  163. </xs:attribute>
  164. <xs:attributeGroup ref="db:db.systemitem.class-other.attribute"/>
  165. </xs:attributeGroup>
  166. <xs:attributeGroup name="db.systemitem.class.attribute">
  167. <xs:attribute name="class">
  168. <xs:simpleType>
  169. <xs:union memberTypes="db:db.systemitem.class.enumeration">
  170. <xs:simpleType>
  171. <xs:restriction base="xs:token">
  172. <xs:enumeration value="other">
  173. <xs:annotation>
  174. <xs:documentation>Indicates that the system item is some 'other' kind.</xs:documentation>
  175. </xs:annotation>
  176. </xs:enumeration>
  177. </xs:restriction>
  178. </xs:simpleType>
  179. </xs:union>
  180. </xs:simpleType>
  181. </xs:attribute>
  182. <xs:attribute name="otherclass" type="xs:NMTOKEN"/>
  183. </xs:attributeGroup>
  184. <xs:attributeGroup name="db.systemitem.role.attribute">
  185. <xs:attribute name="role" use="required"/>
  186. </xs:attributeGroup>
  187. <xs:attributeGroup name="db.systemitem.attlist">
  188. <xs:attribute name="role"/>
  189. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  190. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  191. <xs:attributeGroup ref="db:db.systemitem.class.attribute"/>
  192. </xs:attributeGroup>
  193. <xs:element name="systemitem" substitutionGroup="db:db.technical.inlines">
  194. <xs:complexType mixed="true">
  195. <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.systemitem.inlines"/>
  196. <xs:attributeGroup ref="db:db.systemitem.attlist"/>
  197. </xs:complexType>
  198. </xs:element>
  199. <!-- ====================================================================== -->
  200. <xs:attributeGroup name="db.option.role.attribute">
  201. <xs:attribute name="role" use="required"/>
  202. </xs:attributeGroup>
  203. <xs:attributeGroup name="db.option.attlist">
  204. <xs:attribute name="role"/>
  205. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  206. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  207. </xs:attributeGroup>
  208. <xs:element name="option" substitutionGroup="db:db.technical.inlines">
  209. <xs:complexType mixed="true">
  210. <xs:group ref="db:db._text"/>
  211. <xs:attributeGroup ref="db:db.option.attlist"/>
  212. </xs:complexType>
  213. </xs:element>
  214. <!-- ====================================================================== -->
  215. <xs:attributeGroup name="db.optional.role.attribute">
  216. <xs:attribute name="role" use="required"/>
  217. </xs:attributeGroup>
  218. <xs:attributeGroup name="db.optional.attlist">
  219. <xs:attribute name="role"/>
  220. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  221. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  222. </xs:attributeGroup>
  223. <xs:element name="optional" substitutionGroup="db:db.technical.inlines">
  224. <xs:complexType mixed="true">
  225. <xs:group ref="db:db._text"/>
  226. <xs:attributeGroup ref="db:db.optional.attlist"/>
  227. </xs:complexType>
  228. </xs:element>
  229. <!-- ====================================================================== -->
  230. <xs:attributeGroup name="db.property.role.attribute">
  231. <xs:attribute name="role" use="required"/>
  232. </xs:attributeGroup>
  233. <xs:attributeGroup name="db.property.attlist">
  234. <xs:attribute name="role"/>
  235. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  236. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  237. </xs:attributeGroup>
  238. <xs:element name="property" substitutionGroup="db:db.technical.inlines">
  239. <xs:complexType mixed="true">
  240. <xs:group ref="db:db._text"/>
  241. <xs:attributeGroup ref="db:db.property.attlist"/>
  242. </xs:complexType>
  243. </xs:element>
  244. </xs:schema>