Ticket #122: i122.diff

File i122.diff, 4.7 KB (added by julian.reschke@…, 10 years ago)

proposed patches for P1 & P3 plus the IANA header reg extraction (this will also cause Content-Disposition to be listed as "standard")

  • p1-messaging.xml

     
    2727  <!ENTITY entity-length          "<xref target='Part3' x:rel='#entity.length' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
    2828  <!ENTITY header-cache-control   "<xref target='Part6' x:rel='#header.cache-control' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
    2929  <!ENTITY header-expect          "<xref target='Part2' x:rel='#header.expect' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
     30  <!ENTITY header-mime-version    "<xref target='Part3' x:rel='#mime-version' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
    3031  <!ENTITY header-pragma          "<xref target='Part6' x:rel='#header.pragma' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
    3132  <!ENTITY header-warning         "<xref target='Part6' x:rel='#header.warning' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
    3233  <!ENTITY idempotent-methods     "<xref target='Part2' x:rel='#idempotent.methods' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
     
    526527  <x:anchor-alias value="Cache-Control"/>
    527528  <x:anchor-alias value="Pragma"/>
    528529  <x:anchor-alias value="Warning"/>
     530  <x:anchor-alias value="MIME-Version"/>
    529531<t>
    530532  The ABNF rules below are defined in other parts:
    531533</t>
     
    536538<figure><!-- Part3--><artwork type="abnf2616">
    537539  <x:ref>entity-body</x:ref>     = &lt;entity-body, defined in &entity-body;&gt;
    538540  <x:ref>entity-header</x:ref>   = &lt;entity-header, defined in &entity-header-fields;&gt;
     541  <x:ref>MIME-Version</x:ref>    = &lt;MIME-Version, defined in &header-mime-version;&gt;
    539542</artwork></figure>
    540543<figure><!-- Part6--><artwork type="abnf2616">
    541544  <x:ref>Cache-Control</x:ref>   = &lt;Cache-Control, defined in &header-pragma;&gt;
     
    13771380                 / <x:ref>Upgrade</x:ref>                  ; <xref target="header.upgrade"/>
    13781381                 / <x:ref>Via</x:ref>                      ; <xref target="header.via"/>
    13791382                 / <x:ref>Warning</x:ref>                  ; &header-warning;
     1383                 / <x:ref>MIME-Version</x:ref>             ; &header-mime-version;
    13801384</artwork></figure>
    13811385<t>
    13821386   General-header field names can be extended reliably only in
     
    49554959<x:ref>Host</x:ref> = "Host:" OWS Host-v
    49564960<x:ref>Host-v</x:ref> = uri-host [ ":" port ]
    49574961
     4962<x:ref>MIME-Version</x:ref> = &lt;MIME-Version, defined in [Part3], Appendix A.1&gt;
    49584963<x:ref>Method</x:ref> = token
    49594964
    49604965<x:ref>OWS</x:ref> = *( [ obs-fold ] WSP )
     
    50365041<x:ref>field-value</x:ref> = *( field-content / OWS )
    50375042
    50385043<x:ref>general-header</x:ref> = Cache-Control / Connection / Date / Pragma / Trailer
    5039  / Transfer-Encoding / Upgrade / Via / Warning
     5044 / Transfer-Encoding / Upgrade / Via / Warning / MIME-Version
    50405045
    50415046<x:ref>header-field</x:ref> = field-name ":" OWS [ field-value ] OWS
    50425047<x:ref>hour</x:ref> = 2DIGIT
     
    56225627      "OPTIONS * and proxies"
    56235628    </t>
    56245629    <t>
     5630      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/122"/>:
     5631      "MIME-Version not listed in P1, general header fields"
     5632    </t>
     5633    <t>
    56255634      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/143"/>:
    56265635      "IANA registry for content/transfer encodings"
    56275636    </t>
  • p3-payload.xml

     
    16111611   </c>
    16121612   <c>Content-Disposition</c>
    16131613   <c>http</c>
    1614    <c/>
     1614   <c>standard</c>
    16151615   <c>
    16161616      <xref target="content-disposition"/>
    16171617   </c>
     
    16471647   </c>
    16481648   <c>MIME-Version</c>
    16491649   <c>http</c>
    1650    <c/>
     1650   <c>standard</c>
    16511651   <c>
    16521652      <xref target="mime-version"/>
    16531653   </c>
     
    31413141  Closed issues:
    31423142  <list style="symbols">
    31433143    <t>
     3144      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/122"/>:
     3145      "MIME-Version not listed in P1, general header fields"
     3146    </t>
     3147    <t>
    31443148      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/143"/>:
    31453149      "IANA registry for content/transfer encodings"
    31463150    </t>
  • extract-header-defs.xslt

     
    7878  <xsl:text>&#10;</xsl:text>
    7979  <c><xsl:value-of select="iref[@item='Headers']/@subitem"/></c>
    8080  <c>http</c>
    81   <c>
    82     <xsl:choose>
    83       <xsl:when test="ancestor::middle">standard</xsl:when>
    84       <xsl:otherwise></xsl:otherwise>
    85     </xsl:choose>
    86   </c>
     81  <c>standard</c>
    8782  <c><xref target="{@anchor}"/></c>
    8883</xsl:template>
    8984