Ignore:
Timestamp:
Nov 21, 2008, 12:25:09 PM (11 years ago)
Author:
julian.reschke@…
Message:

reference RFC5234 core rules directly, fix line end bug in appendix generation (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p5-range.xml

    r424 r425  
    252252
    253253<section title="Syntax Notation" anchor="notation">
     254  <x:anchor-alias value="ALPHA"/>
     255  <x:anchor-alias value="CHAR"/>
     256  <x:anchor-alias value="CR"/>
     257  <x:anchor-alias value="DIGIT"/>
     258  <x:anchor-alias value="LF"/>
     259  <x:anchor-alias value="OCTET"/>
     260  <x:anchor-alias value="SP"/>
     261  <x:anchor-alias value="VCHAR"/>
     262  <x:anchor-alias value="WSP"/>
    254263<t>
    255264  This specification uses the ABNF syntax defined in &notation;.
     265  The following core rules are included by
     266  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
     267  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
     268  DIGIT (decimal 0-9), DQUOTE (double quote),
     269  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
     270  OCTET (any 8-bit sequence of data), SP (space),
     271  VCHAR (any visible USASCII character),
     272  and WSP (whitespace).
    256273</t>
    257274
    258275<section title="Core Rules" anchor="core.rules">
    259   <x:anchor-alias value="CHAR"/>
    260   <x:anchor-alias value="DIGIT"/>
    261   <x:anchor-alias value="SP"/>
    262276  <x:anchor-alias value="token"/>
    263277  <x:anchor-alias value="OWS"/>
     
    265279  The core rules below are defined in &basic-rules;:
    266280</t>
    267 <figure><artwork type="abnf2616">
    268   <x:ref>CHAR</x:ref>       = &lt;CHAR, defined in &basic-rules;&gt;
    269   <x:ref>DIGIT</x:ref>      = &lt;DIGIT, defined in &basic-rules;&gt;
    270   <x:ref>SP</x:ref>         = &lt;SP, defined in &basic-rules;&gt;
    271 </artwork></figure>
    272281<figure><artwork type="abnf2616">
    273282  <x:ref>token</x:ref>      = &lt;token, defined in &basic-rules;&gt;
     
    11011110</reference>
    11021111
     1112<reference anchor="RFC5234">
     1113  <front>
     1114    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
     1115    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
     1116      <organization>Brandenburg InternetWorking</organization>
     1117      <address>
     1118      <postal>
     1119      <street>675 Spruce Dr.</street>
     1120      <city>Sunnyvale</city>
     1121      <region>CA</region>
     1122      <code>94086</code>
     1123      <country>US</country></postal>
     1124      <phone>+1.408.246.8253</phone>
     1125      <email>dcrocker@bbiw.net</email></address> 
     1126    </author>
     1127    <author initials="P." surname="Overell" fullname="Paul Overell">
     1128      <organization>THUS plc.</organization>
     1129      <address>
     1130      <postal>
     1131      <street>1/2 Berkeley Square</street>
     1132      <street>99 Berkely Street</street>
     1133      <city>Glasgow</city>
     1134      <code>G3 7HR</code>
     1135      <country>UK</country></postal>
     1136      <email>paul.overell@thus.net</email></address>
     1137    </author>
     1138    <date month="January" year="2008"/>
     1139  </front>
     1140  <seriesInfo name="STD" value="68"/>
     1141  <seriesInfo name="RFC" value="5234"/>
     1142</reference>
     1143
    11031144</references>
    11041145
     
    13361377<section title="Collected ABNF" anchor="collected.abnf">
    13371378   <figure>
    1338       <artwork type="abnf" name="p5-range.parsed-abnf">Accept-Ranges = "Accept-Ranges:" OWS Accept-Ranges-v&#xD;
    1339 Accept-Ranges-v = acceptable-ranges&#xD;
    1340 CHAR = &lt;CHAR, defined in [Part1], Section 1.2.2&gt;&#xD;
    1341 Content-Range = "Content-Range:" OWS Content-Range-v&#xD;
    1342 Content-Range-v = content-range-spec&#xD;
    1343 DIGIT = &lt;DIGIT, defined in [Part1], Section 1.2.2&gt;&#xD;
    1344 HTTP-date = &lt;HTTP-date, defined in [Part1], Section 3.2.1&gt;&#xD;
    1345 If-Range = "If-Range:" OWS If-Range-v&#xD;
    1346 If-Range-v = entity-tag / HTTP-date&#xD;
    1347 OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;&#xD;
    1348 Range = "Range:" ranges-specifier&#xD;
    1349 SP = &lt;SP, defined in [Part1], Section 1.2.2&gt;&#xD;
    1350 acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS&#xD;
    1351  range-unit ] ) ) / "none"&#xD;
    1352 byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" (&#xD;
    1353  instance-length / "*" )&#xD;
    1354 byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*"&#xD;
    1355 byte-range-set = ( *( "," OWS ) byte-range-spec ) / (&#xD;
    1356  suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /&#xD;
    1357  suffix-byte-range-spec ] ) )&#xD;
    1358 byte-range-spec = first-byte-pos "-" [ last-byte-pos ]&#xD;
    1359 byte-ranges-specifier = bytes-unit "=" byte-range-set&#xD;
    1360 bytes-unit = "bytes"&#xD;
    1361 content-range-spec = byte-content-range-spec /&#xD;
    1362  other-content-range-spec&#xD;
    1363 entity-tag = &lt;entity-tag, defined in [Part4], Section 2&gt;&#xD;
    1364 first-byte-pos = 1*DIGIT&#xD;
    1365 instance-length = 1*DIGIT&#xD;
    1366 last-byte-pos = 1*DIGIT&#xD;
    1367 other-content-range-spec = other-range-unit SP other-range-resp-spec&#xD;
    1368 other-range-resp-spec = *CHAR&#xD;
    1369 other-range-unit = token&#xD;
    1370 other-ranges-specifier = 1*CHAR&#xD;
    1371 range-unit = bytes-unit / other-range-unit&#xD;
    1372 ranges-specifier = byte-ranges-specifier / other-ranges-specifier&#xD;
    1373 suffix-byte-range-spec = "-" suffix-length&#xD;
    1374 suffix-length = 1*DIGIT&#xD;
    1375 token = &lt;token, defined in [Part1], Section 1.2.2&gt;&#xD;
    1376 ; Accept-Ranges defined but not used&#xD;
    1377 ; Content-Range defined but not used&#xD;
    1378 ; If-Range defined but not used&#xD;
    1379 ; Range defined but not used&#xD;
     1379      <artwork type="abnf" name="p5-range.parsed-abnf">
     1380Accept-Ranges = "Accept-Ranges:" OWS Accept-Ranges-v
     1381Accept-Ranges-v = acceptable-ranges
     1382Content-Range = "Content-Range:" OWS Content-Range-v
     1383Content-Range-v = content-range-spec
     1384HTTP-date = &lt;HTTP-date, defined in [Part1], Section 3.2.1&gt;
     1385If-Range = "If-Range:" OWS If-Range-v
     1386If-Range-v = entity-tag / HTTP-date
     1387OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
     1388Range = "Range:" ranges-specifier
     1389acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS
     1390 range-unit ] ) ) / "none"
     1391byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" (
     1392 instance-length / "*" )
     1393byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*"
     1394byte-range-set = ( *( "," OWS ) byte-range-spec ) / (
     1395 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /
     1396 suffix-byte-range-spec ] ) )
     1397byte-range-spec = first-byte-pos "-" [ last-byte-pos ]
     1398byte-ranges-specifier = bytes-unit "=" byte-range-set
     1399bytes-unit = "bytes"
     1400content-range-spec = byte-content-range-spec /
     1401 other-content-range-spec
     1402entity-tag = &lt;entity-tag, defined in [Part4], Section 2&gt;
     1403first-byte-pos = 1*DIGIT
     1404instance-length = 1*DIGIT
     1405last-byte-pos = 1*DIGIT
     1406other-content-range-spec = other-range-unit SP other-range-resp-spec
     1407other-range-resp-spec = *CHAR
     1408other-range-unit = token
     1409other-ranges-specifier = 1*CHAR
     1410range-unit = bytes-unit / other-range-unit
     1411ranges-specifier = byte-ranges-specifier / other-ranges-specifier
     1412suffix-byte-range-spec = "-" suffix-length
     1413suffix-length = 1*DIGIT
     1414token = &lt;token, defined in [Part1], Section 1.2.2&gt;
     1415; Accept-Ranges defined but not used
     1416; Content-Range defined but not used
     1417; If-Range defined but not used
     1418; Range defined but not used
    13801419</artwork>
    13811420   </figure>
Note: See TracChangeset for help on using the changeset viewer.