Ignore:
Timestamp:
28/01/14 00:44:14 (8 years ago)
Author:
fielding@…
Message:

(editorial) correctly word requirements on generating lists and recipient parsing of lists; see #531

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.html

    r2592 r2593  
    23532353         </p>
    23542354         <div id="rfc.figure.u.61"></div>
    2355          <p>Thus, a sender <em class="bcp14">MUST</em> expand the list construct as follows:
     2355         <p>In any production that uses the list construct, a sender <em class="bcp14">MUST NOT</em> generate empty list elements. In other words, a sender <em class="bcp14">MUST</em> generate lists that satisfy the following syntax:
    23562356         </p><pre class="text">  1#element =&gt; element *( OWS "," OWS element )
    23572357</pre><div id="rfc.figure.u.62"></div>
     
    23602360         <p>and for n &gt;= 1 and m &gt; 1:</p><pre class="text">  &lt;n&gt;#&lt;m&gt;element =&gt; element &lt;n-1&gt;*&lt;m-1&gt;( OWS "," OWS element )
    23612361</pre><p id="rfc.section.7.p.6">For compatibility with legacy list rules, a recipient <em class="bcp14">MUST</em> parse and ignore a reasonable number of empty list elements: enough to handle common mistakes by senders that merge values,
    2362             but not so much that they could be used as a denial of service mechanism. In other words, a recipient <em class="bcp14">MUST</em> expand the list construct as follows:
     2362            but not so much that they could be used as a denial of service mechanism. In other words, a recipient <em class="bcp14">MUST</em> accept lists that satisfy the following syntax:
    23632363         </p>
    23642364         <div id="rfc.figure.u.64"></div><pre class="text">  #element =&gt; [ ( "," / element ) *( OWS "," [ OWS element ] ) ]
     
    23782378  ","
    23792379  ",   ,"
    2380 </pre><p id="rfc.section.7.p.14"><a href="#collected.abnf" title="Collected ABNF">Appendix&nbsp;B</a> shows the collected ABNF after the list constructs have been expanded, as described above, for recipients.
     2380</pre><p id="rfc.section.7.p.14"><a href="#collected.abnf" title="Collected ABNF">Appendix&nbsp;B</a> shows the collected ABNF for recipients after the list constructs have been expanded.
    23812381         </p>
    23822382      </div>
Note: See TracChangeset for help on using the changeset viewer.