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/p3-payload.xml

    r424 r425  
    253253
    254254<section title="Syntax Notation" anchor="notation">
     255  <x:anchor-alias value="ALPHA"/>
     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="VCHAR"/>
     261  <x:anchor-alias value="WSP"/>
    255262<t>
    256263  This specification uses the ABNF syntax defined in &notation;.
     264  The following core rules are included by
     265  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
     266  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
     267  DIGIT (decimal 0-9), DQUOTE (double quote),
     268  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
     269  OCTET (any 8-bit sequence of data), SP (space),
     270  VCHAR (any visible USASCII character),
     271  and WSP (whitespace).
    257272</t>
    258273
    259274<section title="Core Rules" anchor="core.rules">
    260   <x:anchor-alias value="ALPHA"/>
    261   <x:anchor-alias value="DIGIT"/>
    262   <x:anchor-alias value="OCTET"/>
    263275  <x:anchor-alias value="quoted-string"/>
    264276  <x:anchor-alias value="token"/>
     
    267279  The core rules below are defined in &basic-rules;:
    268280</t>
    269 <figure><artwork type="abnf2616">
    270   <x:ref>ALPHA</x:ref>          = &lt;ALPHA, defined in &basic-rules;&gt;
    271   <x:ref>DIGIT</x:ref>          = &lt;DIGIT, defined in &basic-rules;&gt;
    272   <x:ref>OCTET</x:ref>          = &lt;OCTET, defined in &basic-rules;&gt;
    273 </artwork></figure>
    274281<figure><artwork type="abnf2616">
    275282  <x:ref>quoted-string</x:ref>  = &lt;quoted-string, defined in &basic-rules;&gt;
     
    20862093</reference>
    20872094
     2095<reference anchor="RFC5234">
     2096  <front>
     2097    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
     2098    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
     2099      <organization>Brandenburg InternetWorking</organization>
     2100      <address>
     2101      <postal>
     2102      <street>675 Spruce Dr.</street>
     2103      <city>Sunnyvale</city>
     2104      <region>CA</region>
     2105      <code>94086</code>
     2106      <country>US</country></postal>
     2107      <phone>+1.408.246.8253</phone>
     2108      <email>dcrocker@bbiw.net</email></address> 
     2109    </author>
     2110    <author initials="P." surname="Overell" fullname="Paul Overell">
     2111      <organization>THUS plc.</organization>
     2112      <address>
     2113      <postal>
     2114      <street>1/2 Berkeley Square</street>
     2115      <street>99 Berkely Street</street>
     2116      <city>Glasgow</city>
     2117      <code>G3 7HR</code>
     2118      <country>UK</country></postal>
     2119      <email>paul.overell@thus.net</email></address>
     2120    </author>
     2121    <date month="January" year="2008"/>
     2122  </front>
     2123  <seriesInfo name="STD" value="68"/>
     2124  <seriesInfo name="RFC" value="5234"/>
     2125</reference>
     2126
    20882127</references>
    20892128
     
    26192658<section title="Collected ABNF" anchor="collected.abnf">
    26202659   <figure>
    2621       <artwork type="abnf" name="p3-payload.parsed-abnf">ALPHA = &lt;ALPHA, defined in [Part1], Section 1.2.2&gt;&#xD;
    2622 Accept = "Accept:" OWS Accept-v&#xD;
    2623 Accept-Charset = "Accept-Charset:" OWS Accept-Charset-v&#xD;
    2624 Accept-Charset-v = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q="&#xD;
    2625  qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q="&#xD;
    2626  qvalue ] ] )&#xD;
    2627 Accept-Encoding = "Accept-Encoding:" OWS Accept-Encoding-v&#xD;
    2628 Accept-Encoding-v = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] )&#xD;
    2629  ) *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ]&#xD;
    2630 Accept-Language = "Accept-Language:" OWS Accept-Language-v&#xD;
    2631 Accept-Language-v = *( "," OWS ) language-range [ OWS ";" OWS "q="&#xD;
    2632  qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ]&#xD;
    2633  ] )&#xD;
    2634 Accept-v = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [&#xD;
    2635  OWS media-range [ accept-params ] ] ) ]&#xD;
    2636 Content-Encoding = "Content-Encoding:" OWS Content-Encoding-v&#xD;
    2637 Content-Encoding-v = *( "," OWS ) content-coding *( OWS "," [ OWS&#xD;
    2638  content-coding ] )&#xD;
    2639 Content-Language = "Content-Language:" OWS Content-Language-v&#xD;
    2640 Content-Language-v = *( "," OWS ) language-tag *( OWS "," [ OWS&#xD;
    2641  language-tag ] )&#xD;
    2642 Content-Length = &lt;Content-Length, defined in [Part1], Section 8.2&gt;&#xD;
    2643 Content-Location = "Content-Location:" OWS Content-Location-v&#xD;
    2644 Content-Location-v = absolute-URI / partial-URI&#xD;
    2645 Content-MD5 = "Content-MD5:" OWS Content-MD5-v&#xD;
    2646 Content-MD5-v = &lt;base64 of 128 bit MD5 digest as per [RFC1864]&gt;&#xD;
    2647 Content-Range = &lt;Content-Range, defined in [Part5], Section 5.2&gt;&#xD;
    2648 Content-Type = "Content-Type:" OWS Content-Type-v&#xD;
    2649 Content-Type-v = media-type&#xD;
    2650 DIGIT = &lt;DIGIT, defined in [Part1], Section 1.2.2&gt;&#xD;
    2651 Expires = &lt;Expires, defined in [Part6], Section 15.3&gt;&#xD;
    2652 Last-Modified = &lt;Last-Modified, defined in [Part4], Section 6.6&gt;&#xD;
    2653 MIME-Version = "MIME-Version:" OWS MIME-Version-v&#xD;
    2654 MIME-Version-v = 1*DIGIT "." 1*DIGIT&#xD;
    2655 OCTET = &lt;OCTET, defined in [Part1], Section 1.2.2&gt;&#xD;
    2656 OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;&#xD;
    2657 absolute-URI = &lt;absolute-URI, defined in [Part1], Section 2.1&gt;&#xD;
    2658 accept-ext = OWS ";" OWS token [ "=" ( token / quoted-string ) ]&#xD;
    2659 accept-params = OWS ";" OWS "q=" qvalue *accept-ext&#xD;
    2660 attribute = token&#xD;
    2661 charset = token&#xD;
    2662 codings = ( content-coding / "*" )&#xD;
    2663 content-coding = token&#xD;
    2664 content-disposition = "Content-Disposition:" OWS&#xD;
    2665  content-disposition-v&#xD;
    2666 content-disposition-v = disposition-type *( OWS ";" OWS&#xD;
    2667  disposition-parm )&#xD;
    2668 disp-extension-parm = token "=" ( token / quoted-string )&#xD;
    2669 disp-extension-token = token&#xD;
    2670 disposition-parm = filename-parm / disp-extension-parm&#xD;
    2671 disposition-type = "attachment" / disp-extension-token&#xD;
    2672 entity-body = *OCTET&#xD;
    2673 entity-header = Content-Encoding / Content-Language / Content-Length&#xD;
    2674  / Content-Location / Content-MD5 / Content-Range / Content-Type /&#xD;
    2675  Expires / Last-Modified / extension-header&#xD;
    2676 extension-header = message-header&#xD;
    2677 filename-parm = "filename=" quoted-string&#xD;
    2678 language-range = &lt;language-range, defined in [RFC4647], Section 2.1&gt;&#xD;
    2679 language-tag = primary-tag *( "-" subtag )&#xD;
    2680 media-range = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS&#xD;
    2681  ";" OWS parameter )&#xD;
    2682 media-type = type "/" subtype *( OWS ";" OWS parameter )&#xD;
    2683 message-header = &lt;message-header, defined in [Part1], Section 4.2&gt;&#xD;
    2684 parameter = attribute "=" value&#xD;
    2685 partial-URI = &lt;partial-URI, defined in [Part1], Section 2.1&gt;&#xD;
    2686 primary-tag = 1*8ALPHA&#xD;
    2687 quoted-string = &lt;quoted-string, defined in [Part1], Section 1.2.2&gt;&#xD;
    2688 qvalue = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )&#xD;
    2689 subtag = 1*8ALPHA&#xD;
    2690 subtype = token&#xD;
    2691 token = &lt;token, defined in [Part1], Section 1.2.2&gt;&#xD;
    2692 type = token&#xD;
    2693 value = token / quoted-string&#xD;
    2694 ; Accept defined but not used&#xD;
    2695 ; Accept-Charset defined but not used&#xD;
    2696 ; Accept-Encoding defined but not used&#xD;
    2697 ; Accept-Language defined but not used&#xD;
    2698 ; MIME-Version defined but not used&#xD;
    2699 ; content-disposition defined but not used&#xD;
    2700 ; entity-body defined but not used&#xD;
    2701 ; entity-header defined but not used&#xD;
     2660      <artwork type="abnf" name="p3-payload.parsed-abnf">
     2661Accept = "Accept:" OWS Accept-v
     2662Accept-Charset = "Accept-Charset:" OWS Accept-Charset-v
     2663Accept-Charset-v = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q="
     2664 qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q="
     2665 qvalue ] ] )
     2666Accept-Encoding = "Accept-Encoding:" OWS Accept-Encoding-v
     2667Accept-Encoding-v = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] )
     2668 ) *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ]
     2669Accept-Language = "Accept-Language:" OWS Accept-Language-v
     2670Accept-Language-v = *( "," OWS ) language-range [ OWS ";" OWS "q="
     2671 qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ]
     2672 ] )
     2673Accept-v = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [
     2674 OWS media-range [ accept-params ] ] ) ]
     2675Content-Encoding = "Content-Encoding:" OWS Content-Encoding-v
     2676Content-Encoding-v = *( "," OWS ) content-coding *( OWS "," [ OWS
     2677 content-coding ] )
     2678Content-Language = "Content-Language:" OWS Content-Language-v
     2679Content-Language-v = *( "," OWS ) language-tag *( OWS "," [ OWS
     2680 language-tag ] )
     2681Content-Length = &lt;Content-Length, defined in [Part1], Section 8.2&gt;
     2682Content-Location = "Content-Location:" OWS Content-Location-v
     2683Content-Location-v = absolute-URI / partial-URI
     2684Content-MD5 = "Content-MD5:" OWS Content-MD5-v
     2685Content-MD5-v = &lt;base64 of 128 bit MD5 digest as per [RFC1864]&gt;
     2686Content-Range = &lt;Content-Range, defined in [Part5], Section 5.2&gt;
     2687Content-Type = "Content-Type:" OWS Content-Type-v
     2688Content-Type-v = media-type
     2689Expires = &lt;Expires, defined in [Part6], Section 15.3&gt;
     2690Last-Modified = &lt;Last-Modified, defined in [Part4], Section 6.6&gt;
     2691MIME-Version = "MIME-Version:" OWS MIME-Version-v
     2692MIME-Version-v = 1*DIGIT "." 1*DIGIT
     2693OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
     2694absolute-URI = &lt;absolute-URI, defined in [Part1], Section 2.1&gt;
     2695accept-ext = OWS ";" OWS token [ "=" ( token / quoted-string ) ]
     2696accept-params = OWS ";" OWS "q=" qvalue *accept-ext
     2697attribute = token
     2698charset = token
     2699codings = ( content-coding / "*" )
     2700content-coding = token
     2701content-disposition = "Content-Disposition:" OWS
     2702 content-disposition-v
     2703content-disposition-v = disposition-type *( OWS ";" OWS
     2704 disposition-parm )
     2705disp-extension-parm = token "=" ( token / quoted-string )
     2706disp-extension-token = token
     2707disposition-parm = filename-parm / disp-extension-parm
     2708disposition-type = "attachment" / disp-extension-token
     2709entity-body = *OCTET
     2710entity-header = Content-Encoding / Content-Language / Content-Length
     2711 / Content-Location / Content-MD5 / Content-Range / Content-Type /
     2712 Expires / Last-Modified / extension-header
     2713extension-header = message-header
     2714filename-parm = "filename=" quoted-string
     2715language-range = &lt;language-range, defined in [RFC4647], Section 2.1&gt;
     2716language-tag = primary-tag *( "-" subtag )
     2717media-range = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS
     2718 ";" OWS parameter )
     2719media-type = type "/" subtype *( OWS ";" OWS parameter )
     2720message-header = &lt;message-header, defined in [Part1], Section 4.2&gt;
     2721parameter = attribute "=" value
     2722partial-URI = &lt;partial-URI, defined in [Part1], Section 2.1&gt;
     2723primary-tag = 1*8ALPHA
     2724quoted-string = &lt;quoted-string, defined in [Part1], Section 1.2.2&gt;
     2725qvalue = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )
     2726subtag = 1*8ALPHA
     2727subtype = token
     2728token = &lt;token, defined in [Part1], Section 1.2.2&gt;
     2729type = token
     2730value = token / quoted-string
     2731; Accept defined but not used
     2732; Accept-Charset defined but not used
     2733; Accept-Encoding defined but not used
     2734; Accept-Language defined but not used
     2735; MIME-Version defined but not used
     2736; content-disposition defined but not used
     2737; entity-body defined but not used
     2738; entity-header defined but not used
    27022739</artwork>
    27032740   </figure>
Note: See TracChangeset for help on using the changeset viewer.