Changeset 1522


Ignore:
Timestamp:
Jan 31, 2012, 5:11:11 PM (7 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, update to latest version of rfc2629.xslt, add feedback links

Files:
25 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis-authscheme-registrations/latest/draft-ietf-httpbis-authscheme-registrations.html

    r1501 r1522  
    66      <title>Initial Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)
    77         Authentication&nbsp;Scheme&nbsp;Registrations
    8       </title><style type="text/css" title="Xml2Rfc (sans serif)">
     8      </title><script>
     9var buttonsAdded = false;
     10
     11function init() {
     12  var fb = document.createElement("div");
     13  fb.setAttribute("class", "feedback");
     14  fb.setAttribute("onclick", "feedback();");
     15  fb.appendChild(document.createTextNode("feedback"));
     16
     17  var bodyl = document.getElementsByTagName("body");
     18  bodyl.item(0).appendChild(fb);
     19}
     20
     21function feedback() {
     22  toggleButtonsToElementsByName("h1");
     23  toggleButtonsToElementsByName("h2");
     24  toggleButtonsToElementsByName("h3");
     25  toggleButtonsToElementsByName("h4");
     26 
     27  buttonsAdded = !buttonsAdded;
     28}
     29
     30function toggleButtonsToElementsByName(name) {
     31  var list = document.getElementsByTagName(name);
     32  for (var i = 0; i < list.length; i++) {
     33    toggleButton(list.item(i));
     34  }
     35}
     36
     37function toggleButton(node) {
     38  if (! buttonsAdded) {
     39 
     40    // docname
     41    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     42
     43    var id = node.getAttribute("id");
     44    // better id available?
     45    var titlelinks = node.getElementsByTagName("a");
     46    for (var i = 0; i < titlelinks.length; i++) {
     47      var tl = titlelinks.item(i);
     48      if (tl.getAttribute("id")) {
     49        id = tl.getAttribute("id");
     50      }
     51    }
     52
     53    // ref
     54    var ref = window.location.toString();
     55    var hash = ref.indexOf("#");
     56    if (hash != -1) {
     57      ref = ref.substring(0, hash);
     58    }
     59    if (id != "") {
     60      ref += "#" + id;
     61    }
     62   
     63    // docname
     64    var docname = "draft-ietf-httpbis-authscheme-registrations-latest";
     65
     66    // section
     67    var section = node.textContent;
     68   
     69    // build URI from template
     70    var uri = template.replace("{docname}", encodeURIComponent(docname));
     71    uri = uri.replace("{section}", encodeURIComponent(section));
     72    uri = uri.replace("{ref}", encodeURIComponent(ref));
     73 
     74    var button = document.createElement("a");
     75    button.setAttribute("class", "fbbutton");
     76    button.setAttribute("href", uri);
     77    button.appendChild(document.createTextNode("send feedback"));
     78    node.appendChild(button);
     79  }
     80  else {
     81    var buttons = node.getElementsByTagName("a");
     82    for (var i = 0; i < buttons.length; i++) {
     83      var b = buttons.item(i);
     84      if (b.getAttribute("class") == "fbbutton") {
     85        node.removeChild(b);
     86      }
     87    }
     88  }
     89}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    990a {
    1091  text-decoration: none;
     
    276357  background-color: yellow;
    277358}
    278 
     359.feedback {
     360  position: fixed;
     361  bottom: 1%;
     362  right: 1%;
     363  padding: 3px 5px;
     364  color: white;
     365  border-radius: 5px;
     366  background: #a00000;
     367  border: 1px solid silver;
     368}
     369.fbbutton {
     370  margin-left: 1em;
     371  color: #303030;
     372  font-size: small;
     373  font-weight: normal;
     374  background: #d0d000;
     375  padding: 1px 4px;
     376  border: 1px solid silver;
     377  border-radius: 5px;
     378}
    279379
    280380@media print {
     
    319419  }
    320420  @top-right {
    321        content: "January 2012";
     421       content: "February 2012";
    322422  }
    323423  @top-center {
     
    328428  }
    329429  @bottom-center {
    330        content: "Expires July 5, 2012";
     430       content: "Expires August 4, 2012";
    331431  }
    332432  @bottom-right {
     
    355455      <link rel="Appendix" title="A Initial Registry Contents" href="#rfc.section.A">
    356456      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    357       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     457      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    358458      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    359459      <meta name="dct.creator" content="Reschke, J. F.">
    360460      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-authscheme-registrations-latest">
    361       <meta name="dct.issued" scheme="ISO8601" content="2012-01-02">
     461      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    362462      <meta name="dct.abstract" content="This document registers Hypertext Transfer Protocol (HTTP) authentication schemes which have been defined in standards-track RFCs before the IANA HTTP Authentication Scheme Registry was established.">
    363463      <meta name="description" content="This document registers Hypertext Transfer Protocol (HTTP) authentication schemes which have been defined in standards-track RFCs before the IANA HTTP Authentication Scheme Registry was established.">
    364464   </head>
    365    <body>
     465   <body onload="init();">
    366466      <table class="header">
    367467         <tbody>
     
    376476            <tr>
    377477               <td class="left">Intended status: Informational</td>
    378                <td class="right">January 2, 2012</td>
     478               <td class="right">February 1, 2012</td>
    379479            </tr>
    380480            <tr>
    381                <td class="left">Expires: July 5, 2012</td>
     481               <td class="left">Expires: August 4, 2012</td>
    382482               <td class="right"></td>
    383483            </tr>
     
    406506         in progress”.
    407507      </p>
    408       <p>This Internet-Draft will expire on July 5, 2012.</p>
     508      <p>This Internet-Draft will expire on August 4, 2012.</p>
    409509      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    410510      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
  • draft-ietf-httpbis-authscheme-registrations/latest/draft-ietf-httpbis-authscheme-registrations.xml

    r1501 r1522  
    2424]>
    2525<rfc xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:ed="http://greenbytes.de/2002/rfcedit" ipr="trust200902" docName="draft-ietf-httpbis-authscheme-registrations-latest" category="info">
     26<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    2627        <front>
    2728  <title abbrev="HTTP Authentication Scheme Registrations">Initial Hypertext&#160;Transfer&#160;Protocol&#160;(HTTP)
     
    4142  </author>
    4243
    43   <date month="January" year="2012"/>
     44  <date month="February" year="2012"/>
    4445  <workgroup>HTTPbis Working Group</workgroup>
    4546 
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.html

    r1504 r1522  
    66      <title>Initial Hypertext&nbsp;Transfer&nbsp;Protocol&nbsp;(HTTP)
    77         Method&nbsp;Registrations
    8       </title><style type="text/css" title="Xml2Rfc (sans serif)">
     8      </title><script>
     9var buttonsAdded = false;
     10
     11function init() {
     12  var fb = document.createElement("div");
     13  fb.setAttribute("class", "feedback");
     14  fb.setAttribute("onclick", "feedback();");
     15  fb.appendChild(document.createTextNode("feedback"));
     16
     17  var bodyl = document.getElementsByTagName("body");
     18  bodyl.item(0).appendChild(fb);
     19}
     20
     21function feedback() {
     22  toggleButtonsToElementsByName("h1");
     23  toggleButtonsToElementsByName("h2");
     24  toggleButtonsToElementsByName("h3");
     25  toggleButtonsToElementsByName("h4");
     26 
     27  buttonsAdded = !buttonsAdded;
     28}
     29
     30function toggleButtonsToElementsByName(name) {
     31  var list = document.getElementsByTagName(name);
     32  for (var i = 0; i < list.length; i++) {
     33    toggleButton(list.item(i));
     34  }
     35}
     36
     37function toggleButton(node) {
     38  if (! buttonsAdded) {
     39 
     40    // docname
     41    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     42
     43    var id = node.getAttribute("id");
     44    // better id available?
     45    var titlelinks = node.getElementsByTagName("a");
     46    for (var i = 0; i < titlelinks.length; i++) {
     47      var tl = titlelinks.item(i);
     48      if (tl.getAttribute("id")) {
     49        id = tl.getAttribute("id");
     50      }
     51    }
     52
     53    // ref
     54    var ref = window.location.toString();
     55    var hash = ref.indexOf("#");
     56    if (hash != -1) {
     57      ref = ref.substring(0, hash);
     58    }
     59    if (id != "") {
     60      ref += "#" + id;
     61    }
     62   
     63    // docname
     64    var docname = "draft-ietf-httpbis-method-registrations-latest";
     65
     66    // section
     67    var section = node.textContent;
     68   
     69    // build URI from template
     70    var uri = template.replace("{docname}", encodeURIComponent(docname));
     71    uri = uri.replace("{section}", encodeURIComponent(section));
     72    uri = uri.replace("{ref}", encodeURIComponent(ref));
     73 
     74    var button = document.createElement("a");
     75    button.setAttribute("class", "fbbutton");
     76    button.setAttribute("href", uri);
     77    button.appendChild(document.createTextNode("send feedback"));
     78    node.appendChild(button);
     79  }
     80  else {
     81    var buttons = node.getElementsByTagName("a");
     82    for (var i = 0; i < buttons.length; i++) {
     83      var b = buttons.item(i);
     84      if (b.getAttribute("class") == "fbbutton") {
     85        node.removeChild(b);
     86      }
     87    }
     88  }
     89}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    990a {
    1091  text-decoration: none;
     
    276357  background-color: yellow;
    277358}
    278 
     359.feedback {
     360  position: fixed;
     361  bottom: 1%;
     362  right: 1%;
     363  padding: 3px 5px;
     364  color: white;
     365  border-radius: 5px;
     366  background: #a00000;
     367  border: 1px solid silver;
     368}
     369.fbbutton {
     370  margin-left: 1em;
     371  color: #303030;
     372  font-size: small;
     373  font-weight: normal;
     374  background: #d0d000;
     375  padding: 1px 4px;
     376  border: 1px solid silver;
     377  border-radius: 5px;
     378}
    279379
    280380@media print {
     
    319419  }
    320420  @top-right {
    321        content: "January 2012";
     421       content: "February 2012";
    322422  }
    323423  @top-center {
     
    328428  }
    329429  @bottom-center {
    330        content: "Expires July 7, 2012";
     430       content: "Expires August 4, 2012";
    331431  }
    332432  @bottom-right {
     
    355455      <link rel="Appendix" title="A Initial Registry Contents" href="#rfc.section.A">
    356456      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    357       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     457      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    358458      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    359459      <meta name="dct.creator" content="Reschke, J. F.">
    360460      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-method-registrations-latest">
    361       <meta name="dct.issued" scheme="ISO8601" content="2012-01-04">
     461      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    362462      <meta name="dct.abstract" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in standards-track RFCs before the IANA HTTP Method Registry was established.">
    363463      <meta name="description" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in standards-track RFCs before the IANA HTTP Method Registry was established.">
    364464   </head>
    365    <body>
     465   <body onload="init();">
    366466      <table class="header">
    367467         <tbody>
     
    376476            <tr>
    377477               <td class="left">Intended status: Informational</td>
    378                <td class="right">January 4, 2012</td>
     478               <td class="right">February 1, 2012</td>
    379479            </tr>
    380480            <tr>
    381                <td class="left">Expires: July 7, 2012</td>
     481               <td class="left">Expires: August 4, 2012</td>
    382482               <td class="right"></td>
    383483            </tr>
     
    406506         in progress”.
    407507      </p>
    408       <p>This Internet-Draft will expire on July 7, 2012.</p>
     508      <p>This Internet-Draft will expire on August 4, 2012.</p>
    409509      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    410510      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.xml

    r1502 r1522  
    2424]>
    2525<rfc xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:ed="http://greenbytes.de/2002/rfcedit" ipr="trust200902" docName="draft-ietf-httpbis-method-registrations-latest" category="info">
     26<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    2627        <front>
    2728  <title abbrev="HTTP Method Registrations">Initial Hypertext&#160;Transfer&#160;Protocol&#160;(HTTP)
     
    4142  </author>
    4243
    43   <date month="January" year="2012"/>
     44  <date month="February" year="2012"/>
    4445  <workgroup>HTTPbis Working Group</workgroup>
    4546 
  • draft-ietf-httpbis/latest/p1-messaging.html

    r1520 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p1-messaging-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 1, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    396496      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
    397497      <link href="p2-semantics.html" rel="next">
    398       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     498      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    399499      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    400500      <meta name="dct.creator" content="Fielding, R.">
     
    408508      <meta name="dct.creator" content="Reschke, J. F.">
    409509      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p1-messaging-latest">
    410       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     510      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    411511      <meta name="dct.replaces" content="urn:ietf:rfc:2145">
    412512      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
     
    414514      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 1 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616 and moves it to historic status, along with its predecessor RFC 2068. Part 1 provides an overview of HTTP and its associated terminology, defines the &#34;http&#34; and &#34;https&#34; Uniform Resource Identifier (URI) schemes, defines the generic message syntax and parsing requirements for HTTP message frames, and describes general security concerns for implementations. This part also obsoletes RFCs 2145 (on HTTP version numbers) and 2817 (on using CONNECT for TLS upgrades) and moves them to historic status.">
    415515   </head>
    416    <body>
     516   <body onload="init();">
    417517      <table class="header">
    418518         <tbody>
     
    440540            </tr>
    441541            <tr>
    442                <td class="left">Expires: August 1, 2012</td>
     542               <td class="left">Expires: August 4, 2012</td>
    443543               <td class="right">HP</td>
    444544            </tr>
     
    493593            <tr>
    494594               <td class="left"></td>
    495                <td class="right">January 29, 2012</td>
     595               <td class="right">February 1, 2012</td>
    496596            </tr>
    497597         </tbody>
     
    526626         in progress”.
    527627      </p>
    528       <p>This Internet-Draft will expire on August 1, 2012.</p>
     628      <p>This Internet-Draft will expire on August 4, 2012.</p>
    529629      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    530630      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    27022802         <tr>
    27032803            <td class="reference"><b id="Part2">[Part2]</b></td>
    2704             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2012.
     2804            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2012.
    27052805            </td>
    27062806         </tr>
    27072807         <tr>
    27082808            <td class="reference"><b id="Part3">[Part3]</b></td>
    2709             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), January&nbsp;2012.
     2809            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), February&nbsp;2012.
    27102810            </td>
    27112811         </tr>
    27122812         <tr>
    27132813            <td class="reference"><b id="Part6">[Part6]</b></td>
    2714             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2012.
     2814            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2012.
    27152815            </td>
    27162816         </tr>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r1520 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY mdash "&#8212;">
     
    5959     xmlns:x='http://purl.org/net/xml2rfc/ext'>
    6060<x:link rel="next" basename="p2-semantics"/>
     61<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    6162<front>
    6263
  • draft-ietf-httpbis/latest/p2-semantics.html

    r1521 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 2: Message Semantics</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 2: Message Semantics</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p2-semantics-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 3, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    398498      <link href="p1-messaging.html" rel="prev">
    399499      <link href="p3-payload.html" rel="next">
    400       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     500      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    401501      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    402502      <meta name="dct.creator" content="Fielding, R.">
     
    410510      <meta name="dct.creator" content="Reschke, J. F.">
    411511      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p2-semantics-latest">
    412       <meta name="dct.issued" scheme="ISO8601" content="2012-01-31">
     512      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    413513      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    414514      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 2 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 2 defines the semantics of HTTP messages as expressed by request methods, request header fields, response status codes, and response header fields.">
    415515      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 2 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 2 defines the semantics of HTTP messages as expressed by request methods, request header fields, response status codes, and response header fields.">
    416516   </head>
    417    <body>
     517   <body onload="init();">
    418518      <table class="header">
    419519         <tbody>
     
    441541            </tr>
    442542            <tr>
    443                <td class="left">Expires: August 3, 2012</td>
     543               <td class="left">Expires: August 4, 2012</td>
    444544               <td class="right">HP</td>
    445545            </tr>
     
    494594            <tr>
    495595               <td class="left"></td>
    496                <td class="right">January 31, 2012</td>
     596               <td class="right">February 1, 2012</td>
    497597            </tr>
    498598         </tbody>
     
    524624         in progress”.
    525625      </p>
    526       <p>This Internet-Draft will expire on August 3, 2012.</p>
     626      <p>This Internet-Draft will expire on August 4, 2012.</p>
    527627      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    528628      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    28782978         <tr>
    28792979            <td class="reference"><b id="Part1">[Part1]</b></td>
    2880             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     2980            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    28812981            </td>
    28822982         </tr>
    28832983         <tr>
    28842984            <td class="reference"><b id="Part3">[Part3]</b></td>
    2885             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), January&nbsp;2012.
     2985            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), February&nbsp;2012.
    28862986            </td>
    28872987         </tr>
    28882988         <tr>
    28892989            <td class="reference"><b id="Part4">[Part4]</b></td>
    2890             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2012.
     2990            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2012.
    28912991            </td>
    28922992         </tr>
    28932993         <tr>
    28942994            <td class="reference"><b id="Part5">[Part5]</b></td>
    2895             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2012.
     2995            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2012.
    28962996            </td>
    28972997         </tr>
    28982998         <tr>
    28992999            <td class="reference"><b id="Part6">[Part6]</b></td>
    2900             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2012.
     3000            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2012.
    29013001            </td>
    29023002         </tr>
    29033003         <tr>
    29043004            <td class="reference"><b id="Part7">[Part7]</b></td>
    2905             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-latest">HTTP/1.1, part 7: Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2012.
     3005            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-latest">HTTP/1.1, part 7: Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), February&nbsp;2012.
    29063006            </td>
    29073007         </tr>
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r1521 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY mdash "&#8212;">
     
    106106<x:link rel="prev" basename="p1-messaging"/>
    107107<x:link rel="next" basename="p3-payload"/>
     108<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    108109<front>
    109110
  • draft-ietf-httpbis/latest/p3-payload.html

    r1520 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 3: Message Payload and Content Negotiation</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 3: Message Payload and Content Negotiation</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p3-payload-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 1, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    397497      <link href="p2-semantics.html" rel="prev">
    398498      <link href="p4-conditional.html" rel="next">
    399       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     499      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    400500      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    401501      <meta name="dct.creator" content="Fielding, R.">
     
    409509      <meta name="dct.creator" content="Reschke, J. F.">
    410510      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest">
    411       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     511      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    412512      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    413513      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation.">
    414514      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation.">
    415515   </head>
    416    <body>
     516   <body onload="init();">
    417517      <table class="header">
    418518         <tbody>
     
    435535            </tr>
    436536            <tr>
    437                <td class="left">Expires: August 1, 2012</td>
     537               <td class="left">Expires: August 4, 2012</td>
    438538               <td class="right">J. Mogul</td>
    439539            </tr>
     
    492592            <tr>
    493593               <td class="left"></td>
    494                <td class="right">January 29, 2012</td>
     594               <td class="right">February 1, 2012</td>
    495595            </tr>
    496596         </tbody>
     
    520620         in progress”.
    521621      </p>
    522       <p>This Internet-Draft will expire on August 1, 2012.</p>
     622      <p>This Internet-Draft will expire on August 4, 2012.</p>
    523623      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    524624      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    15031603         <tr>
    15041604            <td class="reference"><b id="Part1">[Part1]</b></td>
    1505             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     1605            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    15061606            </td>
    15071607         </tr>
    15081608         <tr>
    15091609            <td class="reference"><b id="Part2">[Part2]</b></td>
    1510             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2012.
     1610            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2012.
    15111611            </td>
    15121612         </tr>
    15131613         <tr>
    15141614            <td class="reference"><b id="Part4">[Part4]</b></td>
    1515             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2012.
     1615            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2012.
    15161616            </td>
    15171617         </tr>
    15181618         <tr>
    15191619            <td class="reference"><b id="Part5">[Part5]</b></td>
    1520             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2012.
     1620            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2012.
    15211621            </td>
    15221622         </tr>
    15231623         <tr>
    15241624            <td class="reference"><b id="Part6">[Part6]</b></td>
    1525             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2012.
     1625            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2012.
    15261626            </td>
    15271627         </tr>
  • draft-ietf-httpbis/latest/p3-payload.xml

    r1520 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY mdash "&#8212;">
     
    6060<x:link rel="prev" basename="p2-semantics"/>
    6161<x:link rel="next" basename="p4-conditional"/>
     62<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    6263<front>
    6364
  • draft-ietf-httpbis/latest/p4-conditional.html

    r1519 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 4: Conditional Requests</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 4: Conditional Requests</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p4-conditional-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 1, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    393493      <link href="p3-payload.html" rel="prev">
    394494      <link href="p5-range.html" rel="next">
    395       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     495      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    396496      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    397497      <meta name="dct.creator" content="Fielding, R.">
     
    405505      <meta name="dct.creator" content="Reschke, J. F.">
    406506      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p4-conditional-latest">
    407       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     507      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    408508      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    409509      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 4 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 4 defines request header fields for indicating conditional requests and the rules for constructing responses to those requests.">
    410510      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 4 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 4 defines request header fields for indicating conditional requests and the rules for constructing responses to those requests.">
    411511   </head>
    412    <body>
     512   <body onload="init();">
    413513      <table class="header">
    414514         <tbody>
     
    431531            </tr>
    432532            <tr>
    433                <td class="left">Expires: August 1, 2012</td>
     533               <td class="left">Expires: August 4, 2012</td>
    434534               <td class="right">J. Mogul</td>
    435535            </tr>
     
    488588            <tr>
    489589               <td class="left"></td>
    490                <td class="right">January 29, 2012</td>
     590               <td class="right">February 1, 2012</td>
    491591            </tr>
    492592         </tbody>
     
    518618         in progress”.
    519619      </p>
    520       <p>This Internet-Draft will expire on August 1, 2012.</p>
     620      <p>This Internet-Draft will expire on August 4, 2012.</p>
    521621      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    522622      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    12191319         <tr>
    12201320            <td class="reference"><b id="Part1">[Part1]</b></td>
    1221             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     1321            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    12221322            </td>
    12231323         </tr>
    12241324         <tr>
    12251325            <td class="reference"><b id="Part2">[Part2]</b></td>
    1226             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2012.
     1326            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2012.
    12271327            </td>
    12281328         </tr>
    12291329         <tr>
    12301330            <td class="reference"><b id="Part3">[Part3]</b></td>
    1231             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), January&nbsp;2012.
     1331            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-latest">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-latest (work in progress), February&nbsp;2012.
    12321332            </td>
    12331333         </tr>
    12341334         <tr>
    12351335            <td class="reference"><b id="Part5">[Part5]</b></td>
    1236             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2012.
     1336            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2012.
    12371337            </td>
    12381338         </tr>
    12391339         <tr>
    12401340            <td class="reference"><b id="Part6">[Part6]</b></td>
    1241             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2012.
     1341            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2012.
    12421342            </td>
    12431343         </tr>
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r1518 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY architecture               "<xref target='Part1' x:rel='#architecture' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
     
    4949<x:link rel="prev" basename="p3-payload"/>
    5050<x:link rel="next" basename="p5-range"/>
     51<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    5152<front>
    5253
  • draft-ietf-httpbis/latest/p5-range.html

    r1519 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 5: Range Requests and Partial Responses</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 5: Range Requests and Partial Responses</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p5-range-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 1, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    395495      <link href="p4-conditional.html" rel="prev">
    396496      <link href="p6-cache.html" rel="next">
    397       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     497      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    398498      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    399499      <meta name="dct.creator" content="Fielding, R.">
     
    407507      <meta name="dct.creator" content="Reschke, J. F.">
    408508      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p5-range-latest">
    409       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     509      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    410510      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    411511      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 5 defines range-specific requests and the rules for constructing and combining responses to those requests.">
    412512      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 5 defines range-specific requests and the rules for constructing and combining responses to those requests.">
    413513   </head>
    414    <body>
     514   <body onload="init();">
    415515      <table class="header">
    416516         <tbody>
     
    433533            </tr>
    434534            <tr>
    435                <td class="left">Expires: August 1, 2012</td>
     535               <td class="left">Expires: August 4, 2012</td>
    436536               <td class="right">J. Mogul</td>
    437537            </tr>
     
    490590            <tr>
    491591               <td class="left"></td>
    492                <td class="right">January 29, 2012</td>
     592               <td class="right">February 1, 2012</td>
    493593            </tr>
    494594         </tbody>
     
    518618         in progress”.
    519619      </p>
    520       <p>This Internet-Draft will expire on August 1, 2012.</p>
     620      <p>This Internet-Draft will expire on August 4, 2012.</p>
    521621      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    522622      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    10721172         <tr>
    10731173            <td class="reference"><b id="Part1">[Part1]</b></td>
    1074             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     1174            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    10751175            </td>
    10761176         </tr>
    10771177         <tr>
    10781178            <td class="reference"><b id="Part2">[Part2]</b></td>
    1079             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2012.
     1179            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2012.
    10801180            </td>
    10811181         </tr>
    10821182         <tr>
    10831183            <td class="reference"><b id="Part4">[Part4]</b></td>
    1084             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2012.
     1184            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2012.
    10851185            </td>
    10861186         </tr>
  • draft-ietf-httpbis/latest/p5-range.xml

    r1518 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY architecture               "<xref target='Part1' x:rel='#architecture' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
     
    4444<x:link rel="prev" basename="p4-conditional"/>
    4545<x:link rel="next" basename="p6-cache"/>
     46<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    4647<front>
    4748
  • draft-ietf-httpbis/latest/p6-cache.html

    r1519 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 6: Caching</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 6: Caching</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p6-cache-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    309390  background-color: yellow;
    310391}
    311 
     392.feedback {
     393  position: fixed;
     394  bottom: 1%;
     395  right: 1%;
     396  padding: 3px 5px;
     397  color: white;
     398  border-radius: 5px;
     399  background: #a00000;
     400  border: 1px solid silver;
     401}
     402.fbbutton {
     403  margin-left: 1em;
     404  color: #303030;
     405  font-size: small;
     406  font-weight: normal;
     407  background: #d0d000;
     408  padding: 1px 4px;
     409  border: 1px solid silver;
     410  border-radius: 5px;
     411}
    312412
    313413@media print {
     
    352452  }
    353453  @top-right {
    354        content: "January 2012";
     454       content: "February 2012";
    355455  }
    356456  @top-center {
     
    361461  }
    362462  @bottom-center {
    363        content: "Expires August 1, 2012";
     463       content: "Expires August 4, 2012";
    364464  }
    365465  @bottom-right {
     
    396496      <link href="p5-range.html" rel="prev">
    397497      <link href="p7-auth.html" rel="next">
    398       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     498      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    399499      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    400500      <meta name="dct.creator" content="Fielding, R.">
     
    409509      <meta name="dct.creator" content="Reschke, J. F.">
    410510      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p6-cache-latest">
    411       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     511      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    412512      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    413513      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 6 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 6 defines requirements on HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
    414514      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypertext information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 6 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 6 defines requirements on HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
    415515   </head>
    416    <body>
     516   <body onload="init();">
    417517      <table class="header">
    418518         <tbody>
     
    435535            </tr>
    436536            <tr>
    437                <td class="left">Expires: August 1, 2012</td>
     537               <td class="left">Expires: August 4, 2012</td>
    438538               <td class="right">J. Mogul</td>
    439539            </tr>
     
    500600            <tr>
    501601               <td class="left"></td>
    502                <td class="right">January 29, 2012</td>
     602               <td class="right">February 1, 2012</td>
    503603            </tr>
    504604         </tbody>
     
    530630         in progress”.
    531631      </p>
    532       <p>This Internet-Draft will expire on August 1, 2012.</p>
     632      <p>This Internet-Draft will expire on August 4, 2012.</p>
    533633      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    534634      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    18161916         <tr>
    18171917            <td class="reference"><b id="Part1">[Part1]</b></td>
    1818             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     1918            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    18191919            </td>
    18201920         </tr>
    18211921         <tr>
    18221922            <td class="reference"><b id="Part2">[Part2]</b></td>
    1823             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2012.
     1923            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2012.
    18241924            </td>
    18251925         </tr>
    18261926         <tr>
    18271927            <td class="reference"><b id="Part4">[Part4]</b></td>
    1828             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2012.
     1928            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2012.
    18291929            </td>
    18301930         </tr>
    18311931         <tr>
    18321932            <td class="reference"><b id="Part5">[Part5]</b></td>
    1833             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2012.
     1933            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2012.
    18341934            </td>
    18351935         </tr>
    18361936         <tr>
    18371937            <td class="reference"><b id="Part7">[Part7]</b></td>
    1838             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-latest">HTTP/1.1, part 7: Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2012.
     1938            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-latest">HTTP/1.1, part 7: Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), February&nbsp;2012.
    18391939            </td>
    18401940         </tr>
  • draft-ietf-httpbis/latest/p6-cache.xml

    r1518 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY architecture                "<xref target='Part1' x:rel='#architecture' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
     
    5757<x:link rel="prev" basename="p5-range"/>
    5858<x:link rel="next" basename="p7-auth"/>
     59<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    5960<front>
    6061
  • draft-ietf-httpbis/latest/p7-auth.html

    r1519 r1522  
    44   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
    55      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6       <title>HTTP/1.1, part 7: Authentication</title><style type="text/css" title="Xml2Rfc (sans serif)">
     6      <title>HTTP/1.1, part 7: Authentication</title><script>
     7var buttonsAdded = false;
     8
     9function init() {
     10  var fb = document.createElement("div");
     11  fb.setAttribute("class", "feedback");
     12  fb.setAttribute("onclick", "feedback();");
     13  fb.appendChild(document.createTextNode("feedback"));
     14
     15  var bodyl = document.getElementsByTagName("body");
     16  bodyl.item(0).appendChild(fb);
     17}
     18
     19function feedback() {
     20  toggleButtonsToElementsByName("h1");
     21  toggleButtonsToElementsByName("h2");
     22  toggleButtonsToElementsByName("h3");
     23  toggleButtonsToElementsByName("h4");
     24 
     25  buttonsAdded = !buttonsAdded;
     26}
     27
     28function toggleButtonsToElementsByName(name) {
     29  var list = document.getElementsByTagName(name);
     30  for (var i = 0; i < list.length; i++) {
     31    toggleButton(list.item(i));
     32  }
     33}
     34
     35function toggleButton(node) {
     36  if (! buttonsAdded) {
     37 
     38    // docname
     39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
     40
     41    var id = node.getAttribute("id");
     42    // better id available?
     43    var titlelinks = node.getElementsByTagName("a");
     44    for (var i = 0; i < titlelinks.length; i++) {
     45      var tl = titlelinks.item(i);
     46      if (tl.getAttribute("id")) {
     47        id = tl.getAttribute("id");
     48      }
     49    }
     50
     51    // ref
     52    var ref = window.location.toString();
     53    var hash = ref.indexOf("#");
     54    if (hash != -1) {
     55      ref = ref.substring(0, hash);
     56    }
     57    if (id != "") {
     58      ref += "#" + id;
     59    }
     60   
     61    // docname
     62    var docname = "draft-ietf-httpbis-p7-auth-latest";
     63
     64    // section
     65    var section = node.textContent;
     66   
     67    // build URI from template
     68    var uri = template.replace("{docname}", encodeURIComponent(docname));
     69    uri = uri.replace("{section}", encodeURIComponent(section));
     70    uri = uri.replace("{ref}", encodeURIComponent(ref));
     71 
     72    var button = document.createElement("a");
     73    button.setAttribute("class", "fbbutton");
     74    button.setAttribute("href", uri);
     75    button.appendChild(document.createTextNode("send feedback"));
     76    node.appendChild(button);
     77  }
     78  else {
     79    var buttons = node.getElementsByTagName("a");
     80    for (var i = 0; i < buttons.length; i++) {
     81      var b = buttons.item(i);
     82      if (b.getAttribute("class") == "fbbutton") {
     83        node.removeChild(b);
     84      }
     85    }
     86  }
     87}</script><style type="text/css" title="Xml2Rfc (sans serif)">
    788a {
    889  text-decoration: none;
     
    306387  background-color: yellow;
    307388}
    308 
     389.feedback {
     390  position: fixed;
     391  bottom: 1%;
     392  right: 1%;
     393  padding: 3px 5px;
     394  color: white;
     395  border-radius: 5px;
     396  background: #a00000;
     397  border: 1px solid silver;
     398}
     399.fbbutton {
     400  margin-left: 1em;
     401  color: #303030;
     402  font-size: small;
     403  font-weight: normal;
     404  background: #d0d000;
     405  padding: 1px 4px;
     406  border: 1px solid silver;
     407  border-radius: 5px;
     408}
    309409
    310410@media print {
     
    349449  }
    350450  @top-right {
    351        content: "January 2012";
     451       content: "February 2012";
    352452  }
    353453  @top-center {
     
    358458  }
    359459  @bottom-center {
    360        content: "Expires August 1, 2012";
     460       content: "Expires August 4, 2012";
    361461  }
    362462  @bottom-right {
     
    392492      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
    393493      <link href="p6-cache.html" rel="prev">
    394       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     494      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    395495      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    396496      <meta name="dct.creator" content="Fielding, R.">
     
    404504      <meta name="dct.creator" content="Reschke, J. F.">
    405505      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p7-auth-latest">
    406       <meta name="dct.issued" scheme="ISO8601" content="2012-01-29">
     506      <meta name="dct.issued" scheme="ISO8601" content="2012-02-01">
    407507      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    408508      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 7 defines the HTTP Authentication framework.">
    409509      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 7 defines the HTTP Authentication framework.">
    410510   </head>
    411    <body>
     511   <body onload="init();">
    412512      <table class="header">
    413513         <tbody>
     
    435535            </tr>
    436536            <tr>
    437                <td class="left">Expires: August 1, 2012</td>
     537               <td class="left">Expires: August 4, 2012</td>
    438538               <td class="right">HP</td>
    439539            </tr>
     
    488588            <tr>
    489589               <td class="left"></td>
    490                <td class="right">January 29, 2012</td>
     590               <td class="right">February 1, 2012</td>
    491591            </tr>
    492592         </tbody>
     
    516616         in progress”.
    517617      </p>
    518       <p>This Internet-Draft will expire on August 1, 2012.</p>
     618      <p>This Internet-Draft will expire on August 4, 2012.</p>
    519619      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
    520620      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
     
    9831083         <tr>
    9841084            <td class="reference"><b id="Part1">[Part1]</b></td>
    985             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2012.
     1085            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2012.
    9861086            </td>
    9871087         </tr>
    9881088         <tr>
    9891089            <td class="reference"><b id="Part6">[Part6]</b></td>
    990             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2012.
     1090            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Rackspace">Nottingham, M., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2012.
    9911091            </td>
    9921092         </tr>
  • draft-ietf-httpbis/latest/p7-auth.xml

    r1518 r1522  
    1313  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
    1414  <!ENTITY ID-VERSION "latest">
    15   <!ENTITY ID-MONTH "January">
     15  <!ENTITY ID-MONTH "February">
    1616  <!ENTITY ID-YEAR "2012">
    1717  <!ENTITY mdash "&#8212;">
     
    4343     xmlns:x='http://purl.org/net/xml2rfc/ext'>
    4444<x:link rel="prev" basename="p6-cache"/>
     45<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
    4546<front>
    4647
  • rfc2629xslt/clean-for-DTD.xslt

    r1426 r1522  
    139139<xsl:template match="x:link" mode="cleanup"/>
    140140<xsl:template match="x:source" mode="cleanup"/>
     141<xsl:template match="x:feedback" mode="cleanup"/>
    141142
    142143<xsl:template match="x:parse-xml" mode="cleanup">
  • rfc2629xslt/rfc2629.xslt

    r1497 r1522  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2011, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2012, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    10811081
    10821082<xsl:template match="front">
    1083  
    10841083  <xsl:if test="$xml2rfc-topblock!='no'">
    10851084    <!-- collect information for left column -->
     
    18991898        <xsl:apply-templates select="front/title" mode="get-text-content" />
    19001899      </title>
     1900      <xsl:call-template name="insertScript" />
    19011901      <xsl:call-template name="insertCss" />
    19021902      <!-- <link rel="alternate stylesheet" type="text/css" media="screen" title="Plain (typewriter)" href="rfc2629tty.css" /> -->
     
    20112011    </head>
    20122012    <body>
     2013      <xsl:if test="/rfc/x:feedback">
     2014        <xsl:attribute name="onload">init();</xsl:attribute>
     2015      </xsl:if>
     2016   
    20132017      <!-- insert diagnostics -->
    20142018      <xsl:call-template name="insert-diagnostics"/>
     
    32713275</xsl:template>
    32723276
     3277<!-- optional scripts -->
     3278<xsl:template name="insertScript">
     3279<xsl:if test="/rfc/x:feedback">
     3280<script>
     3281var buttonsAdded = false;
     3282
     3283function init() {
     3284  var fb = document.createElement("div");
     3285  fb.setAttribute("class", "feedback");
     3286  fb.setAttribute("onclick", "feedback();");
     3287  fb.appendChild(document.createTextNode("feedback"));
     3288
     3289  var bodyl = document.getElementsByTagName("body");
     3290  bodyl.item(0).appendChild(fb);
     3291}
     3292
     3293function feedback() {
     3294  toggleButtonsToElementsByName("h1");
     3295  toggleButtonsToElementsByName("h2");
     3296  toggleButtonsToElementsByName("h3");
     3297  toggleButtonsToElementsByName("h4");
     3298 
     3299  buttonsAdded = !buttonsAdded;
     3300}
     3301
     3302function toggleButtonsToElementsByName(name) {
     3303  var list = document.getElementsByTagName(name);
     3304  for (var i = 0; i &lt; list.length; i++) {
     3305    toggleButton(list.item(i));
     3306  }
     3307}
     3308
     3309function toggleButton(node) {
     3310  if (! buttonsAdded) {
     3311 
     3312    // docname
     3313    var template = "<xsl:call-template name="replace-substring">
     3314  <xsl:with-param name="string" select="/rfc/x:feedback/@template"/>
     3315  <xsl:with-param name="replace">"</xsl:with-param>
     3316  <xsl:with-param name="by">\"</xsl:with-param>
     3317</xsl:call-template>";
     3318
     3319    var id = node.getAttribute("id");
     3320    // better id available?
     3321    var titlelinks = node.getElementsByTagName("a");
     3322    for (var i = 0; i &lt; titlelinks.length; i++) {
     3323      var tl = titlelinks.item(i);
     3324      if (tl.getAttribute("id")) {
     3325        id = tl.getAttribute("id");
     3326      }
     3327    }
     3328
     3329    // ref
     3330    var ref = window.location.toString();
     3331    var hash = ref.indexOf("#");
     3332    if (hash != -1) {
     3333      ref = ref.substring(0, hash);
     3334    }
     3335    if (id != "") {
     3336      ref += "#" + id;
     3337    }
     3338   
     3339    // docname
     3340    var docname = "<xsl:value-of select="/rfc/@docName"/>";
     3341
     3342    // section
     3343    var section = node.textContent;
     3344   
     3345    // build URI from template
     3346    var uri = template.replace("{docname}", encodeURIComponent(docname));
     3347    uri = uri.replace("{section}", encodeURIComponent(section));
     3348    uri = uri.replace("{ref}", encodeURIComponent(ref));
     3349 
     3350    var button = document.createElement("a");
     3351    button.setAttribute("class", "fbbutton");
     3352    button.setAttribute("href", uri);
     3353    button.appendChild(document.createTextNode("send feedback"));
     3354    node.appendChild(button);
     3355  }
     3356  else {
     3357    var buttons = node.getElementsByTagName("a");
     3358    for (var i = 0; i &lt; buttons.length; i++) {
     3359      var b = buttons.item(i);
     3360      if (b.getAttribute("class") == "fbbutton") {
     3361        node.removeChild(b);
     3362      }
     3363    }
     3364  }
     3365}</script>
     3366</xsl:if>
     3367</xsl:template>
    32733368
    32743369<!-- insert CSS style info -->
     
    36773772  font-size: smaller;
    36783773  font-weight: bold;
     3774}</xsl:if><xsl:if test="/rfc/x:feedback">.feedback {
     3775  position: fixed;
     3776  bottom: 1%;
     3777  right: 1%;
     3778  padding: 3px 5px;
     3779  color: white;
     3780  border-radius: 5px;
     3781  background: #a00000;
     3782  border: 1px solid silver;
     3783}
     3784.fbbutton {
     3785  margin-left: 1em;
     3786  color: #303030;
     3787  font-size: small;
     3788  font-weight: normal;
     3789  background: #d0d000;
     3790  padding: 1px 4px;
     3791  border: 1px solid silver;
     3792  border-radius: 5px;
    36793793}</xsl:if><xsl:if test="$xml2rfc-ext-justification='always'">
    3680 
    36813794dd, li, p {
    36823795  text-align: justify;
     
    50345147
    50355148<xsl:template name="replace-substring">
    5036 
    50375149  <xsl:param name="string" />
    50385150  <xsl:param name="replace" />
     
    64146526    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    64156527    <!-- when RCS keyword substitution in place, add version info -->
    6416     <xsl:if test="contains('$Revision: 1.561 $',':')">
    6417       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.561 $', 'Revision: '),'$','')),', ')" />
     6528    <xsl:if test="contains('$Revision: 1.564 $',':')">
     6529      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.564 $', 'Revision: '),'$','')),', ')" />
    64186530    </xsl:if>
    6419     <xsl:if test="contains('$Date: 2011-12-24 13:06:50 $',':')">
    6420       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-12-24 13:06:50 $', 'Date: '),'$','')),', ')" />
     6531    <xsl:if test="contains('$Date: 2012-01-28 14:56:56 $',':')">
     6532      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-01-28 14:56:56 $', 'Date: '),'$','')),', ')" />
    64216533    </xsl:if>
    64226534    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
  • rfc2629xslt/rfc2629toXHTML.xslt

    r1497 r1522  
    949949
    950950<xsl:template match="front">
    951  
    952951  <xsl:if test="$xml2rfc-topblock!='no'">
    953952    <!-- collect information for left column -->
     
    17671766        <xsl:apply-templates select="front/title" mode="get-text-content"/>
    17681767      </title>
     1768      <xsl:call-template name="insertScript"/>
    17691769      <xsl:call-template name="insertCss"/>
    17701770      <!-- <link rel="alternate stylesheet" type="text/css" media="screen" title="Plain (typewriter)" href="rfc2629tty.css" /> -->
     
    18791879    </head>
    18801880    <body>
     1881      <xsl:if test="/rfc/x:feedback">
     1882        <xsl:attribute name="onload">init();</xsl:attribute>
     1883      </xsl:if>
     1884   
    18811885      <!-- insert diagnostics -->
    18821886      <xsl:call-template name="insert-diagnostics"/>
     
    31393143</xsl:template>
    31403144
     3145<!-- optional scripts -->
     3146<xsl:template name="insertScript">
     3147<xsl:if test="/rfc/x:feedback">
     3148<script xmlns="http://www.w3.org/1999/xhtml">
     3149var buttonsAdded = false;
     3150
     3151function init() {
     3152  var fb = document.createElement("div");
     3153  fb.setAttribute("class", "feedback");
     3154  fb.setAttribute("onclick", "feedback();");
     3155  fb.appendChild(document.createTextNode("feedback"));
     3156
     3157  var bodyl = document.getElementsByTagName("body");
     3158  bodyl.item(0).appendChild(fb);
     3159}
     3160
     3161function feedback() {
     3162  toggleButtonsToElementsByName("h1");
     3163  toggleButtonsToElementsByName("h2");
     3164  toggleButtonsToElementsByName("h3");
     3165  toggleButtonsToElementsByName("h4");
     3166 
     3167  buttonsAdded = !buttonsAdded;
     3168}
     3169
     3170function toggleButtonsToElementsByName(name) {
     3171  var list = document.getElementsByTagName(name);
     3172  for (var i = 0; i &lt; list.length; i++) {
     3173    toggleButton(list.item(i));
     3174  }
     3175}
     3176
     3177function toggleButton(node) {
     3178  if (! buttonsAdded) {
     3179 
     3180    // docname
     3181    var template = "<xsl:call-template name="replace-substring">
     3182  <xsl:with-param name="string" select="/rfc/x:feedback/@template"/>
     3183  <xsl:with-param name="replace">"</xsl:with-param>
     3184  <xsl:with-param name="by">\"</xsl:with-param>
     3185</xsl:call-template>";
     3186
     3187    var id = node.getAttribute("id");
     3188    // better id available?
     3189    var titlelinks = node.getElementsByTagName("a");
     3190    for (var i = 0; i &lt; titlelinks.length; i++) {
     3191      var tl = titlelinks.item(i);
     3192      if (tl.getAttribute("id")) {
     3193        id = tl.getAttribute("id");
     3194      }
     3195    }
     3196
     3197    // ref
     3198    var ref = window.location.toString();
     3199    var hash = ref.indexOf("#");
     3200    if (hash != -1) {
     3201      ref = ref.substring(0, hash);
     3202    }
     3203    if (id != "") {
     3204      ref += "#" + id;
     3205    }
     3206   
     3207    // docname
     3208    var docname = "<xsl:value-of select="/rfc/@docName"/>";
     3209
     3210    // section
     3211    var section = node.textContent;
     3212   
     3213    // build URI from template
     3214    var uri = template.replace("{docname}", encodeURIComponent(docname));
     3215    uri = uri.replace("{section}", encodeURIComponent(section));
     3216    uri = uri.replace("{ref}", encodeURIComponent(ref));
     3217 
     3218    var button = document.createElement("a");
     3219    button.setAttribute("class", "fbbutton");
     3220    button.setAttribute("href", uri);
     3221    button.appendChild(document.createTextNode("send feedback"));
     3222    node.appendChild(button);
     3223  }
     3224  else {
     3225    var buttons = node.getElementsByTagName("a");
     3226    for (var i = 0; i &lt; buttons.length; i++) {
     3227      var b = buttons.item(i);
     3228      if (b.getAttribute("class") == "fbbutton") {
     3229        node.removeChild(b);
     3230      }
     3231    }
     3232  }
     3233}</script>
     3234</xsl:if>
     3235</xsl:template>
    31413236
    31423237<!-- insert CSS style info -->
     
    35453640  font-size: smaller;
    35463641  font-weight: bold;
     3642}</xsl:if><xsl:if test="/rfc/x:feedback">.feedback {
     3643  position: fixed;
     3644  bottom: 1%;
     3645  right: 1%;
     3646  padding: 3px 5px;
     3647  color: white;
     3648  border-radius: 5px;
     3649  background: #a00000;
     3650  border: 1px solid silver;
     3651}
     3652.fbbutton {
     3653  margin-left: 1em;
     3654  color: #303030;
     3655  font-size: small;
     3656  font-weight: normal;
     3657  background: #d0d000;
     3658  padding: 1px 4px;
     3659  border: 1px solid silver;
     3660  border-radius: 5px;
    35473661}</xsl:if><xsl:if test="$xml2rfc-ext-justification='always'">
    3548 
    35493662dd, li, p {
    35503663  text-align: justify;
     
    48905003
    48915004<xsl:template name="replace-substring">
    4892 
    48935005  <xsl:param name="string"/>
    48945006  <xsl:param name="replace"/>
     
    62696381    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    62706382    <!-- when RCS keyword substitution in place, add version info -->
    6271     <xsl:if test="contains('$Revision: 1.561 $',':')">
    6272       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.561 $', 'Revision: '),'$','')),', ')"/>
     6383    <xsl:if test="contains('$Revision: 1.564 $',':')">
     6384      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.564 $', 'Revision: '),'$','')),', ')"/>
    62736385    </xsl:if>
    6274     <xsl:if test="contains('$Date: 2011-12-24 13:06:50 $',':')">
    6275       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-12-24 13:06:50 $', 'Date: '),'$','')),', ')"/>
     6386    <xsl:if test="contains('$Date: 2012-01-28 14:56:56 $',':')">
     6387      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-01-28 14:56:56 $', 'Date: '),'$','')),', ')"/>
    62766388    </xsl:if>
    62776389    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
  • rfc2629xslt/rfc2629xslt.html

    r1497 r1522  
    382382    }
    383383}
    384 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Utilities" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, epub, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">November 2011</td></tr></tbody></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li>1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li>2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li>2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li>3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li>3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li>3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li>3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li>4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li>5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li>5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li>5.2&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li>6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li>6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li>6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li>6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li>6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li>6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li>7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li>8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li>9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li>9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li>9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li>9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li>9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li>10.&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li>11.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li>11.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li>11.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li>11.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li>11.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li>11.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li>11.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li>11.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li>11.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li>11.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li>11.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li>11.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li>11.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li>11.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li>11.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li>11.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li>11.16&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li>11.17&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li>11.18&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li>11.19&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li>11.20&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li>11.21&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li>11.22&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li>11.23&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li>11.24&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li>11.25&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li>11.26&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li>11.27&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li>12.&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li>12.1&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li>12.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Generating Graphs from References</a></li><li>12.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.3">Producing reference entries for books</a></li><li>12.4&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li>12.5&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li>12.6&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li>13.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li>A.&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li>B.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li>B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li>C.&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li>C.1&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li>C.2&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li>D.&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li>D.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li>D.1.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li>D.1.1.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></li><li>D.1.1.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li>D.1.1.3&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li>D.1.1.4&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li>D.1.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a><ul><li>D.1.2.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li>D.1.2.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li>D.1.2.3&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li>D.1.2.4&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li>D.2&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li>D.3&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li>D.4&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li>D.5&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li>D.6&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li>D.7&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li>D.8&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li>E.&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li>F.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F">Change Logs</a><ul><li>F.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.1">Package</a></li><li>F.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li>F.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.3">check-references.xslt</a></li><li>F.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li>F.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.5">rfc2629.xslt</a></li><li>F.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li>F.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li>F.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li>F.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.9">xsl11toXep.xslt</a></li></ul></li><li><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section&nbsp;10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;12</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
     384</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Utilities" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, epub, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">November 2011</td></tr></tbody></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li>1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li>2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li>2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li>3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li>3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li>3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li>3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li>4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li>5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li>5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li>5.2&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li>6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li>6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li>6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li>6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li>6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li>6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li>7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li>8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li>9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li>9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li>9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li>9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li>9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li>10.&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li>11.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li>11.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li>11.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li>11.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li>11.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li>11.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li>11.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li>11.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li>11.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li>11.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li>11.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li>11.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li>11.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li>11.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li>11.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li>11.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li>11.16&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li>11.17&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li>11.18&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li>11.19&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li>11.20&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li>11.21&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li>11.22&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li>11.23&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li>11.24&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li>11.25&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li>11.26&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li>11.27&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li>12.&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li>12.1&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li>12.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Generating Graphs from References</a></li><li>12.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.3">Producing reference entries for books</a></li><li>12.4&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li>12.5&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li>12.6&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li>13.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li>A.&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li>B.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li>B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li>C.&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li>C.1&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li>C.2&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li>D.&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li>D.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li>D.1.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li>D.1.1.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></li><li>D.1.1.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li>D.1.1.3&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li>D.1.1.4&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li>D.1.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a><ul><li>D.1.2.1&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li>D.1.2.2&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li>D.1.2.3&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li>D.1.2.4&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li>D.2&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li>D.3&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li>D.4&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li>D.5&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li>D.6&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li>D.7&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li>D.8&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li>E.&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li>F.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F">Change Logs</a><ul><li>F.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.1">Package</a></li><li>F.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li>F.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.3">check-references.xslt</a></li><li>F.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li>F.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.5">rfc2629.xslt</a></li><li>F.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li>F.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li>F.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li>F.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.9">xsl11toXep.xslt</a></li></ul></li><li><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section&nbsp;10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;12</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
    385385&lt;?rfc-ext support-rfc2731="no"?&gt;
    386386</pre> <div id="rfc.figure.u.2"></div> <p>Using XSLT parameters (Saxon):</p>  <pre class="text">java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
  • rfc2629xslt/samples/rfc2629.xslt

    r1497 r1522  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2011, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2012, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    10811081
    10821082<xsl:template match="front">
    1083  
    10841083  <xsl:if test="$xml2rfc-topblock!='no'">
    10851084    <!-- collect information for left column -->
     
    18991898        <xsl:apply-templates select="front/title" mode="get-text-content" />
    19001899      </title>
     1900      <xsl:call-template name="insertScript" />
    19011901      <xsl:call-template name="insertCss" />
    19021902      <!-- <link rel="alternate stylesheet" type="text/css" media="screen" title="Plain (typewriter)" href="rfc2629tty.css" /> -->
     
    20112011    </head>
    20122012    <body>
     2013      <xsl:if test="/rfc/x:feedback">
     2014        <xsl:attribute name="onload">init();</xsl:attribute>
     2015      </xsl:if>
     2016   
    20132017      <!-- insert diagnostics -->
    20142018      <xsl:call-template name="insert-diagnostics"/>
     
    32713275</xsl:template>
    32723276
     3277<!-- optional scripts -->
     3278<xsl:template name="insertScript">
     3279<xsl:if test="/rfc/x:feedback">
     3280<script>
     3281var buttonsAdded = false;
     3282
     3283function init() {
     3284  var fb = document.createElement("div");
     3285  fb.setAttribute("class", "feedback");
     3286  fb.setAttribute("onclick", "feedback();");
     3287  fb.appendChild(document.createTextNode("feedback"));
     3288
     3289  var bodyl = document.getElementsByTagName("body");
     3290  bodyl.item(0).appendChild(fb);
     3291}
     3292
     3293function feedback() {
     3294  toggleButtonsToElementsByName("h1");
     3295  toggleButtonsToElementsByName("h2");
     3296  toggleButtonsToElementsByName("h3");
     3297  toggleButtonsToElementsByName("h4");
     3298 
     3299  buttonsAdded = !buttonsAdded;
     3300}
     3301
     3302function toggleButtonsToElementsByName(name) {
     3303  var list = document.getElementsByTagName(name);
     3304  for (var i = 0; i &lt; list.length; i++) {
     3305    toggleButton(list.item(i));
     3306  }
     3307}
     3308
     3309function toggleButton(node) {
     3310  if (! buttonsAdded) {
     3311 
     3312    // docname
     3313    var template = "<xsl:call-template name="replace-substring">
     3314  <xsl:with-param name="string" select="/rfc/x:feedback/@template"/>
     3315  <xsl:with-param name="replace">"</xsl:with-param>
     3316  <xsl:with-param name="by">\"</xsl:with-param>
     3317</xsl:call-template>";
     3318
     3319    var id = node.getAttribute("id");
     3320    // better id available?
     3321    var titlelinks = node.getElementsByTagName("a");
     3322    for (var i = 0; i &lt; titlelinks.length; i++) {
     3323      var tl = titlelinks.item(i);
     3324      if (tl.getAttribute("id")) {
     3325        id = tl.getAttribute("id");
     3326      }
     3327    }
     3328
     3329    // ref
     3330    var ref = window.location.toString();
     3331    var hash = ref.indexOf("#");
     3332    if (hash != -1) {
     3333      ref = ref.substring(0, hash);
     3334    }
     3335    if (id != "") {
     3336      ref += "#" + id;
     3337    }
     3338   
     3339    // docname
     3340    var docname = "<xsl:value-of select="/rfc/@docName"/>";
     3341
     3342    // section
     3343    var section = node.textContent;
     3344   
     3345    // build URI from template
     3346    var uri = template.replace("{docname}", encodeURIComponent(docname));
     3347    uri = uri.replace("{section}", encodeURIComponent(section));
     3348    uri = uri.replace("{ref}", encodeURIComponent(ref));
     3349 
     3350    var button = document.createElement("a");
     3351    button.setAttribute("class", "fbbutton");
     3352    button.setAttribute("href", uri);
     3353    button.appendChild(document.createTextNode("send feedback"));
     3354    node.appendChild(button);
     3355  }
     3356  else {
     3357    var buttons = node.getElementsByTagName("a");
     3358    for (var i = 0; i &lt; buttons.length; i++) {
     3359      var b = buttons.item(i);
     3360      if (b.getAttribute("class") == "fbbutton") {
     3361        node.removeChild(b);
     3362      }
     3363    }
     3364  }
     3365}</script>
     3366</xsl:if>
     3367</xsl:template>
    32733368
    32743369<!-- insert CSS style info -->
     
    36773772  font-size: smaller;
    36783773  font-weight: bold;
     3774}</xsl:if><xsl:if test="/rfc/x:feedback">.feedback {
     3775  position: fixed;
     3776  bottom: 1%;
     3777  right: 1%;
     3778  padding: 3px 5px;
     3779  color: white;
     3780  border-radius: 5px;
     3781  background: #a00000;
     3782  border: 1px solid silver;
     3783}
     3784.fbbutton {
     3785  margin-left: 1em;
     3786  color: #303030;
     3787  font-size: small;
     3788  font-weight: normal;
     3789  background: #d0d000;
     3790  padding: 1px 4px;
     3791  border: 1px solid silver;
     3792  border-radius: 5px;
    36793793}</xsl:if><xsl:if test="$xml2rfc-ext-justification='always'">
    3680 
    36813794dd, li, p {
    36823795  text-align: justify;
     
    50345147
    50355148<xsl:template name="replace-substring">
    5036 
    50375149  <xsl:param name="string" />
    50385150  <xsl:param name="replace" />
     
    64146526    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    64156527    <!-- when RCS keyword substitution in place, add version info -->
    6416     <xsl:if test="contains('$Revision: 1.561 $',':')">
    6417       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.561 $', 'Revision: '),'$','')),', ')" />
     6528    <xsl:if test="contains('$Revision: 1.564 $',':')">
     6529      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.564 $', 'Revision: '),'$','')),', ')" />
    64186530    </xsl:if>
    6419     <xsl:if test="contains('$Date: 2011-12-24 13:06:50 $',':')">
    6420       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-12-24 13:06:50 $', 'Date: '),'$','')),', ')" />
     6531    <xsl:if test="contains('$Date: 2012-01-28 14:56:56 $',':')">
     6532      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-01-28 14:56:56 $', 'Date: '),'$','')),', ')" />
    64216533    </xsl:if>
    64226534    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
  • rfc2629xslt/testcase.html

    r1497 r1522  
    395395    }
    396396}
    397 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork Width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.561, 2011-12-24 13:06:50, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 test cases</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">January 2011</td></tr></tbody></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li>1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul><li>1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li>1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li>1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li>1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li>1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li>1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li>1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li>1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li>2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li>3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul><li>3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li>3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li>3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">example from xml2rc README</a></li><li>3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li>3.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li>3.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">table captions</a></li><li>3.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.7">single column</a></li><li>3.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.8">table alignment</a></li></ul></li><li>4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul><li>4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li>4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li>4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li>4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li><li>4.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">SVG</a></li><li>4.6&nbsp;&nbsp;&nbsp;<a href="#code.components">Code Components</a></li></ul></li><li>5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul><li>5.1&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li>5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">xref to named &lt;t&gt; element</a></li><li>5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;spanx&gt; element</a></li><li>5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li>5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref to named &lt;cref&gt; element</a></li><li>5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref to named &lt;t&gt; element inside list</a></li><li>5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li>5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li>5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">xref with content and no formatting</a></li><li>5.10&nbsp;&nbsp;&nbsp;<a href="#formatting.none">xref with content and 'none' formatting</a></li><li>5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li>5.12&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.12">eref with no content</a></li><li>5.13&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.13">eref with content</a></li><li>5.14&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li>6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li>7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul><li>7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="excluded"><ul><li>7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li>8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li>9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork Width</a></li><li>10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul><li>10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li>10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li>10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li>10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li>10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li>10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li><li>10.7&nbsp;&nbsp;&nbsp;<a href="#abnf.support">ABNF Support</a></li></ul></li><li>11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li>12.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12">Other</a><ul><li>12.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.1">Comments in Text</a></li><li>12.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Special Characters</a><ul><li>12.2.1&nbsp;&nbsp;&nbsp;<a href="#nbsp">Non-Breaking Space</a></li><li>12.2.2&nbsp;&nbsp;&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></li><li>12.2.3&nbsp;&nbsp;&nbsp;<a href="#dashes">Dashes</a></li></ul></li></ul></li><li>13.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li><a href="#rfc.comments">Editorial Comments</a></li><li><a href="#rfc.authors">Author's Address</a></li><li><a href="#rfc.index">Index</a></li></ul><ul><li><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol class="la"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol class="ua"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><ul class="empty"><li>One</li><li>Two</li><li>Three</li></ul><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td class="left">try to enforce the ID-nits conventions and DTD validity</td><td class="left">a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td class="left">include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td class="left">bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td class="left">when producing a txt/nroff file, try to conserve vertical whitespace</td><td class="left">ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td class="left">if compact is "yes", then setting this to "no" will make things a little less compact</td><td class="left">dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td class="left">an integer hint indicating how many contiguous lines are needed at this point in the output</td><td class="left">eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td class="left"></td><td class="left"></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a>&nbsp;single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td class="left">1</td></tr><tr><td class="left">2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a>&nbsp;table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
     397</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork Width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.564, 2012-01-28 14:56:56, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 test cases</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">January 2011</td></tr></tbody></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li>1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul><li>1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li>1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li>1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li>1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li>1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li>1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li>1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li>1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li>2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li>3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul><li>3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li>3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li>3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">example from xml2rc README</a></li><li>3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li>3.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li>3.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">table captions</a></li><li>3.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.7">single column</a></li><li>3.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.8">table alignment</a></li></ul></li><li>4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul><li>4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li>4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li>4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li>4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li><li>4.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">SVG</a></li><li>4.6&nbsp;&nbsp;&nbsp;<a href="#code.components">Code Components</a></li></ul></li><li>5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul><li>5.1&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li>5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">xref to named &lt;t&gt; element</a></li><li>5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;spanx&gt; element</a></li><li>5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li>5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref to named &lt;cref&gt; element</a></li><li>5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref to named &lt;t&gt; element inside list</a></li><li>5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li>5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li>5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">xref with content and no formatting</a></li><li>5.10&nbsp;&nbsp;&nbsp;<a href="#formatting.none">xref with content and 'none' formatting</a></li><li>5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li>5.12&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.12">eref with no content</a></li><li>5.13&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.13">eref with content</a></li><li>5.14&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li>6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li>7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul><li>7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="excluded"><ul><li>7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li>8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li>9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork Width</a></li><li>10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul><li>10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li>10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li>10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li>10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li>10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li>10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li><li>10.7&nbsp;&nbsp;&nbsp;<a href="#abnf.support">ABNF Support</a></li></ul></li><li>11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li>12.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12">Other</a><ul><li>12.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.1">Comments in Text</a></li><li>12.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Special Characters</a><ul><li>12.2.1&nbsp;&nbsp;&nbsp;<a href="#nbsp">Non-Breaking Space</a></li><li>12.2.2&nbsp;&nbsp;&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></li><li>12.2.3&nbsp;&nbsp;&nbsp;<a href="#dashes">Dashes</a></li></ul></li></ul></li><li>13.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li><a href="#rfc.comments">Editorial Comments</a></li><li><a href="#rfc.authors">Author's Address</a></li><li><a href="#rfc.index">Index</a></li></ul><ul><li><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol class="la"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol class="ua"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><ul class="empty"><li>One</li><li>Two</li><li>Three</li></ul><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td class="left">try to enforce the ID-nits conventions and DTD validity</td><td class="left">a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td class="left">include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td class="left">bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td class="left">when producing a txt/nroff file, try to conserve vertical whitespace</td><td class="left">ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td class="left">if compact is "yes", then setting this to "no" will make things a little less compact</td><td class="left">dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td class="left">an integer hint indicating how many contiguous lines are needed at this point in the output</td><td class="left">eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td class="left"></td><td class="left"></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a>&nbsp;single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td class="left">1</td></tr><tr><td class="left">2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a>&nbsp;table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
    398398  |  |
    399399  +--+
Note: See TracChangeset for help on using the changeset viewer.