Ignore:
Timestamp:
21/12/13 00:17:31 (7 years ago)
Author:
fielding@…
Message:

(editorial) Remove unnecessary or duplicate ABNF that can be replaced with core rules: word, specials, attribute, value, and quoted-cpair; addresses #541

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r2517 r2519  
    366366</artwork></figure>
    367367<t anchor="rule.parameter">
    368   <x:anchor-alias value="attribute"/>
    369368  <x:anchor-alias value="parameter"/>
    370   <x:anchor-alias value="value"/>
    371369   The type/subtype &MAY; be followed by parameters in the form of
    372    attribute/value pairs.
    373 </t>
    374 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/>
    375   <x:ref>parameter</x:ref>      = <x:ref>attribute</x:ref> "=" <x:ref>value</x:ref>
    376   <x:ref>attribute</x:ref>      = <x:ref>token</x:ref>
    377   <x:ref>value</x:ref>          = <x:ref>word</x:ref>
     370   name=value pairs.
     371</t>
     372<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/>
     373  <x:ref>parameter</x:ref>      = <x:ref>token</x:ref> "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> )
    378374</artwork></figure>
    379375<t>
    380    The type, subtype, and parameter attribute names are case-insensitive.
     376   The type, subtype, and parameter name tokens are case-insensitive.
    381377   Parameter values might or might not be case-sensitive, depending on the
    382378   semantics of the parameter name.  The presence or absence of a parameter might
     
    20982094                   ) *( <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>parameter</x:ref> )
    20992095  <x:ref>accept-params</x:ref>  = <x:ref>weight</x:ref> *( <x:ref>accept-ext</x:ref> )
    2100   <x:ref>accept-ext</x:ref>     = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" <x:ref>word</x:ref> ]
     2096  <x:ref>accept-ext</x:ref> = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
    21012097</artwork></figure>
    21022098<t>
     
    60346030  <x:anchor-alias value="quoted-string"/>
    60356031  <x:anchor-alias value="token"/>
    6036   <x:anchor-alias value="word"/>
    60376032  <x:anchor-alias value="BWS"/>
    60386033  <x:anchor-alias value="OWS"/>
     
    60656060  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &field-components;&gt;
    60666061  <x:ref>token</x:ref>         = &lt;token, defined in &field-components;&gt;
    6067   <x:ref>word</x:ref>          = &lt;word, defined in &field-components;&gt;
    60686062</artwork></figure>
    60696063</section>
     
    61256119
    61266120<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [Part1], Section 2.7&gt;
    6127 <x:ref>accept-ext</x:ref> = OWS ";" OWS token [ "=" word ]
     6121<x:ref>accept-ext</x:ref> = OWS ";" OWS token [ "=" ( token / quoted-string ) ]
    61286122<x:ref>accept-params</x:ref> = weight *accept-ext
    61296123<x:ref>asctime-date</x:ref> = day-name SP date3 SP time-of-day SP year
    6130 <x:ref>attribute</x:ref> = token
    61316124
    61326125<x:ref>charset</x:ref> = token
     
    61836176<x:ref>obs-date</x:ref> = rfc850-date / asctime-date
    61846177
    6185 <x:ref>parameter</x:ref> = attribute "=" value
     6178<x:ref>parameter</x:ref> = token "=" ( token / quoted-string )
    61866179<x:ref>partial-URI</x:ref> = &lt;partial-URI, defined in [Part1], Section 2.7&gt;
    61876180<x:ref>product</x:ref> = token [ "/" product-version ]
     
    62006193<x:ref>type</x:ref> = token
    62016194
    6202 <x:ref>value</x:ref> = word
    6203 
    62046195<x:ref>weight</x:ref> = OWS ";" OWS "q=" qvalue
    6205 <x:ref>word</x:ref> = &lt;word, defined in [Part1], Section 3.2.6&gt;
    62066196
    62076197<x:ref>year</x:ref> = 4DIGIT
Note: See TracChangeset for help on using the changeset viewer.