No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep.dtd 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!--
  3. Copyright (c) 1999 - 2017 XMPP Standards Foundation
  4. Permission is hereby granted, free of charge, to any person obtaining a copy
  5. of this software and associated documentation files (the "Software"), to deal
  6. in the Software without restriction, including without limitation the rights
  7. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8. copies of the Software, and to permit persons to whom the Software is
  9. furnished to do so, subject to the following conditions:
  10. The above copyright notice and this permission notice shall be included in
  11. all copies or substantial portions of the Software.
  12. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  13. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  14. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  15. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  16. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  17. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  18. THE SOFTWARE.
  19. -->
  20. <!ELEMENT xep ( header, section1* ) >
  21. <!ATTLIST xep
  22. xmlns CDATA '' >
  23. <!ELEMENT header ( title, abstract, legal, number, status, lastcall*, interim*, type, sig, approver*, dependencies, supersedes, supersededby, shortname, schemaloc*, registry?, discuss?, expires?, author+, revision+, councilnote? ) >
  24. <!ELEMENT title (#PCDATA)* >
  25. <!ELEMENT abstract (#PCDATA)* >
  26. <!ELEMENT legal ( copyright, permissions, warranty, liability, conformance ) >
  27. <!ELEMENT copyright (#PCDATA | link)* >
  28. <!ELEMENT permissions (#PCDATA | link)* >
  29. <!ELEMENT warranty (#PCDATA | link)* >
  30. <!ELEMENT liability (#PCDATA | link)* >
  31. <!ELEMENT conformance (#PCDATA | link)* >
  32. <!ELEMENT number (#PCDATA)* >
  33. <!ELEMENT status (#PCDATA)* >
  34. <!ELEMENT lastcall (#PCDATA)* >
  35. <!ELEMENT interim EMPTY>
  36. <!ELEMENT type (#PCDATA)* >
  37. <!ELEMENT sig (#PCDATA)* >
  38. <!ELEMENT approver (#PCDATA)* >
  39. <!ELEMENT dependencies ( spec* ) >
  40. <!ELEMENT supersedes ( spec* ) >
  41. <!ELEMENT supersededby ( spec* ) >
  42. <!ELEMENT spec (#PCDATA)* >
  43. <!ELEMENT shortname (#PCDATA)* >
  44. <!ELEMENT schemaloc ( ns?, url ) >
  45. <!ELEMENT ns (#PCDATA)* >
  46. <!ELEMENT url (#PCDATA)* >
  47. <!ELEMENT registry EMPTY>
  48. <!ELEMENT discuss (#PCDATA)* >
  49. <!ELEMENT expires (#PCDATA)* >
  50. <!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid?, uri? ) >
  51. <!ELEMENT firstname (#PCDATA)* >
  52. <!ELEMENT surname (#PCDATA)* >
  53. <!ELEMENT authornote EMPTY>
  54. <!ELEMENT org (#PCDATA)* >
  55. <!ELEMENT email (#PCDATA)* >
  56. <!ELEMENT jid (#PCDATA)* >
  57. <!ELEMENT uri (#PCDATA)* >
  58. <!ELEMENT revision ( version, date, initials, remark ) >
  59. <!ELEMENT version (#PCDATA)* >
  60. <!ELEMENT date (#PCDATA)* >
  61. <!ELEMENT initials (#PCDATA)* >
  62. <!ELEMENT remark (#PCDATA | p | ul)* >
  63. <!ELEMENT councilnote (#PCDATA)* >
  64. <!ELEMENT section1 ( div | p | section2 | example | code | ul | ol | dl | table )* >
  65. <!ATTLIST section1
  66. topic CDATA ''
  67. anchor CDATA '' >
  68. <!ELEMENT section2 ( div | p | section3 | example | code | ul | ol | dl | table )* >
  69. <!ATTLIST section2
  70. topic CDATA ''
  71. anchor CDATA '' >
  72. <!ELEMENT section3 ( div | p | section4 | example | code | ul | ol | dl | table )* >
  73. <!ATTLIST section3
  74. topic CDATA ''
  75. anchor CDATA '' >
  76. <!ELEMENT section4 ( div | p | section5 | example | code | ul | ol | dl | table )* >
  77. <!ATTLIST section4
  78. topic CDATA ''
  79. anchor CDATA '' >
  80. <!ELEMENT section5 ( div | p | example | code | ul | ol | dl | table )* >
  81. <!ATTLIST section5
  82. topic CDATA ''
  83. anchor CDATA '' >
  84. <!ELEMENT div ( #PCDATA | div | p | example | code | ul | ol | dl | table | blockquote )* >
  85. <!ATTLIST div
  86. class CDATA ''
  87. style CDATA '' >
  88. <!ELEMENT p (#PCDATA | br | img | link | note | tt | dfn | em | strong | cite | span | acronym )* >
  89. <!ATTLIST p
  90. class CDATA ''
  91. style CDATA '' >
  92. <!ELEMENT br EMPTY >
  93. <!ELEMENT ul (li+) >
  94. <!ATTLIST ul
  95. class CDATA ''
  96. style CDATA '' >
  97. <!ELEMENT ol (li+) >
  98. <!ATTLIST ol
  99. class CDATA ''
  100. start CDATA ''
  101. style CDATA ''
  102. type CDATA '' >
  103. <!ELEMENT li (#PCDATA | p | link | note | tt | em | strong | cite | span | code | example | ul | ol)* >
  104. <!ATTLIST li
  105. class CDATA ''
  106. style CDATA '' >
  107. <!ELEMENT dl (di+) >
  108. <!ELEMENT di ( dt, dd ) >
  109. <!ELEMENT dt (#PCDATA)* >
  110. <!ELEMENT dd (#PCDATA | p | link | note | tt | em | strong | cite | span | code | example | ul | ol )* >
  111. <!ELEMENT img EMPTY>
  112. <!ATTLIST img
  113. src CDATA ''
  114. alt CDATA ''
  115. height CDATA ''
  116. width CDATA ''>
  117. <!ELEMENT link (#PCDATA | cite)* >
  118. <!ATTLIST link url CDATA '' >
  119. <!ELEMENT note (#PCDATA | link | tt | dfn | em | strong | cite | span | note)* >
  120. <!ELEMENT blockquote (#PCDATA | blockquote)* >
  121. <!ELEMENT acronym (#PCDATA)* >
  122. <!ELEMENT example (#PCDATA)* >
  123. <!ATTLIST example caption CDATA '' >
  124. <!ELEMENT code (#PCDATA | span | em | strong)* >
  125. <!ATTLIST code caption CDATA '' >
  126. <!ELEMENT table (tr)* >
  127. <!ATTLIST table caption CDATA '' >
  128. <!ELEMENT tr ( th | td )* >
  129. <!ELEMENT th (#PCDATA)* >
  130. <!ATTLIST th
  131. colspan CDATA ''
  132. rowspan CDATA '' >
  133. <!ELEMENT td (#PCDATA | p | link | note | tt | em | strong | cite | span | code | ul | ol)* >
  134. <!ATTLIST td
  135. align CDATA ''
  136. colspan CDATA ''
  137. rowspan CDATA '' >
  138. <!ELEMENT tt (#PCDATA | link | em | string)* >
  139. <!ELEMENT dfn (#PCDATA)* >
  140. <!ELEMENT em (#PCDATA | link | tt | strong | span | note)* >
  141. <!ELEMENT strong (#PCDATA | link | tt | em | span | note)* >
  142. <!ELEMENT cite (#PCDATA)* >
  143. <!ELEMENT span (#PCDATA | link | tt | dfn | em | strong )* >
  144. <!ATTLIST span
  145. class CDATA ''
  146. style CDATA '' >