smil.dtd 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <? wireshark:protocol
  2. proto_name="smil"
  3. media="application/smil"
  4. description="Synchronized Multimedia Integration Language"
  5. ?>
  6. <!--
  7. This is the XML document type definition (DTD) for SMIL 1.0.
  8. Date: 1998/06/15 08:56:30
  9. Authors:
  10. Jacco van Ossenbruggen <jrvosse@cwi.nl>
  11. Sjoerd Mullender <sjoerd@cwi.nl>
  12. Further information about SMIL is available at:
  13. https://www.w3.org/AudioVideo/
  14. -->
  15. <!-- Generally useful entities -->
  16. <!ENTITY % id-attr "id ID #IMPLIED">
  17. <!ENTITY % title-attr "title CDATA #IMPLIED">
  18. <!ENTITY % skip-attr "skip-content (true|false) 'true'">
  19. <!ENTITY % desc-attr "
  20. %title-attr;
  21. abstract CDATA #IMPLIED
  22. author CDATA #IMPLIED
  23. copyright CDATA #IMPLIED
  24. ">
  25. <!--=================== SMIL Document =====================================-->
  26. <!--
  27. The root element SMIL contains all other elements.
  28. -->
  29. <!ELEMENT smil (head?,body?)>
  30. <!ATTLIST smil
  31. %id-attr;
  32. >
  33. <!--=================== The Document Head =================================-->
  34. <!ENTITY % layout-section "layout|switch">
  35. <!ENTITY % head-element "(meta*,((%layout-section;), meta*))?">
  36. <!ELEMENT head %head-element;>
  37. <!ATTLIST head %id-attr;>
  38. <!--=================== Layout Element ====================================-->
  39. <!--
  40. Layout contains the region and root-layout elements defined by
  41. smil-basic-layout or other elements defined an external layout
  42. mechanism.
  43. -->
  44. <!ELEMENT layout (region|root-layout)>
  45. <!ATTLIST layout
  46. %id-attr;
  47. type CDATA "text/smil-basic-layout"
  48. >
  49. <!--=================== Region Element ===================================-->
  50. <!ENTITY % viewport-attrs "
  51. height CDATA #IMPLIED
  52. width CDATA #IMPLIED
  53. background-color CDATA #IMPLIED
  54. ">
  55. <!ELEMENT region EMPTY>
  56. <!ATTLIST region
  57. %id-attr;
  58. %title-attr;
  59. %viewport-attrs;
  60. left CDATA "0"
  61. top CDATA "0"
  62. z-index CDATA "0"
  63. fit (hidden|fill|meet|scroll|slice) "hidden"
  64. %skip-attr;
  65. >
  66. <!--=================== Root-layout Element ================================-->
  67. <!ELEMENT root-layout EMPTY>
  68. <!ATTLIST root-layout
  69. %id-attr;
  70. %title-attr;
  71. %viewport-attrs;
  72. %skip-attr;
  73. >
  74. <!--=================== Meta Element=======================================-->
  75. <!ELEMENT meta EMPTY>
  76. <!ATTLIST meta
  77. name NMTOKEN #REQUIRED
  78. content CDATA #REQUIRED
  79. %skip-attr;
  80. >
  81. <!--=================== The Document Body =================================-->
  82. <!ENTITY % media-object "audio|video|text|img|animation|textstream|ref">
  83. <!ENTITY % schedule "par|seq|(%media-object;)">
  84. <!ENTITY % inline-link "a">
  85. <!ENTITY % assoc-link "anchor">
  86. <!ENTITY % link "%inline-link;">
  87. <!ENTITY % container-content "(%schedule;)|switch|(%link;)">
  88. <!ENTITY % body-content "(%container-content;)">
  89. <!ELEMENT body (%body-content;)*>
  90. <!ATTLIST body %id-attr;>
  91. <!--=================== Synchronization Attributes ========================-->
  92. <!ENTITY % sync-attributes "
  93. begin CDATA #IMPLIED
  94. end CDATA #IMPLIED
  95. ">
  96. <!--=================== Switch Parameter Attributes =======================-->
  97. <!ENTITY % system-attribute "
  98. system-bitrate CDATA #IMPLIED
  99. system-language CDATA #IMPLIED
  100. system-required NMTOKEN #IMPLIED
  101. system-screen-size CDATA #IMPLIED
  102. system-screen-depth CDATA #IMPLIED
  103. system-captions (on|off) #IMPLIED
  104. system-overdub-or-caption (caption|overdub) #IMPLIED
  105. ">
  106. <!--=================== Fill Attribute ====================================-->
  107. <!ENTITY % fill-attribute "
  108. fill (remove|freeze) 'remove'
  109. ">
  110. <!--=================== The Parallel Element ==============================-->
  111. <!ENTITY % par-content "%container-content;">
  112. <!ELEMENT par (%par-content;)*>
  113. <!ATTLIST par
  114. %id-attr;
  115. %desc-attr;
  116. endsync CDATA "last"
  117. dur CDATA #IMPLIED
  118. repeat CDATA "1"
  119. region IDREF #IMPLIED
  120. %sync-attributes;
  121. %system-attribute;
  122. >
  123. <!--=================== The Sequential Element ============================-->
  124. <!ENTITY % seq-content "%container-content;">
  125. <!ELEMENT seq (%seq-content;)*>
  126. <!ATTLIST seq
  127. %id-attr;
  128. %desc-attr;
  129. dur CDATA #IMPLIED
  130. repeat CDATA "1"
  131. region IDREF #IMPLIED
  132. %sync-attributes;
  133. %system-attribute;
  134. >
  135. <!--=================== The Switch Element ================================-->
  136. <!-- In the head, a switch may contain only layout elements,
  137. in the body, only container elements. However, this
  138. constraint cannot be expressed in the DTD (?), so
  139. we allow both:
  140. -->
  141. <!ENTITY % switch-content "layout|(%container-content;)">
  142. <!ELEMENT switch (%switch-content;)*>
  143. <!ATTLIST switch
  144. %id-attr;
  145. %title-attr;
  146. >
  147. <!--=================== Media Object Elements =============================-->
  148. <!-- SMIL only defines the structure. The real media data is
  149. referenced by the src attribute of the media objects.
  150. -->
  151. <!-- Furthermore, they have the following attributes as defined
  152. in the SMIL specification:
  153. -->
  154. <!ENTITY % mo-attributes "
  155. %id-attr;
  156. %desc-attr;
  157. region IDREF #IMPLIED
  158. alt CDATA #IMPLIED
  159. longdesc CDATA #IMPLIED
  160. src CDATA #IMPLIED
  161. type CDATA #IMPLIED
  162. dur CDATA #IMPLIED
  163. repeat CDATA '1'
  164. %fill-attribute;
  165. %sync-attributes;
  166. %system-attribute;
  167. ">
  168. <!--
  169. Most info is in the attributes, media objects are empty or
  170. contain associated link elements:
  171. -->
  172. <!ENTITY % mo-content "(%assoc-link;)*">
  173. <!ENTITY % clip-attrs "
  174. clip-begin CDATA #IMPLIED
  175. clip-end CDATA #IMPLIED
  176. ">
  177. <!ELEMENT ref %mo-content;>
  178. <!ELEMENT audio %mo-content;>
  179. <!ELEMENT img %mo-content;>
  180. <!ELEMENT video %mo-content;>
  181. <!ELEMENT text %mo-content;>
  182. <!ELEMENT textstream %mo-content;>
  183. <!ELEMENT animation %mo-content;>
  184. <!ATTLIST ref %mo-attributes; %clip-attrs;>
  185. <!ATTLIST audio %mo-attributes; %clip-attrs;>
  186. <!ATTLIST video %mo-attributes; %clip-attrs;>
  187. <!ATTLIST animation %mo-attributes; %clip-attrs;>
  188. <!ATTLIST textstream %mo-attributes; %clip-attrs;>
  189. <!ATTLIST text %mo-attributes;>
  190. <!ATTLIST img %mo-attributes;>
  191. <!--=================== Link Elements =====================================-->
  192. <!ENTITY % smil-link-attributes "
  193. %id-attr;
  194. %title-attr;
  195. href CDATA #REQUIRED
  196. show (replace|new|pause) 'replace'
  197. ">
  198. <!--=================== Inline Link Element ===============================-->
  199. <!ELEMENT a (%schedule;|switch)*>
  200. <!ATTLIST a
  201. %smil-link-attributes;
  202. >
  203. <!--=================== Associated Link Element ===========================-->
  204. <!ELEMENT anchor EMPTY>
  205. <!ATTLIST anchor
  206. %skip-attr;
  207. %smil-link-attributes;
  208. %sync-attributes;
  209. coords CDATA #IMPLIED
  210. >