Ignore:
Timestamp:
Feb 24, 2009, 1:31:57 PM (11 years ago)
Author:
julian.reschke@…
Message:

Update to xml2rfc 1.34pre3 and latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.rnc

    r446 r448  
    1 # revised DTD for the RFC document series, draft of 2008-02-01
     1# revised DTD for the RFC document series, draft of 2008-03-06
     2
     3# Typical invocation:
     4#     <!DOCTYPE rfc PUBLIC "-//IETF//DTD RFC 2629//EN"
     5#                          "http://xml.resource.org/authoring/rfc2629.dtd" [
     6#       ... dtd subset ...
     7#     ]>
     8#   or
     9#     <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
     10#       ... dtd subset ...
     11#     ]>
    212
    313# Contents
    414#
     15#   Character entities
     16#
    517#   DTD data types
    618#
     
    1224#
    1325#   Back matter
     26
     27# Character entities
    1428
    1529# DTD data types:
     
    5266  [ a:defaultValue = "" ] attribute obsoletes { NUMBERS }?,
    5367  [ a:defaultValue = "" ] attribute updates { NUMBERS }?,
    54   [ a:defaultValue = "info" ] attribute category { "std" | "bcp" | "info" | "exp" | "historic" }?,
     68  attribute category { "std" | "bcp" | "info" | "exp" | "historic" }?,
    5569  attribute seriesNo { NUMBER }?,
    5670  attribute ipr {
     
    6781    | "noModificationTrust200811"
    6882    | "noDerivativesTrust200811"
     83    | "trust200902"
     84    | "noModificationTrust200902"
     85    | "noDerivativesTrust200902"
     86    | "pre5378Trust200902"
    6987  }?,
    7088  attribute iprExtract { xsd:IDREF }?,
     89  [ a:defaultValue = "IETF" ]
    7190  attribute submissionType { "IETF" | "independent" }?,
    7291  attribute docName { ATEXT }?,
     
    145164attlist.note &= attribute title { ATEXT }
    146165# The body
    147 
    148166middle = element middle { attlist.middle, section+ }
    149167attlist.middle &= empty
    150168section =
    151169  element section {
    152     attlist.section, ((t | figure | texttable | iref)* , section*)
     170    attlist.section, (t | figure | texttable | iref)*, section*
    153171  }
    154172attlist.section &=
    155173  attribute anchor { xsd:ID }?,
    156174  attribute title { ATEXT },
    157   [ a:defaultValue = "default" ] attribute toc { "include" | "exclude" | "default" }?
     175  [ a:defaultValue = "default" ]
     176  attribute toc { "include" | "exclude" | "default" }?
    158177# use of <appendix/> is deprecated...
    159178# <!ELEMENT appendix    ((t|figure|texttable|iref)*,appendix*)>
     
    178197     | vspace)*
    179198  }
    180 attlist.t &= attribute anchor { xsd:ID }?, attribute hangText { ATEXT }?
     199attlist.t &=
     200  attribute anchor { xsd:ID }?,
     201  attribute hangText { ATEXT }?
    181202# the value of the style attribute is inherited from the closest
    182203# parent
     
    190211  attribute target { xsd:IDREF },
    191212  [ a:defaultValue = "false" ] attribute pageno { "true" | "false" }?,
    192   [ a:defaultValue = "default" ] attribute format { "counter" | "title" | "none" | "default" }?
     213  [ a:defaultValue = "default" ]
     214  attribute format { "counter" | "title" | "none" | "default" }?
    193215eref = element eref { attlist.eref, CTEXT }
    194216attlist.eref &= attribute target { URI }
     
    204226spanx = element spanx { attlist.spanx, CTEXT }
    205227attlist.spanx &=
    206   [ a:defaultValue = "preserve" ] attribute xml:space { "default" | "preserve" }?,
     228  [ a:defaultValue = "preserve" ]
     229  attribute xml:space { "default" | "preserve" }?,
    207230  [ a:defaultValue = "emph" ] attribute style { ATEXT }?
    208231vspace = element vspace { attlist.vspace, empty }
     
    210233  [ a:defaultValue = "0" ] attribute blankLines { NUMBER }?
    211234figure =
    212   element figure { attlist.figure, iref*, preamble?, artwork, postamble? }
     235  element figure {
     236    attlist.figure, iref*, preamble?, artwork, postamble?
     237  }
    213238attlist.figure &=
    214239  attribute anchor { xsd:ID }?,
    215240  [ a:defaultValue = "" ] attribute title { ATEXT }?,
    216   [ a:defaultValue = "false" ] attribute suppress-title { "true" | "false" }?,
    217   [ a:defaultValue = "" ] attribute src { ATEXT }?,
    218   [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }?,
     241  [ a:defaultValue = "false" ]
     242  attribute suppress-title { "true" | "false" }?,
     243  attribute src { URI }?,
     244  [ a:defaultValue = "left" ]
     245  attribute align { "left" | "center" | "right" }?,
    219246  [ a:defaultValue = "" ] attribute alt { ATEXT }?,
    220   [ a:defaultValue = "" ] attribute width { NUMBER }?,
    221   [ a:defaultValue = "" ] attribute height { NUMBER }?
     247  [ a:defaultValue = "" ] attribute width { ATEXT }?,
     248  [ a:defaultValue = "" ] attribute height { ATEXT }?
    222249preamble =
    223250  element preamble {
     
    227254artwork = element artwork { attlist.artwork, TEXT* }
    228255attlist.artwork &=
    229   [ a:defaultValue = "preserve" ] attribute xml:space { "default" | "preserve" }?,
     256  [ a:defaultValue = "preserve" ]
     257  attribute xml:space { "default" | "preserve" }?,
    230258  [ a:defaultValue = "" ] attribute name { ATEXT }?,
    231259  [ a:defaultValue = "" ] attribute type { ATEXT }?,
    232260  attribute src { URI }?,
    233   [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }?,
     261  [ a:defaultValue = "left" ]
     262  attribute align { "left" | "center" | "right" }?,
    234263  [ a:defaultValue = "" ] attribute alt { ATEXT }?,
    235264  [ a:defaultValue = "" ] attribute width { ATEXT }?,
     
    247276  attribute anchor { xsd:ID }?,
    248277  [ a:defaultValue = "" ] attribute title { ATEXT }?,
    249   [ a:defaultValue = "false" ] attribute suppress-title { "true" | "false" }?,
    250   [ a:defaultValue = "center" ] attribute align { "left" | "center" | "right" }?,
    251   [ a:defaultValue = "full" ] attribute style { "all" | "none" | "headers" | "full" }?
     278  [ a:defaultValue = "false" ]
     279  attribute suppress-title { "true" | "false" }?,
     280  [ a:defaultValue = "center" ]
     281  attribute align { "left" | "center" | "right" }?,
     282  [ a:defaultValue = "full" ]
     283  attribute style { "all" | "none" | "headers" | "full" }?
    252284ttcol = element ttcol { attlist.ttcol, CTEXT }
    253285attlist.ttcol &=
    254286  attribute width { ATEXT }?,
    255   [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }?
     287  [ a:defaultValue = "left" ]
     288  attribute align { "left" | "center" | "right" }?
    256289c = element c { attlist.c, (TEXT | xref | eref | iref | cref | spanx)* }
    257290attlist.c &= empty
Note: See TracChangeset for help on using the changeset viewer.