home *** CD-ROM | disk | FTP | other *** search
/ XML Bible (2nd Edition) / XML_Bible_Second_Edition_Hungry_Minds_2001.iso / mac / specs / XML-MathML-20010221 / pubtext / xmlspec.dtd < prev   
Text File  |  2000-07-12  |  55KB  |  1,666 lines

  1. <!-- ............................................................... -->
  2. <!-- XML specification DTD ......................................... -->
  3. <!-- ............................................................... -->
  4.  
  5. <!-- $Id: xmlspec.dtd,v 1.14 2000/07/11 14:51:40 davidc Exp $ -->
  6.  
  7. <!--
  8. TYPICAL INVOCATION:
  9. #  <!DOCTYPE spec PUBLIC
  10. #       "-//W3C//DTD XML Specification Version 2.0.1 Math WG edition//EN"
  11. #       "../pubtext/xmlspec.dtd">
  12.  
  13. PURPOSE:
  14.   This DTD was developed for use with the XML family of W3C
  15.   specifications.  It is an XML-compliant DTD based in part on
  16.   the TEI Lite and Sweb DTDs.
  17.  
  18. DEPENDENCIES:
  19.   None.
  20.  
  21. CHANGE HISTORY:
  22.   The list of changes is at the end of the DTD.
  23.  
  24.   For all details, see the design report at:
  25.  
  26. #   <http://www.w3.org/XML/1998/06/NOTE-xmlspec-v20.htm>
  27.  
  28.   The "typical invocation" FPI always gets updated to reflect the date
  29.   of the most recent changes.
  30.  
  31.   Search this file for "#" in the first column to see change history
  32.   comments.
  33.  
  34. MAINTAINER:
  35.   Eve Maler
  36.   Arbortext, Inc.
  37.   elm@arbortext.com
  38.   voice: +1 781 529 1012
  39.   fax:   +1 781 529 1099
  40. -->
  41.  
  42. <!-- ............................................................... -->
  43. <!-- Entities for characters and symbols ........................... -->
  44. <!-- ............................................................... -->
  45.  
  46. <!--
  47. #1998-03-10: maler: Added “ and ”.
  48. #                   Used 8879:1986-compatible decimal character
  49. #                   references.
  50. #                   Merged charent.mod file back into main file.
  51. #1998-05-14: maler: Fixed ldquo and rdquo.  Gave mdash a real number.
  52. #1998-12-03: maler: Escaped the leading ampersands.
  53. -->
  54.  
  55. <!ENTITY lt     "&#60;">
  56. <!ENTITY gt     ">">
  57. <!ENTITY amp    "&#38;">
  58. <!ENTITY apos   "'">
  59. <!ENTITY quot   """>
  60. <!ENTITY nbsp   " ">
  61. <!ENTITY mdash  "&#x2014;">
  62. <!ENTITY ldquo  "&#x201C;">
  63. <!ENTITY rdquo  "&#x201D;">
  64.  
  65. <!-- ............................................................... -->
  66. <!-- Entities for classes of standalone elements ................... -->
  67. <!-- ............................................................... -->
  68.  
  69. <!--
  70. #1997-10-16: maler: Added table to %illus.class;.
  71. #1997-11-28: maler: Added htable to %illus.class;.
  72. #1997-12-29: maler: IGNOREd table.
  73. #1998-03-10: maler: Removed SGML Open-specific %illus.class;.
  74. #                   Added "local" entities for customization.
  75. #1998-05-14: maler: Added issue to %note.class;.
  76. #                   Removed %[local.]statusp.class;.
  77. #1998-05-21: maler: Added constraintnote to %note.class;.
  78. #1998-08-22: maler: Changed htable to table in %illus.class;.
  79. #                   Added definitions to %illus.class;.
  80. -->
  81.  
  82. <!ENTITY % local.p.class        "">
  83. <!ENTITY % p.class              "p
  84.                                 %local.p.class;">
  85.  
  86. <!ENTITY % local.list.class     "">
  87. <!ENTITY % list.class           "ulist|olist|slist|glist
  88.                                 %local.list.class;">
  89.  
  90. <!ENTITY % local.speclist.class "">
  91. <!ENTITY % speclist.class       "orglist|blist
  92.                                 %local.speclist.class;">
  93.  
  94. <!ENTITY % local.note.class     "">
  95. <!ENTITY % note.class           "note|issue|wfcnote|vcnote
  96.                                 |constraintnote %local.note.class;">
  97.  
  98. <!ENTITY % local.illus.class    "">
  99. <!ENTITY % illus.class          "eg|graphic|scrap|table|definitions
  100.                                 %local.illus.class;">
  101.  
  102. <!-- ............................................................... -->
  103. <!-- Entities for classes of phrase-level elements ................. -->
  104. <!-- ............................................................... -->
  105.  
  106. <!--
  107. #1997-12-29: maler: Added xspecref to %ref.class;.
  108. #1998-03-10: maler: Added %ednote.class;.
  109. #                   Added "local" entities for customization.
  110. -->
  111.  
  112. <!ENTITY % local.annot.class    "">
  113. <!ENTITY % annot.class          "footnote
  114.                                 %local.annot.class;">
  115.  
  116. <!ENTITY % local.termdef.class  "">
  117. <!ENTITY % termdef.class        "termdef|term
  118.                                 %local.termdef.class;">
  119. <!--
  120. #1999-10-10: Nico Poppelier: Added sup, sub, mi.
  121. -->
  122.  
  123. <!ENTITY % local.emph.class     "">
  124. <!ENTITY % emph.class           "emph|quote|sup|sub|mi
  125.                                 %local.emph.class;">
  126.  
  127. <!--
  128. #2000-03-19: Nico Poppelier: Added intref to local.ref.class.
  129. -->
  130.  
  131. <!ENTITY % local.ref.class      "|intref">
  132. <!ENTITY % ref.class            "bibref|specref|termref|titleref
  133.                                 |xspecref|xtermref
  134.                                 %local.ref.class;">
  135.  
  136. <!ENTITY % local.loc.class      "">
  137. <!ENTITY % loc.class            "loc
  138.                                 %local.loc.class;">
  139.  
  140. <!ENTITY % local.tech.class     "">
  141. <!ENTITY % tech.class           "kw|nt|xnt|code
  142.                                 %local.tech.class;">
  143.  
  144. <!ENTITY % local.ednote.class   "">
  145. <!ENTITY % ednote.class         "ednote
  146.                                 %local.ednote.class;">
  147.  
  148. <!-- ............................................................... -->
  149. <!-- Entities for mixtures of standalone elements .................. -->
  150. <!-- ............................................................... -->
  151.  
  152. <!--
  153. #1997-09-30: maler: Created %p.mix; to eliminate p from self.
  154. #1997-09-30: maler: Added %speclist.class; to %obj.mix; and %p.mix;.
  155. #1997-09-30: maler: Added %note.class; to %obj.mix; and %p.mix;.
  156. #1997-10-16: maler: Created %entry.mix;.  Note that some elements
  157. #                   left out here are still allowed in termdef,
  158. #                   which entry can contain through %p.pcd.mix;.
  159. #1997-11-28: maler: Added %p.class; to %statusobj.mix;.
  160. #1998-03-10: maler: Added %ednote.class; to all mixtures, except
  161. #                   %p.mix; and %statusobj.mix;, because paragraphs
  162. #                   and status paragraphs will contain ednote
  163. #                   through %p.pcd.mix;.
  164. #1998-03-23: maler: Added %termdef.mix; (broken out from
  165. #                    %termdef.pcd.mix;).
  166. #1998-05-14: maler: Removed %statusobj.mix; and all mentions of
  167. #                   %statusp.mix;.
  168. -->
  169.  
  170. <!ENTITY % div.mix
  171.         "%p.class;|%list.class;|%speclist.class;|%note.class;
  172.         |%illus.class;|%ednote.class;">
  173. <!ENTITY % obj.mix
  174.         "%p.class;|%list.class;|%speclist.class;|%note.class;
  175.         |%illus.class;|%ednote.class;">
  176. <!ENTITY % p.mix
  177.         "%list.class;|%speclist.class;|%note.class;|%illus.class;">
  178. <!ENTITY % entry.mix
  179.         "%list.class;|note|eg|graphic|%ednote.class;">
  180. <!ENTITY % hdr.mix
  181.         "%p.class;|%list.class;|%ednote.class;">
  182. <!ENTITY % termdef.mix
  183.         "%note.class;|%illus.class;">
  184.  
  185. <!-- ............................................................... -->
  186. <!-- Entities for mixtures of #PCDATA and phrase-level elements .... -->
  187. <!-- ............................................................... -->
  188.  
  189. <!--    Note that %termdef.pcd.mix contains %note.class;
  190.         and %illus.class;, considered standalone elements. -->
  191.  
  192. <!--
  193. #1997-09-30: maler: Added scrap and %note.class; to %termdef.pcd.mix;.
  194. #1997-11-28: maler: Added %loc.class; to %p.pcd.mix;.
  195. #1998-03-10: maler: Added %ednote.class; to all mixtures.
  196. #1998-03-23: maler: Moved some %termdef.pcd.mix; stuff out to
  197. #                   %termdef.mix;.
  198. #1998-05-14: maler: Removed %statusp.pcd.mix;.
  199. #1998-05-21: maler: Added constraint element to %eg.pcd.mix;.
  200. #1999-07-02: maler: Added %loc.class; to %head.pcd.mix;,
  201. #                   %label.pcd.mix;, %eg.pcd.mix;, %termdef.pcd.mix;,
  202. #                   %tech.pcd.mix; (net: all PCD mixes have it).
  203. #                   Removed unused %loc.pcd.mix;.
  204. -->
  205.  
  206. <!ENTITY % p.pcd.mix
  207.         "#PCDATA|%annot.class;|%termdef.class;|%emph.class;
  208.         |%ref.class;|%tech.class;|%loc.class;|%ednote.class;">
  209. <!ENTITY % head.pcd.mix
  210.         "#PCDATA|%annot.class;|%emph.class;|%tech.class;
  211.         |%loc.class;|%ednote.class;">
  212.  
  213. <!-- dpc: added ref.class (used intref in label used mathml-dom) -->
  214. <!ENTITY % label.pcd.mix
  215.         "#PCDATA|%annot.class;|%termdef.class;|%emph.class;
  216.         |%tech.class;|%loc.class;|%ednote.class;|%ref.class;">
  217. <!ENTITY % eg.pcd.mix
  218.         "#PCDATA|%annot.class;|%emph.class;|%loc.class; |%ref.class;
  219.         |%ednote.class;|constraint">
  220. <!ENTITY % termdef.pcd.mix
  221.         "#PCDATA|term|%emph.class;|%ref.class;|%tech.class;
  222.         |%loc.class;|%ednote.class;">
  223. <!ENTITY % bibl.pcd.mix
  224.         "#PCDATA|%emph.class;|%ref.class;|%loc.class;|%ednote.class;">
  225. <!ENTITY % tech.pcd.mix
  226.         "#PCDATA|%loc.class;|%ednote.class;">
  227.  
  228. <!-- ............................................................... -->
  229. <!-- Entities for customizable content models ...................... -->
  230. <!-- ............................................................... -->
  231.  
  232. <!--
  233. #1998-03-10: maler: Added customization entities.
  234. #1998-05-14: maler: Allowed prevlocs and latestloc in either order.
  235. #1999-07-02: maler: Made version optional; added copyright element.
  236. -->
  237.  
  238. <!ENTITY % spec.mdl
  239.         "header, front?, body, back?">
  240.  
  241. <!ENTITY % header.mdl
  242.         "title, subtitle?, version?, w3c-designation, w3c-doctype,
  243.         pubdate, notice*, publoc, ((prevlocs, latestloc?) |
  244.         (latestloc, prevlocs?))?, authlist, copyright?, status,
  245.         abstract, pubstmt?, sourcedesc?, langusage, revisiondesc">
  246.  
  247. <!ENTITY % pubdate.mdl
  248.         "day?, month, year">
  249.  
  250. <!-- ............................................................... -->
  251. <!-- Entities for common attributes ................................ -->
  252. <!-- ............................................................... -->
  253.  
  254. <!--    key attribute:
  255.         Optionally provides a sorting or indexing key, for cases when
  256.         the element content is inappropriate for this purpose. -->
  257. <!ENTITY % key.att
  258.         'key                    CDATA           #IMPLIED'>
  259.  
  260. <!--    def attribute:
  261.         Points to the element where the relevant definition can be
  262.         found, using the IDREF mechanism.  %def.att; is for optional
  263.         def attributes, and %def-req.att; is for required def
  264.         attributes. -->
  265. <!ENTITY % def.att
  266.         'def                    IDREF           #IMPLIED'>
  267. <!ENTITY % def-req.att
  268.         'def                    IDREF           #REQUIRED'>
  269.  
  270. <!--    ref attribute:
  271.         Points to the element where more information can be found,
  272.         using the IDREF mechanism.  %ref.att; is for optional
  273.         ref attributes, and %ref-req.att; is for required ref
  274.         attributes. -->
  275. <!ENTITY % ref.att
  276.         'ref                    IDREF           #IMPLIED'>
  277. <!ENTITY % ref-req.att
  278.         'ref                    IDREF           #REQUIRED'>
  279.  
  280. <!--
  281. #1998-03-23: maler: Added show and actuate attributes to href.
  282. #                   Added semi-common xml:space attribute.
  283. #1998-08-22: maler: Used new xlink:form and #IMPLIED features.
  284. #1999-07-02: maler: Reorganized XLink-related entities completely;
  285. #                   added xmlns:xlink attribute to the mix.
  286. -->
  287.  
  288. <!--    xmlns:xlink and xlink:form attributes:
  289.         xmlns:xlink declares the association of the xlink prefix
  290.         with the namespace created by the XLink specification.
  291.         xlink:form potentially identifies an element as an XLink
  292.         "simple" linking element.  When a value for href is supplied,
  293.         xlink:form should be understood to have the value "simple".
  294.         When a value for href is not supplied, xlink:form should be
  295.         understood to have the value "none". -->
  296. <!ENTITY % simple-xlink.att
  297.         'xmlns:xlink            CDATA           #FIXED
  298.                                                 "http://www.w3.org/TR/WD-xlink"
  299.         xlink:form              CDATA           #IMPLIED '>
  300.  
  301. <!--    href attributes:
  302.         The href attribute is required to have a value when xlink:form
  303.         has the (implicit or explicit) value "simple".  Some elements
  304.         are links only if the authors chooses to make them so. -->
  305. <!ENTITY % href.att
  306.         'href                   CDATA           #IMPLIED '>
  307. <!ENTITY % href-req.att
  308.         'href                    CDATA           #REQUIRED '>
  309.  
  310. <!--    show and actuate attributes:
  311.         These attributes offer hints to the display engine about how to
  312.         handle traversal to a link end indicated by an href locator.  The
  313.         auto-embed combination should have the effect of an HTML IMG SRC=.
  314.         The user-replace combination should have the effect of an HTML
  315.         A HREF=.  The user-new combination should have the effect of an
  316.         HTML A HREF= TARGET=NEW.
  317.         -->
  318. <!ENTITY % auto-embed.att
  319.         'show                   CDATA           #FIXED "embed"
  320.         actuate                 CDATA           #FIXED "auto" '>
  321. <!ENTITY % user-replace.att
  322.         'show                   CDATA           #FIXED "replace"
  323.         actuate                 CDATA           #FIXED "user" '>
  324. <!ENTITY % user-new.att
  325.         'show                   CDATA           #FIXED "new"
  326.         actuate                 CDATA           #FIXED "user" '>
  327.  
  328. <!--    xml:space attribute:
  329.         Indicates that the element contains white space
  330.         that the formatter or other application should retain,
  331.         as appropriate to its function. -->
  332. <!ENTITY % xmlspace.att
  333.         'xml:space              (default
  334.                                 |preserve)      #FIXED "preserve" '>
  335.  
  336. <!--    Common attributes:
  337.         Every element has an ID attribute (sometimes required,
  338.         but usually optional) for links, and a Role attribute
  339.         for extending the useful life of the DTD by allowing
  340.         authors to make subclasses for any element. %common.att;
  341.         is for common attributes where the ID is optional, and
  342.         %common-idreq.att; is for common attributes where the
  343.         ID is required. -->
  344. <!ENTITY % common.att
  345.         'id                     ID              #IMPLIED
  346.         role                    NMTOKEN         #IMPLIED'>
  347. <!ENTITY % common-idreq.att
  348.         'id                     ID              #REQUIRED
  349.         role                    NMTOKEN         #IMPLIED'>
  350.  
  351. <!-- ............................................................... -->
  352. <!-- Common elements ............................................... -->
  353. <!-- ............................................................... -->
  354.  
  355. <!--    head: Title on divisions, productions, and the like -->
  356. <!ELEMENT head (%head.pcd.mix;)*>
  357. <!ATTLIST head %common.att;>
  358.  
  359. <!-- ............................................................... -->
  360. <!-- Major specification structure ................................. -->
  361. <!-- ............................................................... -->
  362.  
  363. <!--
  364. #1998-03-10: maler: Made spec content model easily customizable.
  365. #1999-07-02: maler: Added doctype atts and status att.
  366. -->
  367.  
  368. <!ELEMENT spec (%spec.mdl;)>
  369. <!--    doctype attributes:
  370.         Indicates the type of document, so that the appropriate
  371.         stylesheet or workflow routing can be applied.  Should
  372.         *not* generate any text (such as the "REC-" or "NOTE-"
  373.         prefix on the W3C designation content).  No default.  If
  374.         w3c-doctype is "other", other-doctype should be filled in.
  375.         status attribute:
  376.         Indicates the stage of review of the document.  May affect
  377.         the stylesheet's treatment of ednotes (e.g., whether to
  378.         output them).  No default. -->
  379.  
  380. <!ATTLIST spec
  381.         %common.att;
  382.         w3c-doctype     (rec
  383.                         |pr
  384.                         |wd
  385.                         |note
  386.                         |other)                 #IMPLIED
  387.         other-doctype   CDATA                   #IMPLIED
  388.         status          (int-review
  389.                         |ext-review
  390.                         |final)                 #IMPLIED
  391. >
  392.  
  393. <!ELEMENT front (div1+)>
  394. <!ATTLIST front %common.att;>
  395.  
  396. <!ELEMENT body (div1+)>
  397. <!ATTLIST body %common.att;>
  398.  
  399. <!--
  400. #1997-09-30: maler: Added inform-div1 to back content.
  401. -->
  402.  
  403. <!ELEMENT back ((div1+, inform-div1*) | inform-div1+)>
  404. <!ATTLIST back %common.att;>
  405.  
  406. <!ELEMENT div1 (head, (%div.mix;)*, div2*)>
  407. <!ATTLIST div1 %common.att;>
  408.  
  409. <!--
  410. #1997-09-30: maler: Added inform-div1 declarations.
  411. -->
  412.  
  413. <!--    inform-div1: Non-normative division in back matter -->
  414. <!ELEMENT inform-div1 (head, (%div.mix;)*, div2*)>
  415. <!ATTLIST inform-div1 %common.att;>
  416.  
  417. <!ELEMENT div2 (head, (%div.mix;)*, div3*)>
  418. <!ATTLIST div2 %common.att;>
  419.  
  420. <!ELEMENT div3 (head, (%div.mix;)*, (div4|MMLdefinition)*)>
  421. <!ATTLIST div3 %common.att;>
  422.  
  423. <!--
  424. #1999-10-03: Nico Poppelier: Added div5.
  425. -->
  426.  
  427. <!ELEMENT div4 (head, (%div.mix;)*, div5*)>
  428. <!ATTLIST div4 %common.att;>
  429.  
  430. <!ELEMENT div5 (head, (%div.mix;)*)>
  431. <!ATTLIST div5 %common.att;>
  432.  
  433. <!-- dpc added MMLdefinition -->
  434.  
  435. <!ELEMENT MMLdefinition (name, description, classification,
  436.    MMLattribute*, (signature | property | example)*)>
  437. <!ATTLIST MMLdefinition %common.att;>
  438. <!ELEMENT  description (p)*>
  439. <!ELEMENT  signature (#PCDATA)>
  440. <!ELEMENT  classification (#PCDATA)>
  441. <!ELEMENT  property (#PCDATA|description)*>
  442. <!ELEMENT  example (#PCDATA|description)*>
  443. <!ELEMENT  MMLattribute (attname,attvalue,attdefault)>
  444. <!ELEMENT attname  (#PCDATA)>
  445. <!ELEMENT attvalue  (#PCDATA)>
  446. <!ELEMENT attdefault  (#PCDATA)>
  447.  
  448.  
  449. <!-- ............................................................... -->
  450. <!-- Specification header .......................................... -->
  451. <!-- ............................................................... -->
  452.  
  453. <!--
  454. #1998-03-10: maler: Made header content model easily customizable.
  455. -->
  456.  
  457. <!ELEMENT header (%header.mdl;)>
  458. <!ATTLIST header %common.att;>
  459.  
  460. <!--    Example of title: "Extensible Cheese Language (XCL)" -->
  461. <!ELEMENT title (#PCDATA)>
  462. <!ATTLIST title %common.att;>
  463.  
  464. <!--    Example of subtitle: "A Cheesy Specification" -->
  465. <!ELEMENT subtitle (#PCDATA)>
  466. <!ATTLIST subtitle %common.att;>
  467.  
  468. <!--    Example of version: "Version 666.0" -->
  469. <!ELEMENT version (#PCDATA)>
  470. <!ATTLIST version %common.att;>
  471.  
  472. <!--    Example of w3c-designation: "WD-xcl-19991231" -->
  473. <!ELEMENT w3c-designation (#PCDATA)>
  474. <!ATTLIST w3c-designation %common.att;>
  475.  
  476. <!--    Example of w3c-doctype: "World Wide Web Consortium Working
  477.         Draft" -->
  478. <!ELEMENT w3c-doctype (#PCDATA)>
  479. <!ATTLIST w3c-doctype %common.att;>
  480.  
  481. <!--
  482. #1998-03-10: maler: Made pubdate content model easily customizable.
  483. -->
  484.  
  485. <!ELEMENT pubdate (%pubdate.mdl;)>
  486. <!ATTLIST pubdate %common.att;>
  487.  
  488. <!ELEMENT day (#PCDATA)>
  489. <!ATTLIST day %common.att;>
  490.  
  491. <!ELEMENT month (#PCDATA)>
  492. <!ATTLIST month %common.att;>
  493.  
  494. <!ELEMENT year (#PCDATA)>
  495. <!ATTLIST year %common.att;>
  496.  
  497. <!--
  498. #1999-07-02: maler: Declared copyright element.
  499. -->
  500.  
  501. <!ELEMENT copyright (%hdr.mix;)+>
  502. <!ATTLIST copyright %common.att;>
  503.  
  504. <!--    Example of notice: "This draft is for public comment..." -->
  505. <!ELEMENT notice (%hdr.mix;)+>
  506. <!ATTLIST notice %common.att;>
  507.  
  508. <!ELEMENT publoc (loc+)>
  509. <!ATTLIST publoc %common.att;>
  510.  
  511. <!ELEMENT prevlocs (loc+)>
  512. <!ATTLIST prevlocs %common.att;>
  513.  
  514. <!ELEMENT latestloc (loc+)>
  515. <!ATTLIST latestloc %common.att;>
  516.  
  517. <!--      loc (defined in "Phrase-level elements" below) -->
  518.  
  519. <!ELEMENT authlist (author+)>
  520. <!ATTLIST authlist %common.att;>
  521.  
  522. <!--
  523. #1997-09-30: maler: Made affiliation optional.
  524. #1998-03-10: maler: Made email optional.
  525. -->
  526.  
  527. <!ELEMENT author (name, affiliation?, email?)>
  528. <!ATTLIST author %common.att;>
  529.  
  530. <!ELEMENT name (#PCDATA)>
  531. <!ATTLIST name
  532.         %common.att;
  533.         %key.att;>
  534.  
  535. <!ELEMENT affiliation (#PCDATA)>
  536. <!ATTLIST affiliation %common.att;>
  537.  
  538. <!--
  539. #1999-07-02: maler: Added show/actuate attributes and default values.
  540. -->
  541.  
  542.  
  543. <!ELEMENT email (#PCDATA)>
  544. <!--    href attribute:
  545.         email functions as a hypertext reference through this
  546.         required attribute.  Typically the reference would use
  547.         the mailto: scheme.  E.g.:
  548.  
  549. <email href="mailto:elm@arbortext.com">elm@arbortext.com</email>
  550.         -->
  551.  
  552. <!ATTLIST email
  553.         %common.att;
  554.         %simple-xlink.att;
  555.         %href-req.att;
  556.         %user-new.att;>
  557.  
  558. <!--
  559. #1998-05-15: maler: Changed status content from %statusobj.mix;
  560. #                   to plain %obj.mix;.  statusp is obsolete.
  561. -->
  562.  
  563. <!ELEMENT status (%obj.mix;)+>
  564. <!ATTLIST status %common.att;>
  565.  
  566. <!ELEMENT abstract (%hdr.mix;)*>
  567. <!ATTLIST abstract %common.att;>
  568.  
  569. <!ELEMENT pubstmt (%hdr.mix;)+>
  570. <!ATTLIST pubstmt %common.att;>
  571.  
  572. <!ELEMENT sourcedesc (%hdr.mix;)+>
  573. <!ATTLIST sourcedesc %common.att;>
  574.  
  575. <!ELEMENT langusage (language+)>
  576. <!ATTLIST langusage %common.att;>
  577.  
  578. <!ELEMENT language (#PCDATA)>
  579. <!ATTLIST language %common.att;>
  580.  
  581. <!ELEMENT revisiondesc (%hdr.mix;)+>
  582. <!ATTLIST revisiondesc %common.att;>
  583.  
  584. <!-- ............................................................... -->
  585. <!-- Paragraph ..................................................... -->
  586. <!-- ............................................................... -->
  587.  
  588. <!--
  589. #1997-09-30: maler: Changed from %obj.mix; to %p.mix;.
  590. #1997-12-29: maler: Changed order of %p.mix; and %p.pcd.mix;
  591. #                   references.
  592. #1997-12-29: maler: Changed order of %statusobj.mix; and
  593. #                   %statusp.pcd.mix; references.
  594. #1998-05-14: maler: Removed statusp declarations.
  595. -->
  596.  
  597. <!ELEMENT p (%p.pcd.mix;|%p.mix;)*>
  598. <!ATTLIST p %common.att;>
  599.  
  600. <!-- ............................................................... -->
  601. <!-- Regular lists ................................................. -->
  602. <!-- ............................................................... -->
  603.  
  604. <!--    ulist: Unordered list, typically bulleted. -->
  605. <!ELEMENT ulist (item+)>
  606. <!--    spacing attribute:
  607.         Use "normal" to get normal vertical spacing for items;
  608.         use "compact" to get less spacing.  The default is dependent
  609.         on the stylesheet. -->
  610. <!ATTLIST ulist
  611.         %common.att;
  612.         spacing         (normal|compact)        #IMPLIED>
  613.  
  614. <!--    olist: Ordered list, typically numbered. -->
  615. <!ELEMENT olist (item+)>
  616. <!--    spacing attribute:
  617.         Use "normal" to get normal vertical spacing for items;
  618.         use "compact" to get less spacing.  The default is dependent
  619.         on the stylesheet. -->
  620. <!ATTLIST olist
  621.         %common.att;
  622.         spacing         (normal|compact)        #IMPLIED>
  623.  
  624. <!ELEMENT item (%obj.mix;)+>
  625. <!ATTLIST item %common.att;>
  626.  
  627. <!--    slist: Simple list, typically with no mark. -->
  628. <!ELEMENT slist (sitem+)>
  629. <!ATTLIST slist %common.att;>
  630.  
  631. <!ELEMENT sitem (%p.pcd.mix;)*>
  632. <!ATTLIST sitem %common.att;>
  633.  
  634. <!--    glist: Glossary list, typically two-column. -->
  635. <!ELEMENT glist (gitem+)>
  636. <!ATTLIST glist %common.att;>
  637.  
  638. <!ELEMENT gitem (label, def)>
  639. <!ATTLIST gitem %common.att;>
  640.  
  641. <!ELEMENT label (%label.pcd.mix;)*>
  642. <!ATTLIST label %common.att;>
  643.  
  644. <!ELEMENT def (%obj.mix;)*>
  645. <!ATTLIST def %common.att;>
  646.  
  647. <!-- ............................................................... -->
  648. <!-- Special lists ................................................. -->
  649. <!-- ............................................................... -->
  650.  
  651. <!--    blist: Bibliography list. -->
  652. <!ELEMENT blist (bibl+)>
  653. <!ATTLIST blist %common.att;>
  654.  
  655. <!--
  656. #1999-07-02: maler: Added show/actuate attributes and default values.
  657. -->
  658.  
  659. <!ELEMENT bibl (%bibl.pcd.mix;)*>
  660. <!--    href attribute:
  661.         bibl optionally functions as a hypertext reference to the
  662.         referred-to resource through this attribute.  E.g.:
  663.  
  664.         <bibl href="http://www.my.com/doc.htm">My Document</bibl>
  665.         -->
  666. <!ATTLIST bibl
  667.         %common.att;
  668.         %simple-xlink.att;
  669.         %href.att;
  670.         %user-replace.att;
  671.         %key.att;>
  672.  
  673. <!--    orglist: Organization member list. -->
  674. <!ELEMENT orglist (member+)>
  675. <!ATTLIST orglist %common.att;>
  676.  
  677. <!--
  678. #1997-09-30: maler: Added optional affiliation.
  679. -->
  680.  
  681. <!ELEMENT member (name, affiliation?, role?)>
  682. <!ATTLIST member %common.att;>
  683.  
  684. <!--      name (defined in "Specification header" above) -->
  685. <!--      affiliation (defined in "Specification header" above) -->
  686.  
  687. <!ELEMENT role (#PCDATA)>
  688. <!ATTLIST role %common.att;>
  689.  
  690. <!-- ............................................................... -->
  691. <!-- Notes ......................................................... -->
  692. <!-- ............................................................... -->
  693.  
  694. <!ELEMENT note (%obj.mix;)+>
  695. <!ATTLIST note %common.att;>
  696.  
  697. <!--
  698. #1998-05-14: maler: Declared issue element.
  699. #1999-11-02: wood: added resolution element to issue element.
  700. -->
  701.  
  702. <!ELEMENT issue ((%obj.mix;)+,resolution?)>
  703. <!ATTLIST issue %common-idreq.att;>
  704.  
  705. <!ELEMENT resolution (%obj.mix;)+>
  706. <!ATTLIST resolution %common.att;>
  707.  
  708. <!--    wfcnote: Well-formedness constraint note. -->
  709. <!ELEMENT wfcnote (head, (%obj.mix;)+)>
  710. <!--    ID attribute:
  711.         wfcnote must have an ID so that it can be pointed to
  712.         from a wfc element in a production. -->
  713. <!ATTLIST wfcnote
  714.         %common-idreq.att;>
  715.  
  716. <!--    vcnote: Validity constraint note. -->
  717. <!ELEMENT vcnote (head, (%obj.mix;)+)>
  718. <!--    ID attribute:
  719.         vcnote must have an ID so that it can be pointed to
  720.         from a vc element in a production. -->
  721. <!ATTLIST vcnote
  722.         %common-idreq.att;>
  723.  
  724. <!--
  725. #1998-05-21: maler: Declared generic constraintnote element.
  726. -->
  727.  
  728. <!--    constraintnote: Generic constraint note. -->
  729. <!ELEMENT constraintnote (head, (%obj.mix;)+)>
  730. <!--    ID attribute:
  731.         constraintnote must have an ID so that it can be
  732.         pointed to from a constraint element in a production. -->
  733. <!--    type attribute:
  734.         constraintnote must have a type value keyword so that
  735.         it can be correctly characterized in the specification. -->
  736. <!ATTLIST constraintnote
  737.         %common-idreq.att;
  738.         type            NMTOKEN         #REQUIRED>
  739.  
  740. <!-- ............................................................... -->
  741. <!-- Basic display elements ........................................ -->
  742. <!-- ............................................................... -->
  743.  
  744. <!--
  745. #1998-03-23: maler: Added xml:space attribute.
  746. -->
  747.  
  748. <!--    eg: Example element, with whitespace respected. -->
  749. <!ELEMENT eg (%eg.pcd.mix;)*>
  750. <!ATTLIST eg
  751.         %common.att;
  752.         %xmlspace.att;>
  753.  
  754. <!--    graphic: Displayed graphic.  Graphic data should be
  755.         displayed at the point where it is referenced. -->
  756. <!ELEMENT graphic EMPTY>
  757. <!--    source attribute:
  758.         The graphic data must reside at the location pointed to.
  759.         This is a hypertext reference, but for practical purposes,
  760.         for now it should just be a pathname. -->
  761. <!--
  762. #1999-11-03: Nico Poppelier: Added valign attribute, moved parameter entity definition.
  763. -->
  764. <!ENTITY % cellvalign.att
  765.         'valign         (top|middle
  766.                         |bottom
  767.                         |baseline)      #IMPLIED'>
  768. <!ATTLIST graphic
  769.         %common.att;
  770.         %simple-xlink.att;
  771.         xml:attributes          NMTOKENS        #FIXED "href source"
  772.         source                  CDATA           #REQUIRED
  773.         %auto-embed.att;
  774.         %cellvalign.att;
  775.         alt                     CDATA           #IMPLIED>
  776.  
  777. <!-- ............................................................... -->
  778. <!-- EBNF .......................................................... -->
  779. <!-- ............................................................... -->
  780.  
  781. <!--
  782. #1997-11-28: maler: Added prodgroup to scrap and defined it.
  783. #1998-05-21: maler: Added constraint to prod.
  784. #1999-07-02: maler: Added prodrecap to scrap; broadened scrap model.
  785. #                   Added headstyle attribute to scrap.
  786. -->
  787.  
  788. <!--    scrap: Collection of EBNF language productions. -->
  789. <!ELEMENT scrap (head, (prodgroup | prod | bnf | prodrecap)+)>
  790. <!--    lang attribute:
  791.         The scrap can link to a description of the language used,
  792.         found in a language element in the header.
  793.         headstyle attribute:
  794.         Allows a scrap title to be suppressed from output.  To be
  795.         used only when a scrap title directly next to a section
  796.         title is distracting or repetetive. -->
  797. <!ATTLIST scrap
  798.         %common.att;
  799.         lang            IDREF           #IMPLIED
  800.         headstyle       (show|suppress) "show"
  801. >
  802.  
  803. <!--    prodgroup: Sub-collection of productions, needed for
  804.         formatting reasons. -->
  805. <!ELEMENT prodgroup (prod+)>
  806. <!--    pcw<n> attributes:
  807.         Presentational attributes to control the width
  808.         of the "pseudo-table" columns used to output
  809.         groups of productions. -->
  810. <!ATTLIST prodgroup
  811.         %common.att;
  812.         pcw1            CDATA           #IMPLIED
  813.         pcw2            CDATA           #IMPLIED
  814.         pcw3            CDATA           #IMPLIED
  815.         pcw4            CDATA           #IMPLIED
  816.         pcw5            CDATA           #IMPLIED
  817. >
  818.  
  819. <!--    prod: EBNF language production. -->
  820. <!ELEMENT prod (lhs, (rhs, (com|wfc|vc|constraint)*)+)>
  821. <!--    ID attribute:
  822.         The production must have an ID so that cross-references
  823.         (specref) and mentions of nonterminals (nt) can link to
  824.         it. -->
  825. <!ATTLIST prod
  826.         %common-idreq.att;>
  827.  
  828. <!--    lhs: Left-hand side of production. -->
  829. <!ELEMENT lhs (#PCDATA)>
  830. <!ATTLIST lhs %common.att;>
  831.  
  832. <!--    rhs: Right-hand side of production; may have many
  833.         "right-hand sides," one to a line. -->
  834. <!ELEMENT rhs (#PCDATA|nt|xnt|com)*>
  835. <!ATTLIST rhs %common.att;>
  836.  
  837. <!--      nt and xnt (defined in "Phrase-level elements" below) -->
  838.  
  839. <!--
  840. #1997-11-28: maler: Added loc and bibref to com content.
  841. -->
  842.  
  843. <!--    com: Production comment. -->
  844. <!ELEMENT com (#PCDATA|loc|bibref)*>
  845. <!ATTLIST com %common.att;>
  846.  
  847. <!--    wfc: Reference to a well-formedness constraint; should
  848.         generate the head of the wfcnote pointed to. -->
  849. <!ELEMENT wfc EMPTY>
  850. <!--    def attribute:
  851.         Each well formedness tagline in a production must link to the
  852.         wfcnote that defines it. -->
  853. <!ATTLIST wfc
  854.         %def-req.att;
  855.         %common.att;>
  856.  
  857. <!--    vc: Reference to a validity constraint; should generate
  858.         the head of the vcnote pointed to. -->
  859. <!ELEMENT vc EMPTY>
  860. <!--    def attribute:
  861.         Each validity tagline in a production must link to the vcnote
  862.         that defines it. -->
  863. <!ATTLIST vc
  864.         %def-req.att;
  865.         %common.att;>
  866.  
  867. <!--
  868. #1998-05-21: maler: Declared generic constraint element.
  869. -->
  870.  
  871. <!--    constraint: Reference to a generic constraint; should
  872.         generate the head of the constraintnote pointed to. -->
  873. <!ELEMENT constraint EMPTY>
  874. <!--    def attribute:
  875.         Each constraint tagline in a production must link to the
  876.         constraint note that defines it. -->
  877. <!ATTLIST constraint
  878.         %def-req.att;
  879.         %common.att;>
  880.  
  881. <!--
  882. #1998-03-23: maler: Added xml:space attribute.
  883. -->
  884.  
  885. <!--    bnf: Un-marked-up EBNF production, with whitespace
  886.         respected. -->
  887. <!ELEMENT bnf (%eg.pcd.mix;)*>
  888. <!ATTLIST bnf
  889.         %common.att;
  890.         %xmlspace.att;>
  891.  
  892. <!--
  893. #1999-07-02: maler: Declared prodrecap.
  894. -->
  895.  
  896. <!--    prodrecap: Reference to production or bnf that appears
  897.         in its "normative" form elsewhere in the spec; should
  898.         generate a copy of the original production, without
  899.         a production number next to it. -->
  900. <!ELEMENT prodrecap EMPTY>
  901. <!ATTLIST prodrecap
  902.         %common.att;
  903.         %ref-req.att;>
  904.  
  905. <!-- ............................................................... -->
  906. <!-- Table ......................................................... -->
  907. <!-- ............................................................... -->
  908.  
  909. <!--
  910. #1997-10-16: maler: Added table mechanism.
  911. #1997-11-28: maler: Added non-null system ID to entity declaration.
  912. #                   Added HTML table module.
  913. #1997-12-29: maler: IGNOREd SGML Open table model.
  914. #1998-03-10: maler: Removed SGML Open table model.
  915. #                   Merged html-tbl.mod file into main file.
  916. #                   Added %common.att; to all HTML table elements.
  917. #1998-05-14: maler: Replaced table model with full HTML 4.0 model.
  918. #                   Removed htable in favor of table.
  919. #                   Removed htbody in favor of tbody.
  920. -->
  921.  
  922. <!ENTITY % cellhalign.att
  923.         'align          (left|center
  924.                         |right|justify
  925.                         |char)          #IMPLIED
  926.         char            CDATA           #IMPLIED
  927.         charoff         CDATA           #IMPLIED'>
  928.  
  929. <!ENTITY % thtd.att
  930.         'abbr           CDATA           #IMPLIED
  931.         axis            CDATA           #IMPLIED
  932.         headers         IDREFS          #IMPLIED
  933.         scope           (row
  934.                         |col
  935.                         |rowgroup
  936.                         |colgroup)      #IMPLIED
  937.         rowspan         NMTOKEN         "1"
  938.         colspan         NMTOKEN         "1"'>
  939.  
  940. <!ENTITY % width.att
  941.         'width          CDATA           #IMPLIED'>
  942.  
  943. <!ENTITY % span.att
  944.         'span           NMTOKEN         "1"'>
  945.  
  946. <!--    table: HTML-based geometric table model. -->
  947. <!ELEMENT table
  948.         (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)>
  949. <!ATTLIST table
  950.         %common.att;
  951.         %width.att;
  952.         summary         CDATA           #IMPLIED
  953.         border          CDATA           #IMPLIED
  954.         frame           (void|above
  955.                         |below|hsides
  956.                         |lhs|rhs
  957.                         |vsides|box
  958.                         |border)        #IMPLIED
  959.         rules           (none|groups
  960.                         |rows|cols
  961.                         |all)           #IMPLIED
  962.         cellspacing     CDATA           #IMPLIED
  963.         cellpadding     CDATA           #IMPLIED>
  964.  
  965. <!ELEMENT caption (%p.pcd.mix;)*>
  966. <!ATTLIST caption %common.att;>
  967.  
  968. <!ELEMENT col EMPTY>
  969. <!ATTLIST col
  970.         %common.att;
  971.         %span.att;
  972.         %width.att;
  973.         %cellhalign.att;
  974.         %cellvalign.att;>
  975.  
  976. <!ELEMENT colgroup (col)*>
  977. <!ATTLIST colgroup
  978.         %common.att;
  979.         %span.att;
  980.         %width.att;
  981.         %cellhalign.att;
  982.         %cellvalign.att;>
  983.  
  984. <!ELEMENT thead (tr)+>
  985. <!ATTLIST thead
  986.         %common.att;
  987.         %cellhalign.att;
  988.         %cellvalign.att;>
  989.  
  990. <!ELEMENT tfoot (tr)+>
  991. <!ATTLIST tfoot
  992.         %common.att;
  993.         %cellhalign.att;
  994.         %cellvalign.att;>
  995.  
  996. <!ELEMENT tbody (tr)+>
  997. <!ATTLIST tbody
  998.         %common.att;
  999.         %cellhalign.att;
  1000.         %cellvalign.att;>
  1001.  
  1002. <!ELEMENT tr (th|td)+>
  1003. <!ATTLIST tr
  1004.         %common.att;
  1005.         %cellhalign.att;
  1006.         %cellvalign.att;>
  1007.  
  1008. <!ELEMENT th (%p.pcd.mix;|%p.mix;)*>
  1009. <!ATTLIST th
  1010.         %common.att;
  1011.         %thtd.att;
  1012.         %cellhalign.att;
  1013.         %cellvalign.att;>
  1014.  
  1015. <!ELEMENT td (%p.pcd.mix;|%p.mix;)*>
  1016. <!ATTLIST td
  1017.         %common.att;
  1018.         %thtd.att;
  1019.         %cellhalign.att;
  1020.         %cellvalign.att;>
  1021.  
  1022. <!-- ............................................................... -->
  1023. <!-- IDL structures for DOM specifications ......................... -->
  1024. <!-- ............................................................... -->
  1025.  
  1026. <!-- ............................................................... -->
  1027. <!-- Specialized entities for classes .............................. -->
  1028.  
  1029. <!ENTITY % idl-desc.class
  1030.         "p|note">
  1031.  
  1032. <!ENTITY % idl-tdef.class
  1033.         "typedef|constant|exception|reference|group">
  1034.  
  1035. <!ENTITY % idl-mod.class
  1036.         "module|interface">
  1037.  
  1038. <!ENTITY % idl-struct.class
  1039.         "struct|enum|sequence|union|typename">
  1040.  
  1041. <!ENTITY % idl-meth.class
  1042.         "method|attribute">
  1043.  
  1044. <!-- ............................................................... -->
  1045. <!-- Specialized entities for mixtures ............................. -->
  1046.  
  1047. <!--    Quick reference to content model mixtures:
  1048.  
  1049.                         desc tdef mod struct meth
  1050. group                     x    x   x    x      x
  1051. definitions, module       x    x   x
  1052. interface                 x    x               x
  1053. typedef, case, component                x
  1054. -->
  1055.  
  1056. <!ENTITY % idl-grp.mix
  1057.         "%idl-desc.class;|%idl-tdef.class;|%idl-mod.class;
  1058.         |%idl-struct.class;|%idl-meth.class;">
  1059.  
  1060. <!ENTITY % idl-defn.mix
  1061.         "%idl-desc.class;|%idl-tdef.class;|%idl-mod.class;">
  1062.  
  1063. <!ENTITY % idl-intfc.mix
  1064.         "%idl-desc.class;|%idl-tdef.class;|%idl-meth.class;">
  1065.  
  1066. <!ENTITY % idl-type.mix
  1067.         "%idl-struct.class;">
  1068.  
  1069. <!-- ............................................................... -->
  1070. <!-- Specialized entities for common attributes .................... -->
  1071.  
  1072. <!--    name attribute:
  1073.         Provides a name.  Required. -->
  1074. <!ENTITY % idl-name.att
  1075.         'name                   CDATA           #REQUIRED'>
  1076.  
  1077. <!--    type attribute:
  1078.         Provides a type.  Required. -->
  1079. <!ENTITY % idl-type.att
  1080.         'type                   CDATA           #REQUIRED'>
  1081.  
  1082. <!--    since attribute:
  1083.         Provides the version in which the element was introduced. -->
  1084. <!ENTITY % idl-since.att
  1085.         'since                  CDATA           #IMPLIED'>
  1086.  
  1087. <!--    version attribute:
  1088.         Provides the version in which the element was modified. -->
  1089. <!ENTITY % idl-version.att
  1090.         'version                CDATA           #IMPLIED'>
  1091.  
  1092. <!-- ............................................................... -->
  1093. <!-- Common IDL element ............................................ -->
  1094.  
  1095. <!ELEMENT descr ((%obj.mix;)*)>
  1096. <!ATTLIST descr %common.att;>
  1097.  
  1098. <!-- ............................................................... -->
  1099. <!-- IDL definition elements ....................................... -->
  1100.  
  1101. <!--    definitions: Top-level element for definitions. -->
  1102. <!ELEMENT definitions (%idl-defn.mix;)+>
  1103. <!ATTLIST definitions %common.att;>
  1104.  
  1105. <!--    group: Element used to group a set of definitions. -->
  1106.  
  1107. <!ELEMENT group (descr, (%idl-grp.mix;)*)>
  1108. <!ATTLIST group
  1109.         %common.att;
  1110.         %idl-name.att;
  1111.         %idl-since.att;
  1112.         %idl-version.att;>
  1113.  
  1114. <!--    interface: Definition of an interface. -->
  1115. <!ELEMENT interface (descr, (%idl-intfc.mix;)*)>
  1116. <!ATTLIST interface
  1117.         %common.att;
  1118.         %idl-name.att;
  1119.         %idl-since.att;
  1120.         %idl-version.att;
  1121.         inherits        CDATA           #IMPLIED>
  1122.  
  1123. <!--    module: Definition of a module. -->
  1124. <!ELEMENT module (descr, (%idl-defn.mix;)*)>
  1125. <!ATTLIST module
  1126.         %common.att;
  1127.         %idl-name.att;
  1128.         %idl-since.att;
  1129.         %idl-version.att;>
  1130.  
  1131. <!--    reference: Reference to some other declaration. -->
  1132. <!ELEMENT reference EMPTY>
  1133. <!ATTLIST reference
  1134.         %common.att;
  1135.         declaration     IDREF           #REQUIRED>
  1136.  
  1137. <!--    typedef: Definition of a named type. -->
  1138. <!ELEMENT typedef (descr, (%idl-type.mix;))>
  1139. <!ATTLIST typedef
  1140.         %common.att;
  1141.         %idl-name.att;
  1142.         %idl-since.att;
  1143.         %idl-version.att;
  1144.         array.size      NMTOKEN         #IMPLIED>
  1145.  
  1146. <!--    struct: Declaration of a struct type. -->
  1147. <!ELEMENT struct (descr, component+)>
  1148. <!ATTLIST struct
  1149.         %common.att;
  1150.         %idl-name.att;
  1151.         %idl-since.att;
  1152.         %idl-version.att;>
  1153.  
  1154. <!--    component: Declaration of a structural member. -->
  1155. <!ELEMENT component (%idl-type.mix;)>
  1156. <!ATTLIST component
  1157.         %common.att;
  1158.         %idl-name.att;
  1159.         %idl-since.att;
  1160.         %idl-version.att;>
  1161.  
  1162. <!--    union: Declaration of a union type. -->
  1163. <!ELEMENT union (descr, case+)>
  1164. <!ATTLIST union
  1165.         %common.att;
  1166.         %idl-name.att;
  1167.         %idl-since.att;
  1168.         %idl-version.att;
  1169.         switch.type     CDATA           #REQUIRED>
  1170.  
  1171. <!ELEMENT case (descr, (%idl-type.mix;))>
  1172. <!ATTLIST case
  1173.         %common.att;
  1174.         %idl-since.att;
  1175.         %idl-version.att;
  1176.         labels          CDATA           #REQUIRED>
  1177.  
  1178. <!--    enum: Declaration of an enum type. -->
  1179. <!ELEMENT enum (descr, enumerator+)>
  1180. <!ATTLIST enum
  1181.         %common.att;
  1182.         %idl-name.att;>
  1183.  
  1184. <!ELEMENT enumerator (descr)>
  1185. <!ATTLIST enumerator
  1186.         %common.att;
  1187.         %idl-name.att;
  1188.         %idl-since.att;>
  1189.  
  1190. <!--    sequence: Declaration of a sequence type (not named). -->
  1191. <!ELEMENT sequence (sequence*)>
  1192. <!ATTLIST sequence
  1193.         %common.att;
  1194.         %idl-type.att;
  1195.         %idl-since.att;
  1196.         %idl-version.att;
  1197.         size            NMTOKEN         #IMPLIED>
  1198.  
  1199. <!--    constant: Declaration of a named constant. -->
  1200. <!ELEMENT constant (descr)>
  1201. <!ATTLIST constant
  1202.         %common.att;
  1203.         %idl-name.att;
  1204.         %idl-type.att;
  1205.         %idl-since.att;
  1206.         %idl-version.att;
  1207.         value           CDATA           #REQUIRED>
  1208.  
  1209. <!--    exception: Declaration of an exception. -->
  1210. <!ELEMENT exception (descr, component*)>
  1211. <!ATTLIST exception
  1212.         %common.att;
  1213.         %idl-name.att;
  1214.         %idl-since.att;
  1215.         %idl-version.att;>
  1216. <!-- component (defined under struct, above)-->
  1217.  
  1218. <!--    attribute: Declaration of an attribute (data member) -->
  1219. <!ELEMENT attribute (descr, setraises?, getraises?)>
  1220. <!ATTLIST attribute
  1221.         %common.att;
  1222.         %idl-name.att;
  1223.         %idl-type.att;
  1224.         %idl-since.att;
  1225.         %idl-version.att;
  1226.         readonly        (yes
  1227.                         |no)            "no">
  1228. <!ELEMENT setraises (exception*)>
  1229. <!ELEMENT getraises (exception*)>
  1230.  
  1231. <!--    method: Declaration of a method. -->
  1232. <!ELEMENT method (descr, parameters, returns, raises)>
  1233. <!ATTLIST method
  1234.         %common.att;
  1235.         %idl-name.att;
  1236.         %idl-since.att;
  1237.         %idl-version.att;>
  1238.  
  1239. <!ELEMENT parameters (param*)>
  1240. <!ATTLIST parameters %common.att;>
  1241.  
  1242. <!ELEMENT param (descr)>
  1243. <!ATTLIST param
  1244.         %common.att;
  1245.         %idl-name.att;
  1246.         %idl-type.att;
  1247.         attr            (in
  1248.                         |out
  1249.                         |inout)         "inout">
  1250.  
  1251. <!ELEMENT returns (descr)>
  1252. <!ATTLIST returns
  1253.         %common.att;
  1254.         %idl-type.att;>
  1255.  
  1256. <!ELEMENT raises (exception*)>
  1257. <!-- exception (defined under constant, above)-->
  1258.  
  1259. <!ELEMENT typename (#PCDATA)>
  1260. <!ATTLIST typename %common.att;
  1261.         %idl-since.att;
  1262.         %idl-version.att;>
  1263.  
  1264. <!-- ............................................................... -->
  1265. <!-- Phrase-level elements ......................................... -->
  1266. <!-- ............................................................... -->
  1267.  
  1268. <!--    bibref: Reference to a bibliography list entry; should
  1269.         generate, in square brackets, "key" on bibl. -->
  1270. <!ELEMENT bibref EMPTY>
  1271. <!--    ref attribute:
  1272.         A bibliography reference must link to the bibl element that
  1273.         describes the resource. -->
  1274. <!ATTLIST bibref
  1275.         %common.att;
  1276.         %ref-req.att;>
  1277.  
  1278. <!ELEMENT code (%tech.pcd.mix;)*>
  1279. <!ATTLIST code %common.att;>
  1280.  
  1281. <!--
  1282. #1998-03-10: maler: Declared ednote and related elements.
  1283. #1999-07-02: maler: Changed edtext content from #PCDATA to %p.pcd.mix;.
  1284. -->
  1285.  
  1286. <!--    ednote: Editorial note for communication among editors. -->
  1287. <!ELEMENT ednote (name?, date?, edtext)>
  1288. <!ATTLIST ednote %common.att;>
  1289.  
  1290. <!ELEMENT date (#PCDATA)>
  1291. <!ATTLIST date %common.att;>
  1292.  
  1293. <!ELEMENT edtext (%p.pcd.mix;)*>
  1294. <!ATTLIST edtext %common.att;>
  1295.  
  1296. <!--
  1297. #1999-11-08: Nico Poppelier: Allow emph, sup and sub inside emph.
  1298. -->
  1299.  
  1300. <!ELEMENT emph (%p.pcd.mix;)*>
  1301. <!ATTLIST emph %common.att;>
  1302.  
  1303. <!--
  1304. #1999-10-10: Nico Poppelier: Added sup, sub as in HTML.
  1305. -->
  1306.  
  1307. <!--    sup and sub as in HTML -->
  1308. <!ELEMENT sup (%p.pcd.mix;)*>
  1309. <!ELEMENT sub (%p.pcd.mix;)*>
  1310.  
  1311. <!--    mi as in MathML -->
  1312. <!ELEMENT mi (#PCDATA)>
  1313.  
  1314. <!--    footnote: Both footnote content and call to footnote. -->
  1315. <!ELEMENT footnote (%obj.mix;)+>
  1316. <!ATTLIST footnote %common.att;>
  1317.  
  1318. <!ELEMENT kw (%tech.pcd.mix;)*>
  1319. <!ATTLIST kw %common.att;>
  1320.  
  1321. <!--
  1322. #1999-07-02: maler: Added show/actuate attributes and default values.
  1323. -->
  1324.  
  1325. <!--    loc: Generic link to a Web resource, similar to HTML's A. -->
  1326. <!ELEMENT loc (#PCDATA)>
  1327. <!--    href attribute:
  1328.         The purpose of a loc element is to function as a A-like
  1329.         hypertext link to a resource.  (Ideally, the content of loc
  1330.         will also mention the URI of the resource, so that readers of
  1331.         the printed version will be able to locate the resource.) E.g.:
  1332.  
  1333. <loc href="http://www.my.com/doc.htm">http://www.my.com/doc.htm</loc>
  1334.         -->
  1335. <!ATTLIST loc
  1336.         %common.att;
  1337.         %simple-xlink.att;
  1338.         %href-req.att;
  1339.         %user-replace.att;>
  1340.  
  1341. <!--    nt: Mention of a nonterminal in text, along with a link to
  1342.         the production in the current document that defines it. -->
  1343. <!ELEMENT nt (#PCDATA)>
  1344. <!--    def attribute:
  1345.         The nonterminal must link to the production that defines
  1346.         it. -->
  1347. <!ATTLIST nt
  1348.         %common.att;
  1349.         %def-req.att;>
  1350.  
  1351. <!--
  1352. #1998-03-10: maler: Declared quote.
  1353. -->
  1354.  
  1355. <!--    quote: Scare quotes and other purely presentational quotes. -->
  1356. <!ELEMENT quote (%p.pcd.mix;)*>
  1357. <!ATTLIST quote %common.att;>
  1358.  
  1359. <!--    specref: Reference to a div, olist item, prod, or issue
  1360.         in the current document; should generate italic "[n.n],
  1361.         Section Title" for div, "n" for numbered item, "[n]" for
  1362.         production, or "Issue n" for issue. -->
  1363. <!ELEMENT specref EMPTY>
  1364. <!--    ref attribute:
  1365.         The purpose of a specref element is to link to a div, item
  1366.         in an olist, or production in the current spec. -->
  1367. <!ATTLIST specref
  1368.         %common.att;
  1369.         %ref-req.att;>
  1370.  
  1371. <!--
  1372. #2000-03-19: Nico Poppelier: Added intref, which functions the
  1373. same way as specref, but *with* content.
  1374. -->
  1375. <!--    intref: Reference to a div, olist item, prod, or issue
  1376.         in the present document. -->
  1377. <!ELEMENT intref (%p.pcd.mix;)*>
  1378. <!--    ref attribute:
  1379.         The purpose of a specref element is to link to a div, item
  1380.         in an olist, or production in the current spec. -->
  1381. <!ATTLIST intref
  1382.         %common.att;
  1383.         %ref-req.att;>
  1384.  
  1385. <!--    term: The term in text that is being defined in text. -->
  1386. <!ELEMENT term (#PCDATA)>
  1387. <!ATTLIST term %common.att;>
  1388.  
  1389. <!--    termdef: Definition of a term in text. -->
  1390. <!ELEMENT termdef (%termdef.pcd.mix;|%termdef.mix;)*>
  1391. <!--    ID attribute:
  1392.         A term definition must have an ID so that it can be linked
  1393.         to from termref elements. -->
  1394. <!--    term attribute:
  1395.         The canonical form of the term or phrase being defined must
  1396.         appear in this attribute, even if the term or phrase also
  1397.         appears in the element content in identical form (e.g., in
  1398.         the term element). -->
  1399. <!ATTLIST termdef
  1400.         %common-idreq.att;
  1401.         term            CDATA           #REQUIRED>
  1402.  
  1403. <!--    termref: Mention of a term, along with a link to the
  1404.         definition in the current document. -->
  1405. <!ELEMENT termref (#PCDATA)>
  1406. <!--    ref attribute:
  1407.         A term reference must link to the termdef element that
  1408.         defines the term. -->
  1409. <!ATTLIST termref
  1410.         %common.att;
  1411.         %def-req.att;>
  1412.  
  1413. <!--
  1414. #1999-07-02: maler: Added show/actuate attributes and default values.
  1415. -->
  1416.  
  1417. <!--    titleref: Citation of another document, which can also
  1418.         link to that document if it is a Web resource. -->
  1419. <!ELEMENT titleref (#PCDATA)>
  1420. <!--    href attribute:
  1421.         A title reference can optionally function as a hypertext
  1422.         link to the resource with this title.  E.g.:
  1423.  
  1424. <loc href="http://www.my.com/doc.htm">http://www.my.com/doc.htm</loc>
  1425.         -->
  1426.  
  1427. <!ATTLIST titleref
  1428.         %common.att;
  1429.         %simple-xlink.att;
  1430.         %href.att;
  1431.         %user-new.att;>
  1432.  
  1433. <!--
  1434. #1999-07-02: maler: Added show/actuate attributes and default values.
  1435. -->
  1436.  
  1437. <!--    nt: Mention of a nonterminal in text, along with a link to
  1438.         the production in another document that defines it. -->
  1439. <!ELEMENT xnt (#PCDATA)>
  1440. <!--    href attribute:
  1441.         The nonterminal must hyperlink to a resource that serves
  1442.         to define it (e.g., a production in a related XML
  1443.         specification).  E.g.:
  1444.  
  1445. <xnt href="http://www.w3.org/TR/spec.htm#prod3">Name</xnt>
  1446.         -->
  1447.  
  1448. <!ATTLIST xnt
  1449.         %common.att;
  1450.         %simple-xlink.att;
  1451.         %href-req.att;
  1452.         %user-new.att;>
  1453.  
  1454. <!--
  1455. #1997-12-29: maler: Declared xspecref.
  1456. #1999-07-02: maler: Added show/actuate attributes and default values.
  1457. -->
  1458.  
  1459. <!--    specref: Reference to a div, olist item, prod, or issue
  1460.         in a related specification document; should generate
  1461.         no special text. -->
  1462. <!ELEMENT xspecref (#PCDATA)>
  1463. <!--    href attribute:
  1464.         The spec reference must hyperlink to the resource to
  1465.         cross-refer to (e.g., a section in a related XML
  1466.         specification).  E.g.:
  1467.  
  1468. <xspecref href="http://www.w3.org/TR/spec.htm#sec2">
  1469. the section on constraints</xspecref>
  1470.         -->
  1471.  
  1472. <!ATTLIST xspecref
  1473.         %common.att;
  1474.         %simple-xlink.att;
  1475.         %href-req.att;
  1476.         %user-new.att;>
  1477.  
  1478. <!--
  1479. #1999-07-02: maler: Added show/actuate attributes and default values.
  1480. -->
  1481.  
  1482. <!--    termref: Mention of a term, along with a link to the
  1483.         definition in a related document. -->
  1484. <!ELEMENT xtermref (#PCDATA)>
  1485. <!--    href attribute:
  1486.         The term reference must hyperlink to the resource that
  1487.         serves to define the term (e.g., a term definition in
  1488.         a related XML specification).  E.g.:
  1489.  
  1490. <xtermref href="http://www.w3.org/TR/spec.htm#term5">
  1491. entity
  1492. </xtermref>
  1493.         -->
  1494.  
  1495. <!ATTLIST xtermref
  1496.         %common.att;
  1497.         %simple-xlink.att;
  1498.         %href-req.att;
  1499.         %user-new.att;>
  1500.  
  1501. <!-- ............................................................... -->
  1502. <!-- Unused elements for ADEPT ..................................... -->
  1503. <!-- ............................................................... -->
  1504.  
  1505. <!--
  1506. #1997-09-30: maler: Added unusued elements.
  1507. #1997-10-14: maler: Fixed div to move nested div to the mixture.
  1508. #1998-05-14: maler: Added key-term, htable, and htbody.
  1509. #1998-11-30: maler: Added para, listitem, itemizedlist, and orderedlist.
  1510. -->
  1511.  
  1512. <!--    The following elements are purposely declared but never
  1513.         referenced.  Declaring them allows them to be pasted from
  1514.         an HTML document, an earlier version of an XMLspec document,
  1515.         or a DocBook document into a document using this DTD in ADEPT.
  1516.         The ATD Context Transformation mechanism will try to convert
  1517.         them to the appropriate element for this DTD.  While this
  1518.         conversion will not work for all fragments, it does allow many
  1519.         cases to work reasonably well. -->
  1520.  
  1521. <!ELEMENT div
  1522.         (head?, (%div.mix;|ul|ol|h1|h2|h3|h4|h5|h6|div)*)>
  1523. <!ELEMENT h1 (%head.pcd.mix;|em|a)*>
  1524. <!ELEMENT h2 (%head.pcd.mix;|em|a)*>
  1525. <!ELEMENT h3 (%head.pcd.mix;|em|a)*>
  1526. <!ELEMENT h4 (%head.pcd.mix;|em|a)*>
  1527. <!ELEMENT h5 (%head.pcd.mix;|em|a)*>
  1528. <!ELEMENT h6 (%head.pcd.mix;|em|a)*>
  1529. <!ELEMENT pre (%eg.pcd.mix;|em)*>
  1530. <!ELEMENT ul (item|li)*>
  1531. <!ELEMENT ol (item|li)*>
  1532. <!ELEMENT li (#PCDATA|%obj.mix;)*>
  1533. <!ELEMENT em (#PCDATA)>
  1534. <!ELEMENT a (#PCDATA)>
  1535.  
  1536. <!ELEMENT key-term (#PCDATA)>
  1537. <!ELEMENT htable
  1538.         (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)>
  1539. <!ELEMENT htbody (tr)+>
  1540. <!ELEMENT statusp (%p.pcd.mix;|%p.mix;)*>
  1541.  
  1542. <!ELEMENT itemizedlist (listitem*)>
  1543. <!ELEMENT orderedlist (listitem*)>
  1544. <!ELEMENT listitem (para*)>
  1545. <!ELEMENT para (#PCDATA)>
  1546.  
  1547. <!-- ............................................................... -->
  1548. <!-- Change history ................................................ -->
  1549. <!-- ............................................................... -->
  1550.  
  1551. <!--
  1552. #1997-08-18: maler
  1553. #- Did a major revision.
  1554. #1997-09-10: maler
  1555. #- Updated FPI.
  1556. #- Removed namekey element and put key attribute on name element.
  1557. #- Made statusp element and supporting entities.
  1558. #- Added slist element with sitem+ content.
  1559. #- Required head on scrap and added new bnf subelement.
  1560. #- Added an xnt element and allowed it and nt in regular text and rhs.
  1561. #- Removed the ntref element.
  1562. #- Added back the com element to the content of rhs.
  1563. #- Added a key attribute to bibl.
  1564. #- Removed the ident element.
  1565. #- Added a term element to be used inside termdef.
  1566. #- Added an xtermref element parallel to termref.
  1567. #- Beefed up DTD comments.
  1568. #1997-09-12: maler
  1569. #- Allowed term element in general text.
  1570. #- Changed bibref to EMPTY.
  1571. #- Added ref.class to termdef.pcd.mix.
  1572. #1997-09-14: maler
  1573. #- Changed main attribute of xtermref from def to href.
  1574. #- Added termdef.class to label contents.
  1575. #1997-09-30: maler
  1576. #- Added character entity module and added new entities.
  1577. #- Removed p from appearing directly in self; created %p.mix;.
  1578. #- Added inform-div (non-normative division) element.
  1579. #- Fixed xtermref comment to mention href, not ref.
  1580. #- Extended orglist model to allow optional affiliation.
  1581. #- Modified author to make affiliation optional.
  1582. #- Added %speclist.class; and %note.class; to %obj.mix; and %p.mix;.
  1583. #- Added %note.class; and %illus.class; to %termdef.pcd.mix;.
  1584. #- Added unused HTML elements.
  1585. #- Put empty system ID next to public ID in entity declarations.
  1586. #1997-10-14: maler
  1587. #- Fixed "unused" div content model to move nested div to mixture.
  1588. #1997-10-16: maler
  1589. #- Added SGML Open Exchange tables.
  1590. #1997-11-28: maler
  1591. #- Added support for prodgroup and its attributes.
  1592. #- Added support for HTML tables.
  1593. #- Added loc and bibref to content of com.
  1594. #- Added loc to general p content models.
  1595. #- Allowed p as alternative to statusp in status.
  1596. #- Added non-null system IDs to external parameter entity declarations.
  1597. #- (Modified the SGML Open table module to make it XML-compliant.)
  1598. #- (Modified the character entity module.)
  1599. #1997-12-29: maler
  1600. #- Moved #PCDATA occurrences to come before GIs in content models.
  1601. #- Removed use of the SGML Open table module.
  1602. #- Added xspecref element.
  1603. #- Ensured that all FPIs contain 4-digit year.
  1604. #- (Modified the character entity module.)
  1605. #1998-03-10: maler
  1606. #- Merged the character entity and table modules into the main file.
  1607. #- Added ldquo and rdquo entities.
  1608. #- Added common attributes to prodgroup.
  1609. #- Made the email element in header optional.
  1610. #- Removed reference to the SGML Open table model.
  1611. #- Added ednote element.
  1612. #- Added quote element.
  1613. #- Updated XLink usage to reflect 3 March 1998 WD.
  1614. #- Added "local" entities to the class entities for customization.
  1615. #- Parameterized several content models to allow for customization.
  1616. #1998-03-23: maler
  1617. #- Cleaned up some comments and removed some others.
  1618. #- Added xml:space semi-common attribute to eg and bnf elements.
  1619. #- Added show and embed attributes on all the uses of href.
  1620. #- Added %common.att; to all HTML table elements.
  1621. #- Added a real URI to the "typical invocation" comment.
  1622. #1998-05-14: maler
  1623. #- Fixed mdash, ldquo, and rdquo character entities.
  1624. #- Switched to the full HTML 4.0 table model.
  1625. #- Removed htable/htbody elements and replaced them with table/tbody.
  1626. #- Added issue element to %note.class; and declared it.
  1627. #- Allowed prevlocs and latestloc in either order.
  1628. #- Added key-term, htable, htbody, and statusp as unused elements.
  1629. #- Removed real statusp element in favor of plain p.
  1630. #1998-05-21: maler
  1631. #- Declared generic constraint and constraintnote elements.
  1632. #- Added constraintnote to %note.class;.
  1633. #- Added constraint to %eg.pcd.mix; and prod content model.
  1634. #1998-08-22: maler
  1635. #- Fixed %illus.class; to mention table instead of htable.
  1636. #- Added definitions to %illus.class; for DOM model.
  1637. #- Added DOM definitions element and its substructure.
  1638. #- Updated XLink usage in %href.att; to use xlink:form and #IMPLIED.
  1639. #- Added clarifying comments to href-using elements.
  1640. #1998-11-30: maler
  1641. #- Added new unused elements to support DocBook translation.
  1642. #- Updated maler phone numbers.
  1643. #1998-12-3: maler
  1644. #- Fixed character entities with respect to escaping of ampersands.
  1645. #- Added many more explanatory comments.
  1646. #1999-07-02: maler
  1647. #- Added %loc.class; to all PCD mixes that didn't already have it.
  1648. #- Removed unused %loc.pcd.mix;.
  1649. #- Made version in spec header optional.
  1650. #- Added three new attributes to spec.
  1651. #- Broadened content of edtext.
  1652. #- Added optional copyright element to header.
  1653. #- Reorganized XLink-related parameter entities; added xmlns:xlink.
  1654. #- Changed edtext content from #PCDATA to %p.pcd.mix;.
  1655. #- Added show/actuate atts and default values to all href elements.
  1656. #- Changed versioning scheme from 8-digit dates to version numbers.
  1657. #- Added w3c-doctype, other-doctype, status atts to spec element.
  1658. #- Added prodrecap element inside scrap.
  1659. #- Added headstyle attribute to scrap.
  1660. -->
  1661.  
  1662. <!-- ............................................................... -->
  1663. <!-- End of XML specification DTD .................................. -->
  1664. <!-- ............................................................... -->
  1665.  
  1666.