home *** CD-ROM | disk | FTP | other *** search
/ XML Bible (2nd Edition) / XML_Bible_Second_Edition_Hungry_Minds_2001.iso / mac / specs / xmlspec-v20.dtd < prev    next >
Text File  |  2001-04-26  |  52KB  |  1,554 lines

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