Changeset 2610


Ignore:
Timestamp:
Feb 1, 2014, 12:51:13 AM (6 years ago)
Author:
julian.reschke@…
Message:

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

Files:
26 edited

Legend:

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

    r2527 r2610  
    412412  }
    413413  @top-right {
    414        content: "January 2014";
     414       content: "February 2014";
    415415  }
    416416  @top-center {
     
    421421  }
    422422  @bottom-center {
    423        content: "Expires July 5, 2014";
     423       content: "Expires August 5, 2014";
    424424  }
    425425  @bottom-right {
     
    447447      <link rel="Chapter" href="#rfc.section.4" title="4 Normative References">
    448448      <link rel="Appendix" title="A Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.A">
    449       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     449      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    450450      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    451451      <meta name="dct.creator" content="Reschke, J. F.">
    452452      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-authscheme-registrations-latest">
    453       <meta name="dct.issued" scheme="ISO8601" content="2014-01-01">
     453      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    454454      <meta name="dct.abstract" content="This document registers Hypertext Transfer Protocol (HTTP) authentication schemes which have been defined in RFCs before the IANA HTTP Authentication Scheme Registry was established.">
    455455      <meta name="description" content="This document registers Hypertext Transfer Protocol (HTTP) authentication schemes which have been defined in RFCs before the IANA HTTP Authentication Scheme Registry was established.">
     
    468468            <tr>
    469469               <td class="left">Intended status: Informational</td>
    470                <td class="right">January 1, 2014</td>
     470               <td class="right">February 1, 2014</td>
    471471            </tr>
    472472            <tr>
    473                <td class="left">Expires: July 5, 2014</td>
     473               <td class="left">Expires: August 5, 2014</td>
    474474               <td class="right"></td>
    475475            </tr>
     
    498498            in progress”.
    499499         </p>
    500          <p>This Internet-Draft will expire on July 5, 2014.</p>
     500         <p>This Internet-Draft will expire on August 5, 2014.</p>
    501501      </div>
    502502      <div id="rfc.copyrightnotice">
  • draft-ietf-httpbis-authscheme-registrations/latest/draft-ietf-httpbis-authscheme-registrations.xml

    r2527 r2610  
    4242  </author>
    4343
    44   <date month="January" year="2014"/>
    45   <workgroup>HTTPbis Working Group</workgroup>
     44  <date month="February" year="2014"/>
     45
     46  <area>Applications</area>
     47  <workgroup>HTTPbis</workgroup>
    4648 
    4749  <abstract>
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.html

    r2527 r2610  
    412412  }
    413413  @top-right {
    414        content: "January 2014";
     414       content: "February 2014";
    415415  }
    416416  @top-center {
     
    421421  }
    422422  @bottom-center {
    423        content: "Expires July 5, 2014";
     423       content: "Expires August 5, 2014";
    424424  }
    425425  @bottom-right {
     
    447447      <link rel="Chapter" href="#rfc.section.4" title="4 Normative References">
    448448      <link rel="Appendix" title="A Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.A">
    449       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     449      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    450450      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    451451      <meta name="dct.creator" content="Reschke, J. F.">
    452452      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-method-registrations-latest">
    453       <meta name="dct.issued" scheme="ISO8601" content="2014-01-01">
     453      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    454454      <meta name="dct.abstract" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in RFCs before the IANA HTTP Method Registry was established.">
    455455      <meta name="description" content="This document registers those Hypertext Transfer Protocol (HTTP) methods which have been defined in RFCs before the IANA HTTP Method Registry was established.">
     
    468468            <tr>
    469469               <td class="left">Intended status: Informational</td>
    470                <td class="right">January 1, 2014</td>
     470               <td class="right">February 1, 2014</td>
    471471            </tr>
    472472            <tr>
    473                <td class="left">Expires: July 5, 2014</td>
     473               <td class="left">Expires: August 5, 2014</td>
    474474               <td class="right"></td>
    475475            </tr>
     
    498498            in progress”.
    499499         </p>
    500          <p>This Internet-Draft will expire on July 5, 2014.</p>
     500         <p>This Internet-Draft will expire on August 5, 2014.</p>
    501501      </div>
    502502      <div id="rfc.copyrightnotice">
  • draft-ietf-httpbis-method-registrations/latest/draft-ietf-httpbis-method-registrations.xml

    r2527 r2610  
    4242  </author>
    4343
    44   <date month="January" year="2014"/>
    45   <workgroup>HTTPbis Working Group</workgroup>
     44  <date month="February" year="2014"/>
     45
     46  <area>Applications</area>
     47  <workgroup>HTTPbis</workgroup>
    4648 
    4749  <abstract>
  • draft-ietf-httpbis/latest/p1-messaging.html

    r2609 r2610  
    439439  }
    440440  @top-right {
    441        content: "January 2014";
     441       content: "February 2014";
    442442  }
    443443  @top-center {
     
    448448  }
    449449  @bottom-center {
    450        content: "Expires August 3, 2014";
     450       content: "Expires August 5, 2014";
    451451  }
    452452  @bottom-right {
     
    485485      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
    486486      <link href="p2-semantics.html" rel="next">
    487       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     487      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    488488      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    489489      <meta name="dct.creator" content="Fielding, R.">
    490490      <meta name="dct.creator" content="Reschke, J. F.">
    491491      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p1-messaging-latest">
    492       <meta name="dct.issued" scheme="ISO8601" content="2014-01-30">
     492      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    493493      <meta name="dct.replaces" content="urn:ietf:rfc:2145">
    494494      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
     
    519519            <tr>
    520520               <td class="left">Intended status: Standards Track</td>
    521                <td class="right">January 30, 2014</td>
     521               <td class="right">February 1, 2014</td>
    522522            </tr>
    523523            <tr>
    524                <td class="left">Expires: August 3, 2014</td>
     524               <td class="left">Expires: August 5, 2014</td>
    525525               <td class="right"></td>
    526526            </tr>
     
    551551            in progress”.
    552552         </p>
    553          <p>This Internet-Draft will expire on August 3, 2014.</p>
     553         <p>This Internet-Draft will expire on August 5, 2014.</p>
    554554      </div>
    555555      <div id="rfc.copyrightnotice">
     
    30623062         <tr>
    30633063            <td class="reference"><b id="Part2">[Part2]</b></td>
    3064             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2014.
     3064            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2014.
    30653065            </td>
    30663066         </tr>
    30673067         <tr>
    30683068            <td class="reference"><b id="Part4">[Part4]</b></td>
    3069             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2014.
     3069            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2014.
    30703070            </td>
    30713071         </tr>
    30723072         <tr>
    30733073            <td class="reference"><b id="Part5">[Part5]</b></td>
    3074             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2014.
     3074            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2014.
    30753075            </td>
    30763076         </tr>
    30773077         <tr>
    30783078            <td class="reference"><b id="Part6">[Part6]</b></td>
    3079             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2014.
     3079            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2014.
    30803080            </td>
    30813081         </tr>
    30823082         <tr>
    30833083            <td class="reference"><b id="Part7">[Part7]</b></td>
    3084             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2014.
     3084            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), February&nbsp;2014.
    30853085            </td>
    30863086         </tr>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r2609 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    114114
    115115  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
    116   <workgroup>HTTPbis Working Group</workgroup>
     116
     117  <area>Applications</area>
     118  <workgroup>HTTPbis</workgroup>
    117119
    118120<abstract>
  • draft-ietf-httpbis/latest/p2-semantics.html

    r2608 r2610  
    439439  }
    440440  @top-right {
    441        content: "January 2014";
     441       content: "February 2014";
    442442  }
    443443  @top-center {
     
    448448  }
    449449  @bottom-center {
    450        content: "Expires August 3, 2014";
     450       content: "Expires August 5, 2014";
    451451  }
    452452  @bottom-right {
     
    488488      <link href="p1-messaging.html" rel="prev">
    489489      <link href="p4-conditional.html" rel="next">
    490       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     490      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    491491      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    492492      <meta name="dct.creator" content="Fielding, R.">
    493493      <meta name="dct.creator" content="Reschke, J. F.">
    494494      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p2-semantics-latest">
    495       <meta name="dct.issued" scheme="ISO8601" content="2014-01-30">
     495      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    496496      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    497497      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines the semantics of HTTP/1.1 messages, as expressed by request methods, request header fields, response status codes, and response header fields, along with the payload of messages (metadata and body content) and mechanisms for content negotiation.">
     
    521521            <tr>
    522522               <td class="left">Intended status: Standards Track</td>
    523                <td class="right">January 30, 2014</td>
     523               <td class="right">February 1, 2014</td>
    524524            </tr>
    525525            <tr>
    526                <td class="left">Expires: August 3, 2014</td>
     526               <td class="left">Expires: August 5, 2014</td>
    527527               <td class="right"></td>
    528528            </tr>
     
    553553            in progress”.
    554554         </p>
    555          <p>This Internet-Draft will expire on August 3, 2014.</p>
     555         <p>This Internet-Draft will expire on August 5, 2014.</p>
    556556      </div>
    557557      <div id="rfc.copyrightnotice">
     
    42704270         <tr>
    42714271            <td class="reference"><b id="Part1">[Part1]</b></td>
    4272             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2014.
     4272            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2014.
    42734273            </td>
    42744274         </tr>
    42754275         <tr>
    42764276            <td class="reference"><b id="Part4">[Part4]</b></td>
    4277             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2014.
     4277            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2014.
    42784278            </td>
    42794279         </tr>
    42804280         <tr>
    42814281            <td class="reference"><b id="Part5">[Part5]</b></td>
    4282             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2014.
     4282            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2014.
    42834283            </td>
    42844284         </tr>
    42854285         <tr>
    42864286            <td class="reference"><b id="Part6">[Part6]</b></td>
    4287             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2014.
     4287            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2014.
    42884288            </td>
    42894289         </tr>
    42904290         <tr>
    42914291            <td class="reference"><b id="Part7">[Part7]</b></td>
    4292             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2014.
     4292            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), February&nbsp;2014.
    42934293            </td>
    42944294         </tr>
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r2608 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    165165
    166166  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
    167   <workgroup>HTTPbis Working Group</workgroup>
     167
     168  <area>Applications</area>
     169  <workgroup>HTTPbis</workgroup>
    168170
    169171<abstract>
  • draft-ietf-httpbis/latest/p4-conditional.html

    r2590 r2610  
    439439  }
    440440  @top-right {
    441        content: "January 2014";
     441       content: "February 2014";
    442442  }
    443443  @top-center {
     
    448448  }
    449449  @bottom-center {
    450        content: "Expires July 31, 2014";
     450       content: "Expires August 5, 2014";
    451451  }
    452452  @bottom-right {
     
    486486      <link href="p2-semantics.html" rel="prev">
    487487      <link href="p5-range.html" rel="next">
    488       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     488      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    489489      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    490490      <meta name="dct.creator" content="Fielding, R.">
    491491      <meta name="dct.creator" content="Reschke, J. F.">
    492492      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p4-conditional-latest">
    493       <meta name="dct.issued" scheme="ISO8601" content="2014-01-27">
     493      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    494494      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    495495      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines HTTP/1.1 conditional requests, including metadata header fields for indicating state changes, request header fields for making preconditions on such state, and rules for constructing the responses to a conditional request when one or more preconditions evaluate to false.">
     
    517517            </tr>
    518518            <tr>
    519                <td class="left">Expires: July 31, 2014</td>
    520                <td class="right">January 27, 2014</td>
     519               <td class="left">Expires: August 5, 2014</td>
     520               <td class="right">February 1, 2014</td>
    521521            </tr>
    522522         </tbody>
     
    546546            in progress”.
    547547         </p>
    548          <p>This Internet-Draft will expire on July 31, 2014.</p>
     548         <p>This Internet-Draft will expire on August 5, 2014.</p>
    549549      </div>
    550550      <div id="rfc.copyrightnotice">
     
    13331333         <tr>
    13341334            <td class="reference"><b id="Part1">[Part1]</b></td>
    1335             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2014.
     1335            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2014.
    13361336            </td>
    13371337         </tr>
    13381338         <tr>
    13391339            <td class="reference"><b id="Part2">[Part2]</b></td>
    1340             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2014.
     1340            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2014.
    13411341            </td>
    13421342         </tr>
    13431343         <tr>
    13441344            <td class="reference"><b id="Part5">[Part5]</b></td>
    1345             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2014.
     1345            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2014.
    13461346            </td>
    13471347         </tr>
    13481348         <tr>
    13491349            <td class="reference"><b id="Part6">[Part6]</b></td>
    1350             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2014.
     1350            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2014.
    13511351            </td>
    13521352         </tr>
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r2569 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    9292
    9393  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
    94   <workgroup>HTTPbis Working Group</workgroup>
     94
     95  <area>Applications</area>
     96  <workgroup>HTTPbis</workgroup>
    9597
    9698<abstract>
  • draft-ietf-httpbis/latest/p5-range.html

    r2590 r2610  
    439439  }
    440440  @top-right {
    441        content: "January 2014";
     441       content: "February 2014";
    442442  }
    443443  @top-center {
     
    448448  }
    449449  @bottom-center {
    450        content: "Expires July 31, 2014";
     450       content: "Expires August 5, 2014";
    451451  }
    452452  @bottom-right {
     
    485485      <link href="p4-conditional.html" rel="prev">
    486486      <link href="p6-cache.html" rel="next">
    487       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     487      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    488488      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    489489      <meta name="dct.creator" content="Fielding, R.">
     
    491491      <meta name="dct.creator" content="Reschke, J. F.">
    492492      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p5-range-latest">
    493       <meta name="dct.issued" scheme="ISO8601" content="2014-01-27">
     493      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    494494      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    495495      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines range requests and the rules for constructing and combining responses to those requests.">
     
    517517            </tr>
    518518            <tr>
    519                <td class="left">Expires: July 31, 2014</td>
     519               <td class="left">Expires: August 5, 2014</td>
    520520               <td class="right">J. Reschke, Editor</td>
    521521            </tr>
     
    526526            <tr>
    527527               <td class="left"></td>
    528                <td class="right">January 27, 2014</td>
     528               <td class="right">February 1, 2014</td>
    529529            </tr>
    530530         </tbody>
     
    553553            in progress”.
    554554         </p>
    555          <p>This Internet-Draft will expire on July 31, 2014.</p>
     555         <p>This Internet-Draft will expire on August 5, 2014.</p>
    556556      </div>
    557557      <div id="rfc.copyrightnotice">
     
    11911191         <tr>
    11921192            <td class="reference"><b id="Part1">[Part1]</b></td>
    1193             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2014.
     1193            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2014.
    11941194            </td>
    11951195         </tr>
    11961196         <tr>
    11971197            <td class="reference"><b id="Part2">[Part2]</b></td>
    1198             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2014.
     1198            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2014.
    11991199            </td>
    12001200         </tr>
    12011201         <tr>
    12021202            <td class="reference"><b id="Part4">[Part4]</b></td>
    1203             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2014.
     1203            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2014.
    12041204            </td>
    12051205         </tr>
    12061206         <tr>
    12071207            <td class="reference"><b id="Part6">[Part6]</b></td>
    1208             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2014.
     1208            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2014.
    12091209            </td>
    12101210         </tr>
  • draft-ietf-httpbis/latest/p5-range.xml

    r2569 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    101101
    102102  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
    103   <workgroup>HTTPbis Working Group</workgroup>
     103
     104  <area>Applications</area>
     105  <workgroup>HTTPbis</workgroup>
    104106
    105107<abstract>
  • draft-ietf-httpbis/latest/p6-cache.html

    r2590 r2610  
    442442  }
    443443  @top-right {
    444        content: "January 2014";
     444       content: "February 2014";
    445445  }
    446446  @top-center {
     
    451451  }
    452452  @bottom-center {
    453        content: "Expires July 31, 2014";
     453       content: "Expires August 5, 2014";
    454454  }
    455455  @bottom-right {
     
    489489      <link href="p5-range.html" rel="prev">
    490490      <link href="p7-auth.html" rel="next">
    491       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     491      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    492492      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    493493      <meta name="dct.creator" content="Fielding, R.">
     
    495495      <meta name="dct.creator" content="Reschke, J. F.">
    496496      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p6-cache-latest">
    497       <meta name="dct.issued" scheme="ISO8601" content="2014-01-27">
     497      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    498498      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    499499      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document defines HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.">
     
    521521            </tr>
    522522            <tr>
    523                <td class="left">Expires: July 31, 2014</td>
     523               <td class="left">Expires: August 5, 2014</td>
    524524               <td class="right">J. Reschke, Editor</td>
    525525            </tr>
     
    530530            <tr>
    531531               <td class="left"></td>
    532                <td class="right">January 27, 2014</td>
     532               <td class="right">February 1, 2014</td>
    533533            </tr>
    534534         </tbody>
     
    557557            in progress”.
    558558         </p>
    559          <p>This Internet-Draft will expire on July 31, 2014.</p>
     559         <p>This Internet-Draft will expire on August 5, 2014.</p>
    560560      </div>
    561561      <div id="rfc.copyrightnotice">
     
    19581958         <tr>
    19591959            <td class="reference"><b id="Part1">[Part1]</b></td>
    1960             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2014.
     1960            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2014.
    19611961            </td>
    19621962         </tr>
    19631963         <tr>
    19641964            <td class="reference"><b id="Part2">[Part2]</b></td>
    1965             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2014.
     1965            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2014.
    19661966            </td>
    19671967         </tr>
    19681968         <tr>
    19691969            <td class="reference"><b id="Part4">[Part4]</b></td>
    1970             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), January&nbsp;2014.
     1970            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-latest (work in progress), February&nbsp;2014.
    19711971            </td>
    19721972         </tr>
    19731973         <tr>
    19741974            <td class="reference"><b id="Part5">[Part5]</b></td>
    1975             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), January&nbsp;2014.
     1975            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</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">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p5-range-latest (work in progress), February&nbsp;2014.
    19761976            </td>
    19771977         </tr>
    19781978         <tr>
    19791979            <td class="reference"><b id="Part7">[Part7]</b></td>
    1980             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), January&nbsp;2014.
     1980            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p7-auth-latest (work in progress), February&nbsp;2014.
    19811981            </td>
    19821982         </tr>
  • draft-ietf-httpbis/latest/p6-cache.xml

    r2569 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    115115
    116116  <date month="&ID-MONTH;" year="&ID-YEAR;" />
    117   <workgroup>HTTPbis Working Group</workgroup>
     117
     118  <area>Applications</area>
     119  <workgroup>HTTPbis</workgroup>
    118120
    119121<abstract>
  • draft-ietf-httpbis/latest/p7-auth.html

    r2590 r2610  
    439439  }
    440440  @top-right {
    441        content: "January 2014";
     441       content: "February 2014";
    442442  }
    443443  @top-center {
     
    448448  }
    449449  @bottom-center {
    450        content: "Expires July 31, 2014";
     450       content: "Expires August 5, 2014";
    451451  }
    452452  @bottom-right {
     
    483483      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
    484484      <link href="p6-cache.html" rel="prev">
    485       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.611, 2013/11/27 12:23:51, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     485      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    486486      <link rel="schema.dct" href="http://purl.org/dc/terms/">
    487487      <meta name="dct.creator" content="Fielding, R.">
    488488      <meta name="dct.creator" content="Reschke, J. F.">
    489489      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p7-auth-latest">
    490       <meta name="dct.issued" scheme="ISO8601" content="2014-01-27">
     490      <meta name="dct.issued" scheme="ISO8601" content="2014-02-01">
    491491      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
    492492      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypermedia information systems. This document defines the HTTP Authentication framework.">
     
    516516            <tr>
    517517               <td class="left">Intended status: Standards Track</td>
    518                <td class="right">January 27, 2014</td>
     518               <td class="right">February 1, 2014</td>
    519519            </tr>
    520520            <tr>
    521                <td class="left">Expires: July 31, 2014</td>
     521               <td class="left">Expires: August 5, 2014</td>
    522522               <td class="right"></td>
    523523            </tr>
     
    546546            in progress”.
    547547         </p>
    548          <p>This Internet-Draft will expire on July 31, 2014.</p>
     548         <p>This Internet-Draft will expire on August 5, 2014.</p>
    549549      </div>
    550550      <div id="rfc.copyrightnotice">
     
    10541054         <tr>
    10551055            <td class="reference"><b id="Part1">[Part1]</b></td>
    1056             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), January&nbsp;2014.
     1056            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-latest (work in progress), February&nbsp;2014.
    10571057            </td>
    10581058         </tr>
    10591059         <tr>
    10601060            <td class="reference"><b id="Part2">[Part2]</b></td>
    1061             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), January&nbsp;2014.
     1061            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., 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">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p2-semantics-latest (work in progress), February&nbsp;2014.
    10621062            </td>
    10631063         </tr>
    10641064         <tr>
    10651065            <td class="reference"><b id="Part6">[Part6]</b></td>
    1066             <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), January&nbsp;2014.
     1066            <td class="top"><a href="mailto:fielding@gbiv.com" title="Adobe Systems Incorporated">Fielding, R., Ed.</a>, <a href="mailto:mnot@mnot.net" title="Akamai">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">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-latest (work in progress), February&nbsp;2014.
    10671067            </td>
    10681068         </tr>
  • draft-ietf-httpbis/latest/p7-auth.xml

    r2576 r2610  
    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 "2014">
    1717  <!ENTITY mdash "&#8212;">
     
    8484
    8585  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
    86   <workgroup>HTTPbis Working Group</workgroup>
     86
     87  <area>Applications</area>
     88  <workgroup>HTTPbis</workgroup>
    8789
    8890<abstract>
  • rfc2629xslt/clean-for-DTD.xslt

    r2499 r2610  
    591591</xsl:template>
    592592
    593 
     593<!-- workgroup format -->
     594<xsl:template match="workgroup" mode="cleanup">
     595  <workgroup>
     596    <xsl:variable name="v" select="normalize-space(.)"/>
     597    <xsl:variable name="h">
     598      <!-- when a single name, append WG/RG postfix automatically -->
     599      <xsl:choose>
     600        <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'">
     601          <xsl:value-of select="concat($v, ' Working Group')"/>
     602        </xsl:when>
     603        <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-irtf-') and $submissionType='IRTF'">
     604          <xsl:value-of select="concat($v, ' Research Group')"/>
     605        </xsl:when>
     606        <xsl:otherwise>
     607          <xsl:value-of select="$v"/>
     608        </xsl:otherwise>
     609      </xsl:choose>
     610    </xsl:variable>
     611    <xsl:value-of select="$h"/>
     612  </workgroup>
     613</xsl:template>
    594614
    595615<!-- markup inside artwork element -->
  • rfc2629xslt/rfc2629.xslt

    r2501 r2610  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2013, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2014, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    13451345</xsl:template>
    13461346
    1347 <!-- numbered list inside numbered list -->
    1348 <xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9">
    1349   <xsl:call-template name="check-no-text-content"/>
    1350   <ol class="la">
    1351     <xsl:call-template name="insertInsDelClass"/>
    1352     <xsl:apply-templates />
    1353   </ol>
    1354 </xsl:template>
    1355 
    13561347<xsl:template match="list[@style='letters']">
    13571348  <xsl:call-template name="check-no-text-content"/>
    1358   <ol class="la">
    1359     <xsl:call-template name="insertInsDelClass"/>
    1360     <xsl:apply-templates />
    1361   </ol>
    1362 </xsl:template>
    1363 
    1364 <!-- nested lettered list uses uppercase -->
    1365 <xsl:template match="list//t//list[@style='letters']" priority="9">
    1366   <ol class="ua">
     1349  <xsl:variable name="style">
     1350    <xsl:choose>
     1351      <!-- lowercase for even-numbered nesting levels -->
     1352      <xsl:when test="0=(count(ancestor::list[@style='letters']) mod 2)">la</xsl:when>
     1353      <!-- uppercase otherwise -->
     1354      <xsl:otherwise>ua</xsl:otherwise>
     1355    </xsl:choose>
     1356  </xsl:variable>
     1357  <ol class="{$style}">
    13671358    <xsl:call-template name="insertInsDelClass"/>
    13681359    <xsl:apply-templates />
     
    14361427    <xsl:call-template name="insertInsDelClass"/>
    14371428    <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1438     <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1439       <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1429    <xsl:if test="../@hangIndent">
     1430      <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    14401431    </xsl:if>
    14411432    <xsl:apply-templates select="t" />
     
    14701461      <xsl:call-template name="insertInsDelClass"/>
    14711462      <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1472       <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1473         <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1463      <xsl:if test="../@hangIndent">
     1464        <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    14741465      </xsl:if>
    14751466      <xsl:apply-templates />
     
    14781469</xsl:template>
    14791470
    1480 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%C') or contains(@style,'%d') or contains(@style,'%i') or contains(@style,'%I'))]/t">
     1471<xsl:template match="list[starts-with(@style,'format ')]/t">
    14811472  <xsl:variable name="list" select=".." />
    14821473  <xsl:variable name="format" select="substring-after(../@style,'format ')" />
     
    14931484  <dt>
    14941485    <xsl:call-template name="copy-anchor"/>
    1495     <xsl:choose>
    1496       <xsl:when test="contains($format,'%c')">
    1497         <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a" /><xsl:value-of select="substring-after($format,'%c')"/>
    1498       </xsl:when>
    1499       <xsl:when test="contains($format,'%C')">
    1500         <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A" /><xsl:value-of select="substring-after($format,'%C')"/>
    1501       </xsl:when>
    1502       <xsl:when test="contains($format,'%d')">
    1503         <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" /><xsl:value-of select="substring-after($format,'%d')"/>
    1504       </xsl:when>
    1505       <xsl:when test="contains($format,'%i')">
    1506         <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i" /><xsl:value-of select="substring-after($format,'%i')"/>
    1507       </xsl:when>
    1508       <xsl:when test="contains($format,'%I')">
    1509         <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I" /><xsl:value-of select="substring-after($format,'%I')"/>
    1510       </xsl:when>
    1511       <xsl:otherwise>
    1512         <xsl:value-of select="$format"/>
    1513         <xsl:call-template name="warning">
    1514           <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/>
    1515         </xsl:call-template>
    1516       </xsl:otherwise>
    1517     </xsl:choose>
     1486    <xsl:call-template name="expand-format-percent">
     1487      <xsl:with-param name="format" select="$format"/>
     1488      <xsl:with-param name="pos" select="$pos"/>
     1489    </xsl:call-template>
    15181490  </dt>
    15191491  <dd>
    15201492    <xsl:apply-templates />
    15211493  </dd>
     1494</xsl:template>
     1495
     1496<xsl:template name="expand-format-percent">
     1497  <xsl:param name="format"/>
     1498  <xsl:param name="pos"/>
     1499 
     1500  <xsl:choose>
     1501    <xsl:when test="$format=''"><!-- done--></xsl:when>
     1502    <xsl:when test="substring($format,1,1)!='%' or string-length($format)=1">
     1503      <xsl:value-of select="substring($format,1,1)"/>
     1504      <xsl:call-template name="expand-format-percent">
     1505        <xsl:with-param name="format" select="substring($format,2)"/>
     1506        <xsl:with-param name="pos" select="$pos"/>
     1507      </xsl:call-template>
     1508    </xsl:when>
     1509    <xsl:otherwise>
     1510      <xsl:variable name="f" select="substring($format,2,1)"/>
     1511      <xsl:choose>
     1512        <xsl:when test="$f='%'">%</xsl:when>
     1513        <xsl:when test="$f='c'"><xsl:number value="$pos" format="a"/></xsl:when>
     1514        <xsl:when test="$f='C'"><xsl:number value="$pos" format="A"/></xsl:when>
     1515        <xsl:when test="$f='d'"><xsl:number value="$pos"/></xsl:when>
     1516        <xsl:when test="$f='i'"><xsl:number value="$pos" format="i"/></xsl:when>
     1517        <xsl:when test="$f='I'"><xsl:number value="$pos" format="I"/></xsl:when>
     1518        <xsl:otherwise>
     1519          <xsl:call-template name="error">
     1520            <xsl:with-param name="msg" select="concat('Unsupported % format: ', $f)"/>
     1521            <xsl:with-param name="inline" select="'no'"/>
     1522          </xsl:call-template>
     1523        </xsl:otherwise>
     1524      </xsl:choose>
     1525      <xsl:call-template name="expand-format-percent">
     1526        <xsl:with-param name="format" select="substring($format,3)"/>
     1527        <xsl:with-param name="pos" select="$pos"/>
     1528      </xsl:call-template>
     1529    </xsl:otherwise>
     1530  </xsl:choose>
     1531 
    15221532</xsl:template>
    15231533
     
    16461656  <!-- check for reference to reference -->
    16471657  <xsl:variable name="anchor" select="@anchor"/>
    1648   <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
    1649     <xsl:call-template name="warning">
    1650       <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
    1651     </xsl:call-template>
    1652   </xsl:if>
     1658  <xsl:choose>
     1659    <xsl:when test="not(@anchor)">
     1660      <xsl:call-template name="warning">
     1661        <xsl:with-param name="msg">missing anchor on reference: <xsl:value-of select="."/></xsl:with-param>
     1662      </xsl:call-template>
     1663    </xsl:when>
     1664    <xsl:when test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
     1665      <xsl:call-template name="warning">
     1666        <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
     1667      </xsl:call-template>
     1668    </xsl:when>
     1669    <xsl:otherwise/>
     1670  </xsl:choose>
    16531671
    16541672  <!-- check normative/informative -->
     
    23712389      <xsl:value-of select="$to/@title"/>
    23722390    </xsl:when>
     2391    <xsl:when test="$from/@format='none'">
     2392      <!-- Nothing to do -->
     2393    </xsl:when>
    23732394    <xsl:otherwise>
    23742395      <xsl:value-of select="normalize-space(concat($refname,'&#160;',$refnum))"/>
     
    25302551              <xsl:value-of select="$figcnt" />
    25312552            </xsl:when>
     2553            <xsl:when test="$xref/@format='none'">
     2554              <!-- Nothing to do -->
     2555            </xsl:when>
    25322556            <xsl:when test="$xref/@format='title'">
    25332557              <xsl:value-of select="$node/@title" />
     
    25512575            <xsl:when test="$xref/@format='counter'">
    25522576              <xsl:value-of select="$tabcnt" />
     2577            </xsl:when>
     2578            <xsl:when test="$xref/@format='none'">
     2579              <!-- Nothing to do -->
    25532580            </xsl:when>
    25542581            <xsl:when test="$xref/@format='title'">
     
    26112638              </xsl:choose>
    26122639            </xsl:when>
     2640            <xsl:when test="$xref/@format='none'">
     2641              <!-- Nothing to do -->
     2642            </xsl:when>
    26132643            <xsl:when test="$xref/@format='title'">
    26142644              <xsl:value-of select="$node/@title" />
     
    26322662            <xsl:when test="$xref/@format='counter'">
    26332663              <xsl:value-of select="$name" />
     2664            </xsl:when>
     2665            <xsl:when test="$xref/@format='none'">
     2666              <!-- Nothing to do -->
    26342667            </xsl:when>
    26352668            <xsl:when test="$xref/@format='title'">
     
    27882821
    27892822        <xsl:if test="$sec='' or ($fmt!='sec' and $fmt!='number')">
    2790           <a href="#{$xref/@target}">
    2791             <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
    2792               <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    2793             </xsl:if>
    2794             <cite title="{normalize-space($node/front/title)}">
    2795               <xsl:variable name="val">
    2796                 <xsl:call-template name="referencename">
    2797                   <xsl:with-param name="node" select="$node" />
    2798                 </xsl:call-template>
    2799               </xsl:variable>
    2800               <xsl:choose>
    2801                 <xsl:when test="$fmt='anchor'">
    2802                   <!-- remove brackets -->
    2803                   <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
    2804                 </xsl:when>
    2805                 <xsl:otherwise>
    2806                   <xsl:value-of select="$val"/>
    2807                 </xsl:otherwise>
    2808               </xsl:choose>
    2809             </cite>
    2810           </a>
     2823          <xsl:choose>
     2824            <xsl:when test="$xref/@format='none'">
     2825              <!-- Nothing to do -->
     2826            </xsl:when>
     2827            <xsl:otherwise>
     2828              <a href="#{$xref/@target}">
     2829                <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     2830                  <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     2831                </xsl:if>
     2832                <cite title="{normalize-space($node/front/title)}">
     2833                  <xsl:variable name="val">
     2834                    <xsl:call-template name="referencename">
     2835                      <xsl:with-param name="node" select="$node" />
     2836                    </xsl:call-template>
     2837                  </xsl:variable>
     2838                  <xsl:choose>
     2839                    <xsl:when test="$fmt='anchor' or $xref/@format='counter'">
     2840                      <!-- remove brackets -->
     2841                      <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
     2842                    </xsl:when>
     2843                    <xsl:when test="$xref/@format='title'">
     2844                      <xsl:value-of select="$node/front/title"/>
     2845                    </xsl:when>
     2846                    <xsl:otherwise>
     2847                      <xsl:value-of select="$val"/>
     2848                    </xsl:otherwise>
     2849                  </xsl:choose>
     2850                </cite>
     2851              </a>
     2852            </xsl:otherwise>
     2853          </xsl:choose>
    28112854        </xsl:if>
    28122855
     
    28922935      </xsl:when>
    28932936      <xsl:when test="/rfc/front/workgroup and (not(/rfc/@number) or /rfc/@number='')">
    2894         <xsl:if test="not(starts-with(/rfc/@docName,'draft-ietf-')) and $submissionType='IETF'">
    2895           <xsl:call-template name="info">
    2896             <xsl:with-param name="inline" select="'no'"/>
    2897             <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working Group drafts</xsl:with-param>
    2898           </xsl:call-template>
    2899         </xsl:if>
     2937        <xsl:choose>
     2938          <xsl:when test="starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'"/>
     2939          <xsl:when test="starts-with(/rfc/@docName,'draft-irft-') and $submissionType='IRTF'"/>
     2940          <xsl:otherwise>
     2941            <xsl:call-template name="info">
     2942              <xsl:with-param name="inline" select="'no'"/>
     2943              <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working/Research Group drafts</xsl:with-param>
     2944            </xsl:call-template>
     2945          </xsl:otherwise>
     2946        </xsl:choose>
    29002947        <xsl:for-each select="/rfc/front/workgroup">
    2901           <myns:item><xsl:value-of select="."/></myns:item>
     2948          <xsl:variable name="v" select="normalize-space(.)"/>
     2949          <xsl:variable name="tmp" select="translate($v, $ucase, $lcase)"/>
     2950          <xsl:if test="contains($tmp,' research group') or contains($tmp,' working group')">
     2951            <xsl:call-template name="info">
     2952              <xsl:with-param name="inline" select="'no'"/>
     2953              <xsl:with-param name="msg">No need to include 'Working Group' or 'Research Group' postfix in /rfc/front/workgroup value '<xsl:value-of select="$v"/>'</xsl:with-param>
     2954            </xsl:call-template>
     2955          </xsl:if>
     2956          <xsl:variable name="h">
     2957            <!-- when a single name, append WG/RG postfix automatically -->
     2958            <xsl:choose>
     2959              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'">
     2960                <xsl:value-of select="concat($v, ' Working Group')"/>
     2961              </xsl:when>
     2962              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-irtf-') and $submissionType='IRTF'">
     2963                <xsl:value-of select="concat($v, ' Research Group')"/>
     2964              </xsl:when>
     2965              <xsl:otherwise>
     2966                <xsl:value-of select="$v"/>
     2967              </xsl:otherwise>
     2968            </xsl:choose>
     2969          </xsl:variable>
     2970          <myns:item>
     2971            <xsl:value-of select="$h"/>
     2972          </myns:item>
    29022973        </xsl:for-each>
    29032974      </xsl:when>
     
    29122983      </xsl:otherwise>
    29132984    </xsl:choose>
     2985    <!-- check <area> value -->
     2986    <xsl:for-each select="/rfc/front/area">
     2987      <xsl:variable name="area" select="normalize-space(.)"/>
     2988      <xsl:variable name="allowed">
     2989        <ed:v>Applications</ed:v>
     2990        <ed:v>app</ed:v>
     2991        <ed:v>General</ed:v>
     2992        <ed:v>gen</ed:v>
     2993        <ed:v>Internet</ed:v>
     2994        <ed:v>int</ed:v>
     2995        <ed:v>Operations and Management</ed:v>
     2996        <ed:v>ops</ed:v>
     2997        <ed:v>Real-time Applications and Infrastructure</ed:v>
     2998        <ed:v>rai</ed:v>
     2999        <ed:v>Routing</ed:v>
     3000        <ed:v>rtg</ed:v>
     3001        <ed:v>Security</ed:v>
     3002        <ed:v>sec</ed:v>
     3003        <ed:v>Transport</ed:v>
     3004        <ed:v>tsv</ed:v>
     3005      </xsl:variable>
     3006      <xsl:choose>
     3007        <xsl:when test="$allowed/ed:v=$area">
     3008          <!-- ok -->
     3009        </xsl:when>
     3010        <xsl:otherwise>
     3011          <xsl:call-template name="warning">
     3012            <xsl:with-param name="inline" select="'no'"/>
     3013            <xsl:with-param name="msg">Unknown IETF area: "<xsl:value-of select="$area"/>" - should be one of: <xsl:for-each select="$allowed/ed:v">
     3014              <xsl:text>"</xsl:text>
     3015              <xsl:value-of select="."/>
     3016              <xsl:text>"</xsl:text>
     3017              <xsl:if test="position()!=last()">
     3018                <xsl:text>, </xsl:text>
     3019              </xsl:if>
     3020            </xsl:for-each>
     3021            </xsl:with-param>
     3022          </xsl:call-template>
     3023        </xsl:otherwise>
     3024      </xsl:choose>
     3025    </xsl:for-each>
    29143026    <myns:item>
    29153027       <xsl:choose>
     
    67266838    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    67276839    <!-- when RCS keyword substitution in place, add version info -->
    6728     <xsl:if test="contains('$Revision: 1.611 $',':')">
    6729       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.611 $', 'Revision: '),'$','')),', ')" />
     6840    <xsl:if test="contains('$Revision: 1.619 $',':')">
     6841      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.619 $', 'Revision: '),'$','')),', ')" />
    67306842    </xsl:if>
    6731     <xsl:if test="contains('$Date: 2013/11/27 12:23:51 $',':')">
    6732       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/27 12:23:51 $', 'Date: '),'$','')),', ')" />
     6843    <xsl:if test="contains('$Date: 2014/01/31 15:52:15 $',':')">
     6844      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2014/01/31 15:52:15 $', 'Date: '),'$','')),', ')" />
    67336845    </xsl:if>
    67346846    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
  • rfc2629xslt/rfc2629toFO.xslt

    r2280 r2610  
    22    XSLT transformation from RFC2629 XML format to XSL-FO
    33     
    4     Copyright (c) 2006-2012, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2014, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    4646<xsl:import href="rfc2629.xslt" />
    4747
    48 <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
     48<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    4949
    5050<!-- page sizes as per <http://tools.ietf.org/html/draft-rfc-editor-rfc2223bis-08#section-3.2> -->
     
    615615</xsl:template>
    616616
    617 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%d'))]/t" priority="1">
     617<xsl:template match="list[starts-with(@style,'format ')]/t" priority="1">
    618618  <xsl:variable name="list" select=".." />
    619619  <xsl:variable name="format" select="substring-after(../@style,'format ')" />
     
    632632    <fo:list-item-label end-indent="label-end()">
    633633      <fo:block>
    634         <xsl:choose>
    635           <xsl:when test="contains($format,'%c')">
    636             <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a" /><xsl:value-of select="substring-after($format,'%c')"/>
    637           </xsl:when>
    638           <xsl:otherwise>
    639             <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" format="1" /><xsl:value-of select="substring-after($format,'%d')"/>
    640           </xsl:otherwise>
    641         </xsl:choose>
     634        <xsl:call-template name="expand-format-percent">
     635          <xsl:with-param name="format" select="$format"/>
     636          <xsl:with-param name="pos" select="$pos"/>
     637        </xsl:call-template>
    642638      </fo:block>
    643639    </fo:list-item-label>
     
    11871183      <xsl:value-of select="$refnum"/>
    11881184    </xsl:when>
     1185    <xsl:when test="@format='none'">
     1186      <!-- Nothing to do -->
     1187    </xsl:when>
    11891188    <xsl:when test="@format='title'">
    11901189      <xsl:value-of select="$to/@title"/>
     
    12761275<xsl:template match="xref[not(node())]">
    12771276
    1278   <xsl:variable name="target" select="@target" />
     1277  <xsl:variable name="xref" select="."/>
     1278  <xsl:variable name="target" select="@target"/>
    12791279  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
    12801280  <xsl:variable name="node" select="//*[@anchor=$target]" />
     
    13161316            <xsl:value-of select="$figcnt" />
    13171317          </xsl:when>
     1318          <xsl:when test="@format='none'">
     1319            <!-- Nothing to do -->
     1320          </xsl:when>
    13181321          <xsl:when test="@format='title'">
    13191322            <xsl:value-of select="$node/@title" />
     
    13371340          <xsl:when test="@format='counter'">
    13381341            <xsl:value-of select="$tabcnt" />
     1342          </xsl:when>
     1343          <xsl:when test="@format='none'">
     1344            <!-- Nothing to do -->
    13391345          </xsl:when>
    13401346          <xsl:when test="@format='title'">
     
    13971403            </xsl:choose>
    13981404          </xsl:when>
     1405          <xsl:when test="@format='none'">
     1406            <!-- Nothing to do -->
     1407          </xsl:when>
    13991408          <xsl:when test="@format='title'">
    14001409            <xsl:value-of select="$node/@title" />
     
    14181427          <xsl:when test="@format='counter'">
    14191428            <xsl:value-of select="$name" />
     1429          </xsl:when>
     1430          <xsl:when test="@format='none'">
     1431            <!-- Nothing to do -->
    14201432          </xsl:when>
    14211433          <xsl:when test="@format='title'">
     
    15031515
    15041516      <xsl:if test="$sec='' or ($fmt!='sec' and $fmt!='number')">
    1505         <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
    1506           <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
    1507             <xsl:attribute name="id">
    1508               <xsl:value-of select="$anchor"/>
    1509             </xsl:attribute>
    1510             <xsl:attribute name="index-key">
    1511               <xsl:value-of select="concat('xrefitem=',@target)"/>
    1512             </xsl:attribute>
    1513             <xsl:if test="$sec!=''">
    1514               <fo:wrapper>
     1517        <xsl:choose>
     1518          <xsl:when test="$xref/@format='none'">
     1519            <!-- Nothing to do -->
     1520          </xsl:when>
     1521          <xsl:otherwise>
     1522            <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
     1523              <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     1524                <xsl:attribute name="id">
     1525                  <xsl:value-of select="$anchor"/>
     1526                </xsl:attribute>
    15151527                <xsl:attribute name="index-key">
    1516                   <xsl:value-of select="concat('xrefitem=',@target,'#',$sec)"/>
     1528                  <xsl:value-of select="concat('xrefitem=',@target)"/>
    15171529                </xsl:attribute>
    1518               </fo:wrapper>
    1519             </xsl:if>
    1520           </xsl:if>
    1521           <xsl:variable name="val">
    1522             <xsl:call-template name="referencename">
    1523               <xsl:with-param name="node" select="$node" />
    1524             </xsl:call-template>
    1525           </xsl:variable>
    1526           <xsl:choose>
    1527             <xsl:when test="$fmt='anchor'">
    1528               <!-- remove brackets -->
    1529               <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
    1530             </xsl:when>
    1531             <xsl:otherwise>
    1532               <xsl:value-of select="$val"/>
    1533             </xsl:otherwise>
    1534           </xsl:choose>
    1535         </fo:basic-link>
     1530                <xsl:if test="$sec!=''">
     1531                  <fo:wrapper>
     1532                    <xsl:attribute name="index-key">
     1533                      <xsl:value-of select="concat('xrefitem=',@target,'#',$sec)"/>
     1534                    </xsl:attribute>
     1535                  </fo:wrapper>
     1536                </xsl:if>
     1537              </xsl:if>
     1538              <xsl:variable name="val">
     1539                <xsl:call-template name="referencename">
     1540                  <xsl:with-param name="node" select="$node" />
     1541                </xsl:call-template>
     1542              </xsl:variable>
     1543              <xsl:choose>
     1544                <xsl:when test="$fmt='anchor' or $xref/@format='counter'">
     1545                  <!-- remove brackets -->
     1546                  <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
     1547                </xsl:when>
     1548                <xsl:when test="$xref/@format='title'">
     1549                  <xsl:value-of select="$node/front/title"/>
     1550                </xsl:when>
     1551                <xsl:otherwise>
     1552                  <xsl:value-of select="$val"/>
     1553                </xsl:otherwise>
     1554              </xsl:choose>
     1555            </fo:basic-link>
     1556          </xsl:otherwise>
     1557        </xsl:choose>
    15361558      </xsl:if>
    15371559
     
    21942216<xsl:template match="ed:link" />
    21952217
     2218<xsl:template match="x:feedback" />
    21962219
    21972220<xsl:template match="node()" mode="bookmarks">
     
    24912514        </xsl:if>
    24922515        <xsl:variable name="columns" select="count(ttcol)" />
    2493         <xsl:for-each select="c[$columns=1 or (position() mod $columns) = 1]">
    2494           <fo:table-row>
    2495             <xsl:for-each select=". | following-sibling::c[position() &lt; $columns]">
    2496               <fo:table-cell padding-left="0.5em" padding-right="0.5em">
    2497                 <xsl:if test="$style='full' or $style='headers'">
    2498                   <xsl:attribute name="border-left-style">solid</xsl:attribute>
    2499                   <xsl:attribute name="border-right-style">solid</xsl:attribute>
    2500                   <xsl:attribute name="border-left-width">thin</xsl:attribute>
    2501                   <xsl:attribute name="border-right-width">thin</xsl:attribute>
    2502                 </xsl:if>
    2503                 <xsl:if test="$style='full'">
    2504                   <xsl:attribute name="border-top-style">solid</xsl:attribute>
    2505                   <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
    2506                   <xsl:attribute name="border-top-width">thin</xsl:attribute>
    2507                   <xsl:attribute name="border-bottom-width">thin</xsl:attribute>
    2508                 </xsl:if>
    2509                 <fo:block>
    2510                   <xsl:variable name="pos" select="position()" />
    2511                   <xsl:variable name="col" select="../ttcol[position() = $pos]" />
    2512                   <xsl:if test="$col/@align">
    2513                     <xsl:attribute name="text-align"><xsl:value-of select="$col/@align" /></xsl:attribute>
    2514                   </xsl:if>
    2515                   <xsl:apply-templates select="node()" />
    2516                 </fo:block>
    2517               </fo:table-cell>
     2516        <xsl:choose>
     2517          <xsl:when test="not(c)">
     2518            <!-- special case: empty body -->
     2519            <fo:table-cell><fo:block/></fo:table-cell>
     2520          </xsl:when>
     2521          <xsl:otherwise>
     2522            <xsl:for-each select="c[$columns=1 or (position() mod $columns) = 1]">
     2523              <fo:table-row>
     2524                <xsl:for-each select=". | following-sibling::c[position() &lt; $columns]">
     2525                  <fo:table-cell padding-left="0.5em" padding-right="0.5em">
     2526                    <xsl:if test="$style='full' or $style='headers'">
     2527                      <xsl:attribute name="border-left-style">solid</xsl:attribute>
     2528                      <xsl:attribute name="border-right-style">solid</xsl:attribute>
     2529                      <xsl:attribute name="border-left-width">thin</xsl:attribute>
     2530                      <xsl:attribute name="border-right-width">thin</xsl:attribute>
     2531                    </xsl:if>
     2532                    <xsl:if test="$style='full'">
     2533                      <xsl:attribute name="border-top-style">solid</xsl:attribute>
     2534                      <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
     2535                      <xsl:attribute name="border-top-width">thin</xsl:attribute>
     2536                      <xsl:attribute name="border-bottom-width">thin</xsl:attribute>
     2537                    </xsl:if>
     2538                    <fo:block>
     2539                      <xsl:variable name="pos" select="position()" />
     2540                      <xsl:variable name="col" select="../ttcol[position() = $pos]" />
     2541                      <xsl:if test="$col/@align">
     2542                        <xsl:attribute name="text-align"><xsl:value-of select="$col/@align" /></xsl:attribute>
     2543                      </xsl:if>
     2544                      <xsl:apply-templates select="node()" />
     2545                    </fo:block>
     2546                  </fo:table-cell>
     2547                </xsl:for-each>
     2548              </fo:table-row>
    25182549            </xsl:for-each>
    2519           </fo:table-row>
    2520         </xsl:for-each>
     2550          </xsl:otherwise>
     2551        </xsl:choose>
    25212552      </fo:table-body>
    25222553    </fo:table>
  • rfc2629xslt/rfc2629toXHTML.xslt

    r2501 r2610  
    12131213</xsl:template>
    12141214
    1215 <!-- numbered list inside numbered list -->
    1216 <xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9">
    1217   <xsl:call-template name="check-no-text-content"/>
    1218   <ol xmlns="http://www.w3.org/1999/xhtml" class="la">
    1219     <xsl:call-template name="insertInsDelClass"/>
    1220     <xsl:apply-templates/>
    1221   </ol>
    1222 </xsl:template>
    1223 
    12241215<xsl:template match="list[@style='letters']">
    12251216  <xsl:call-template name="check-no-text-content"/>
    1226   <ol xmlns="http://www.w3.org/1999/xhtml" class="la">
    1227     <xsl:call-template name="insertInsDelClass"/>
    1228     <xsl:apply-templates/>
    1229   </ol>
    1230 </xsl:template>
    1231 
    1232 <!-- nested lettered list uses uppercase -->
    1233 <xsl:template match="list//t//list[@style='letters']" priority="9">
    1234   <ol xmlns="http://www.w3.org/1999/xhtml" class="ua">
     1217  <xsl:variable name="style">
     1218    <xsl:choose>
     1219      <!-- lowercase for even-numbered nesting levels -->
     1220      <xsl:when test="0=(count(ancestor::list[@style='letters']) mod 2)">la</xsl:when>
     1221      <!-- uppercase otherwise -->
     1222      <xsl:otherwise>ua</xsl:otherwise>
     1223    </xsl:choose>
     1224  </xsl:variable>
     1225  <ol xmlns="http://www.w3.org/1999/xhtml" class="{$style}">
    12351226    <xsl:call-template name="insertInsDelClass"/>
    12361227    <xsl:apply-templates/>
     
    13041295    <xsl:call-template name="insertInsDelClass"/>
    13051296    <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1306     <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1307       <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1297    <xsl:if test="../@hangIndent">
     1298      <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    13081299    </xsl:if>
    13091300    <xsl:apply-templates select="t"/>
     
    13381329      <xsl:call-template name="insertInsDelClass"/>
    13391330      <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1340       <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1341         <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1331      <xsl:if test="../@hangIndent">
     1332        <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    13421333      </xsl:if>
    13431334      <xsl:apply-templates/>
     
    13461337</xsl:template>
    13471338
    1348 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%C') or contains(@style,'%d') or contains(@style,'%i') or contains(@style,'%I'))]/t">
     1339<xsl:template match="list[starts-with(@style,'format ')]/t">
    13491340  <xsl:variable name="list" select=".."/>
    13501341  <xsl:variable name="format" select="substring-after(../@style,'format ')"/>
     
    13611352  <dt xmlns="http://www.w3.org/1999/xhtml">
    13621353    <xsl:call-template name="copy-anchor"/>
    1363     <xsl:choose>
    1364       <xsl:when test="contains($format,'%c')">
    1365         <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a"/><xsl:value-of select="substring-after($format,'%c')"/>
    1366       </xsl:when>
    1367       <xsl:when test="contains($format,'%C')">
    1368         <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A"/><xsl:value-of select="substring-after($format,'%C')"/>
    1369       </xsl:when>
    1370       <xsl:when test="contains($format,'%d')">
    1371         <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos"/><xsl:value-of select="substring-after($format,'%d')"/>
    1372       </xsl:when>
    1373       <xsl:when test="contains($format,'%i')">
    1374         <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i"/><xsl:value-of select="substring-after($format,'%i')"/>
    1375       </xsl:when>
    1376       <xsl:when test="contains($format,'%I')">
    1377         <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I"/><xsl:value-of select="substring-after($format,'%I')"/>
    1378       </xsl:when>
    1379       <xsl:otherwise>
    1380         <xsl:value-of select="$format"/>
    1381         <xsl:call-template name="warning">
    1382           <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/>
    1383         </xsl:call-template>
    1384       </xsl:otherwise>
    1385     </xsl:choose>
     1354    <xsl:call-template name="expand-format-percent">
     1355      <xsl:with-param name="format" select="$format"/>
     1356      <xsl:with-param name="pos" select="$pos"/>
     1357    </xsl:call-template>
    13861358  </dt>
    13871359  <dd xmlns="http://www.w3.org/1999/xhtml">
    13881360    <xsl:apply-templates/>
    13891361  </dd>
     1362</xsl:template>
     1363
     1364<xsl:template name="expand-format-percent">
     1365  <xsl:param name="format"/>
     1366  <xsl:param name="pos"/>
     1367 
     1368  <xsl:choose>
     1369    <xsl:when test="$format=''"><!-- done--></xsl:when>
     1370    <xsl:when test="substring($format,1,1)!='%' or string-length($format)=1">
     1371      <xsl:value-of select="substring($format,1,1)"/>
     1372      <xsl:call-template name="expand-format-percent">
     1373        <xsl:with-param name="format" select="substring($format,2)"/>
     1374        <xsl:with-param name="pos" select="$pos"/>
     1375      </xsl:call-template>
     1376    </xsl:when>
     1377    <xsl:otherwise>
     1378      <xsl:variable name="f" select="substring($format,2,1)"/>
     1379      <xsl:choose>
     1380        <xsl:when test="$f='%'">%</xsl:when>
     1381        <xsl:when test="$f='c'"><xsl:number value="$pos" format="a"/></xsl:when>
     1382        <xsl:when test="$f='C'"><xsl:number value="$pos" format="A"/></xsl:when>
     1383        <xsl:when test="$f='d'"><xsl:number value="$pos"/></xsl:when>
     1384        <xsl:when test="$f='i'"><xsl:number value="$pos" format="i"/></xsl:when>
     1385        <xsl:when test="$f='I'"><xsl:number value="$pos" format="I"/></xsl:when>
     1386        <xsl:otherwise>
     1387          <xsl:call-template name="error">
     1388            <xsl:with-param name="msg" select="concat('Unsupported % format: ', $f)"/>
     1389            <xsl:with-param name="inline" select="'no'"/>
     1390          </xsl:call-template>
     1391        </xsl:otherwise>
     1392      </xsl:choose>
     1393      <xsl:call-template name="expand-format-percent">
     1394        <xsl:with-param name="format" select="substring($format,3)"/>
     1395        <xsl:with-param name="pos" select="$pos"/>
     1396      </xsl:call-template>
     1397    </xsl:otherwise>
     1398  </xsl:choose>
     1399 
    13901400</xsl:template>
    13911401
     
    15141524  <!-- check for reference to reference -->
    15151525  <xsl:variable name="anchor" select="@anchor"/>
    1516   <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
    1517     <xsl:call-template name="warning">
    1518       <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
    1519     </xsl:call-template>
    1520   </xsl:if>
     1526  <xsl:choose>
     1527    <xsl:when test="not(@anchor)">
     1528      <xsl:call-template name="warning">
     1529        <xsl:with-param name="msg">missing anchor on reference: <xsl:value-of select="."/></xsl:with-param>
     1530      </xsl:call-template>
     1531    </xsl:when>
     1532    <xsl:when test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
     1533      <xsl:call-template name="warning">
     1534        <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
     1535      </xsl:call-template>
     1536    </xsl:when>
     1537    <xsl:otherwise/>
     1538  </xsl:choose>
    15211539
    15221540  <!-- check normative/informative -->
     
    22392257      <xsl:value-of select="$to/@title"/>
    22402258    </xsl:when>
     2259    <xsl:when test="$from/@format='none'">
     2260      <!-- Nothing to do -->
     2261    </xsl:when>
    22412262    <xsl:otherwise>
    22422263      <xsl:value-of select="normalize-space(concat($refname,' ',$refnum))"/>
     
    23982419              <xsl:value-of select="$figcnt"/>
    23992420            </xsl:when>
     2421            <xsl:when test="$xref/@format='none'">
     2422              <!-- Nothing to do -->
     2423            </xsl:when>
    24002424            <xsl:when test="$xref/@format='title'">
    24012425              <xsl:value-of select="$node/@title"/>
     
    24192443            <xsl:when test="$xref/@format='counter'">
    24202444              <xsl:value-of select="$tabcnt"/>
     2445            </xsl:when>
     2446            <xsl:when test="$xref/@format='none'">
     2447              <!-- Nothing to do -->
    24212448            </xsl:when>
    24222449            <xsl:when test="$xref/@format='title'">
     
    24792506              </xsl:choose>
    24802507            </xsl:when>
     2508            <xsl:when test="$xref/@format='none'">
     2509              <!-- Nothing to do -->
     2510            </xsl:when>
    24812511            <xsl:when test="$xref/@format='title'">
    24822512              <xsl:value-of select="$node/@title"/>
     
    25002530            <xsl:when test="$xref/@format='counter'">
    25012531              <xsl:value-of select="$name"/>
     2532            </xsl:when>
     2533            <xsl:when test="$xref/@format='none'">
     2534              <!-- Nothing to do -->
    25022535            </xsl:when>
    25032536            <xsl:when test="$xref/@format='title'">
     
    26562689
    26572690        <xsl:if test="$sec='' or ($fmt!='sec' and $fmt!='number')">
    2658           <a xmlns="http://www.w3.org/1999/xhtml" href="#{$xref/@target}">
    2659             <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
    2660               <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    2661             </xsl:if>
    2662             <cite title="{normalize-space($node/front/title)}">
    2663               <xsl:variable name="val">
    2664                 <xsl:call-template name="referencename">
    2665                   <xsl:with-param name="node" select="$node"/>
    2666                 </xsl:call-template>
    2667               </xsl:variable>
    2668               <xsl:choose>
    2669                 <xsl:when test="$fmt='anchor'">
    2670                   <!-- remove brackets -->
    2671                   <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
    2672                 </xsl:when>
    2673                 <xsl:otherwise>
    2674                   <xsl:value-of select="$val"/>
    2675                 </xsl:otherwise>
    2676               </xsl:choose>
    2677             </cite>
    2678           </a>
     2691          <xsl:choose>
     2692            <xsl:when test="$xref/@format='none'">
     2693              <!-- Nothing to do -->
     2694            </xsl:when>
     2695            <xsl:otherwise>
     2696              <a xmlns="http://www.w3.org/1999/xhtml" href="#{$xref/@target}">
     2697                <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     2698                  <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     2699                </xsl:if>
     2700                <cite title="{normalize-space($node/front/title)}">
     2701                  <xsl:variable name="val">
     2702                    <xsl:call-template name="referencename">
     2703                      <xsl:with-param name="node" select="$node"/>
     2704                    </xsl:call-template>
     2705                  </xsl:variable>
     2706                  <xsl:choose>
     2707                    <xsl:when test="$fmt='anchor' or $xref/@format='counter'">
     2708                      <!-- remove brackets -->
     2709                      <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
     2710                    </xsl:when>
     2711                    <xsl:when test="$xref/@format='title'">
     2712                      <xsl:value-of select="$node/front/title"/>
     2713                    </xsl:when>
     2714                    <xsl:otherwise>
     2715                      <xsl:value-of select="$val"/>
     2716                    </xsl:otherwise>
     2717                  </xsl:choose>
     2718                </cite>
     2719              </a>
     2720            </xsl:otherwise>
     2721          </xsl:choose>
    26792722        </xsl:if>
    26802723
     
    27602803      </xsl:when>
    27612804      <xsl:when test="/rfc/front/workgroup and (not(/rfc/@number) or /rfc/@number='')">
    2762         <xsl:if test="not(starts-with(/rfc/@docName,'draft-ietf-')) and $submissionType='IETF'">
    2763           <xsl:call-template name="info">
    2764             <xsl:with-param name="inline" select="'no'"/>
    2765             <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working Group drafts</xsl:with-param>
    2766           </xsl:call-template>
    2767         </xsl:if>
     2805        <xsl:choose>
     2806          <xsl:when test="starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'"/>
     2807          <xsl:when test="starts-with(/rfc/@docName,'draft-irft-') and $submissionType='IRTF'"/>
     2808          <xsl:otherwise>
     2809            <xsl:call-template name="info">
     2810              <xsl:with-param name="inline" select="'no'"/>
     2811              <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working/Research Group drafts</xsl:with-param>
     2812            </xsl:call-template>
     2813          </xsl:otherwise>
     2814        </xsl:choose>
    27682815        <xsl:for-each select="/rfc/front/workgroup">
    2769           <myns:item><xsl:value-of select="."/></myns:item>
     2816          <xsl:variable name="v" select="normalize-space(.)"/>
     2817          <xsl:variable name="tmp" select="translate($v, $ucase, $lcase)"/>
     2818          <xsl:if test="contains($tmp,' research group') or contains($tmp,' working group')">
     2819            <xsl:call-template name="info">
     2820              <xsl:with-param name="inline" select="'no'"/>
     2821              <xsl:with-param name="msg">No need to include 'Working Group' or 'Research Group' postfix in /rfc/front/workgroup value '<xsl:value-of select="$v"/>'</xsl:with-param>
     2822            </xsl:call-template>
     2823          </xsl:if>
     2824          <xsl:variable name="h">
     2825            <!-- when a single name, append WG/RG postfix automatically -->
     2826            <xsl:choose>
     2827              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'">
     2828                <xsl:value-of select="concat($v, ' Working Group')"/>
     2829              </xsl:when>
     2830              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-irtf-') and $submissionType='IRTF'">
     2831                <xsl:value-of select="concat($v, ' Research Group')"/>
     2832              </xsl:when>
     2833              <xsl:otherwise>
     2834                <xsl:value-of select="$v"/>
     2835              </xsl:otherwise>
     2836            </xsl:choose>
     2837          </xsl:variable>
     2838          <myns:item>
     2839            <xsl:value-of select="$h"/>
     2840          </myns:item>
    27702841        </xsl:for-each>
    27712842      </xsl:when>
     
    27802851      </xsl:otherwise>
    27812852    </xsl:choose>
     2853    <!-- check <area> value -->
     2854    <xsl:for-each select="/rfc/front/area">
     2855      <xsl:variable name="area" select="normalize-space(.)"/>
     2856      <xsl:variable name="allowed">
     2857        <ed:v>Applications</ed:v>
     2858        <ed:v>app</ed:v>
     2859        <ed:v>General</ed:v>
     2860        <ed:v>gen</ed:v>
     2861        <ed:v>Internet</ed:v>
     2862        <ed:v>int</ed:v>
     2863        <ed:v>Operations and Management</ed:v>
     2864        <ed:v>ops</ed:v>
     2865        <ed:v>Real-time Applications and Infrastructure</ed:v>
     2866        <ed:v>rai</ed:v>
     2867        <ed:v>Routing</ed:v>
     2868        <ed:v>rtg</ed:v>
     2869        <ed:v>Security</ed:v>
     2870        <ed:v>sec</ed:v>
     2871        <ed:v>Transport</ed:v>
     2872        <ed:v>tsv</ed:v>
     2873      </xsl:variable>
     2874      <xsl:choose>
     2875        <xsl:when test="$allowed/ed:v=$area">
     2876          <!-- ok -->
     2877        </xsl:when>
     2878        <xsl:otherwise>
     2879          <xsl:call-template name="warning">
     2880            <xsl:with-param name="inline" select="'no'"/>
     2881            <xsl:with-param name="msg">Unknown IETF area: "<xsl:value-of select="$area"/>" - should be one of: <xsl:for-each select="$allowed/ed:v">
     2882              <xsl:text>"</xsl:text>
     2883              <xsl:value-of select="."/>
     2884              <xsl:text>"</xsl:text>
     2885              <xsl:if test="position()!=last()">
     2886                <xsl:text>, </xsl:text>
     2887              </xsl:if>
     2888            </xsl:for-each>
     2889            </xsl:with-param>
     2890          </xsl:call-template>
     2891        </xsl:otherwise>
     2892      </xsl:choose>
     2893    </xsl:for-each>
    27822894    <myns:item>
    27832895       <xsl:choose>
     
    65836695    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    65846696    <!-- when RCS keyword substitution in place, add version info -->
    6585     <xsl:if test="contains('$Revision: 1.611 $',':')">
    6586       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.611 $', 'Revision: '),'$','')),', ')"/>
     6697    <xsl:if test="contains('$Revision: 1.619 $',':')">
     6698      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.619 $', 'Revision: '),'$','')),', ')"/>
    65876699    </xsl:if>
    6588     <xsl:if test="contains('$Date: 2013/11/27 12:23:51 $',':')">
    6589       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/27 12:23:51 $', 'Date: '),'$','')),', ')"/>
     6700    <xsl:if test="contains('$Date: 2014/01/31 15:52:15 $',':')">
     6701      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2014/01/31 15:52:15 $', 'Date: '),'$','')),', ')"/>
    65906702    </xsl:if>
    65916703    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
  • rfc2629xslt/rfc2629xslt.html

    r2527 r2610  
    371371    }
    372372}
    373 </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.611, 2013/11/27 12:23:51, 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">December 2013</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><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li><a href="#rfc.section.2.1">2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li><a href="#rfc.section.6.5">6.5</a>&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li><a href="#rfc.section.9.1.2">9.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li><a href="#rfc.section.11.1">11.1</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li><a href="#rfc.section.11.2">11.2</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li><a href="#rfc.section.11.3">11.3</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li><a href="#rfc.section.11.4">11.4</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li><a href="#rfc.section.11.5">11.5</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li><a href="#rfc.section.11.6">11.6</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li><a href="#rfc.section.11.7">11.7</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li><a href="#rfc.section.11.8">11.8</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li><a href="#rfc.section.11.9">11.9</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li><a href="#rfc.section.11.10">11.10</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></li><li><a href="#rfc.section.11.11">11.11</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li><a href="#rfc.section.11.12">11.12</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li><a href="#rfc.section.11.13">11.13</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li><a href="#rfc.section.11.14">11.14</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li><a href="#rfc.section.11.15">11.15</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li><a href="#rfc.section.11.16">11.16</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li><a href="#rfc.section.11.17">11.17</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li><a href="#rfc.section.11.18">11.18</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li><a href="#rfc.section.11.19">11.19</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li><a href="#rfc.section.11.20">11.20</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li><a href="#rfc.section.11.21">11.21</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li><a href="#rfc.section.11.22">11.22</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li><a href="#rfc.section.11.23">11.23</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li><a href="#rfc.section.11.24">11.24</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li><a href="#rfc.section.11.25">11.25</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li><a href="#rfc.section.11.26">11.26</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li><a href="#rfc.section.11.27">11.27</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li><a href="#rfc.section.11.28">11.28</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Generating Graphs from References</a></li><li><a href="#rfc.section.12.3">12.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.3">Producing reference entries for books</a></li><li><a href="#rfc.section.12.4">12.4</a>&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li><a href="#rfc.section.12.5">12.5</a>&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li><a href="#rfc.section.12.6">12.6</a>&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li><a href="#rfc.section.13">13.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li><a href="#rfc.section.B.1">B.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li><a href="#rfc.section.D.1.1.1">D.1.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></li><li><a href="#rfc.section.D.1.1.2">D.1.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li><a href="#rfc.section.D.1.1.3">D.1.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li><a href="#rfc.section.D.1.1.4">D.1.1.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a><ul><li><a href="#rfc.section.D.1.2.1">D.1.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li><a href="#rfc.section.D.1.2.2">D.1.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li><a href="#rfc.section.D.1.2.3">D.1.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li><a href="#rfc.section.D.1.2.4">D.1.2.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li><a href="#rfc.section.D.6">D.6</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li><a href="#rfc.section.D.7">D.7</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li><a href="#rfc.section.D.8">D.8</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li><a href="#rfc.section.E">E.</a>&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li><a href="#rfc.section.F">F.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F">Change Logs</a><ul><li><a href="#rfc.section.F.1">F.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.1">Package</a></li><li><a href="#rfc.section.F.2">F.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li><a href="#rfc.section.F.3">F.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.3">check-references.xslt</a></li><li><a href="#rfc.section.F.4">F.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li><a href="#rfc.section.F.5">F.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.5">rfc2629.xslt</a></li><li><a href="#rfc.section.F.6">F.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li><a href="#rfc.section.F.7">F.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li><a href="#rfc.section.F.8">F.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li><a href="#rfc.section.F.9">F.9</a>&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"><div><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></div><hr class="noprint"><div id="supported.elements"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a 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><div><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></div></div><hr class="noprint"><div id="processing.instructions"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a 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;
     373</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.619, 2014/01/31 15:52:15, 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">December 2013</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><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li><a href="#rfc.section.2.1">2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li><a href="#rfc.section.6.5">6.5</a>&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li><a href="#rfc.section.9.1.2">9.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li><a href="#rfc.section.11.1">11.1</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li><a href="#rfc.section.11.2">11.2</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li><a href="#rfc.section.11.3">11.3</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li><a href="#rfc.section.11.4">11.4</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li><a href="#rfc.section.11.5">11.5</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li><a href="#rfc.section.11.6">11.6</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li><a href="#rfc.section.11.7">11.7</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li><a href="#rfc.section.11.8">11.8</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li><a href="#rfc.section.11.9">11.9</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li><a href="#rfc.section.11.10">11.10</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></li><li><a href="#rfc.section.11.11">11.11</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li><a href="#rfc.section.11.12">11.12</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li><a href="#rfc.section.11.13">11.13</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li><a href="#rfc.section.11.14">11.14</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li><a href="#rfc.section.11.15">11.15</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li><a href="#rfc.section.11.16">11.16</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li><a href="#rfc.section.11.17">11.17</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li><a href="#rfc.section.11.18">11.18</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li><a href="#rfc.section.11.19">11.19</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li><a href="#rfc.section.11.20">11.20</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li><a href="#rfc.section.11.21">11.21</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li><a href="#rfc.section.11.22">11.22</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li><a href="#rfc.section.11.23">11.23</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li><a href="#rfc.section.11.24">11.24</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li><a href="#rfc.section.11.25">11.25</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li><a href="#rfc.section.11.26">11.26</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li><a href="#rfc.section.11.27">11.27</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li><a href="#rfc.section.11.28">11.28</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Generating Graphs from References</a></li><li><a href="#rfc.section.12.3">12.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.3">Producing reference entries for books</a></li><li><a href="#rfc.section.12.4">12.4</a>&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li><a href="#rfc.section.12.5">12.5</a>&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li><a href="#rfc.section.12.6">12.6</a>&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li><a href="#rfc.section.13">13.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li><a href="#rfc.section.B.1">B.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li><a href="#rfc.section.D.1.1.1">D.1.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></li><li><a href="#rfc.section.D.1.1.2">D.1.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li><a href="#rfc.section.D.1.1.3">D.1.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li><a href="#rfc.section.D.1.1.4">D.1.1.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a><ul><li><a href="#rfc.section.D.1.2.1">D.1.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li><a href="#rfc.section.D.1.2.2">D.1.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li><a href="#rfc.section.D.1.2.3">D.1.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li><a href="#rfc.section.D.1.2.4">D.1.2.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li><a href="#rfc.section.D.6">D.6</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li><a href="#rfc.section.D.7">D.7</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li><a href="#rfc.section.D.8">D.8</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li><a href="#rfc.section.E">E.</a>&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li><a href="#rfc.section.F">F.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F">Change Logs</a><ul><li><a href="#rfc.section.F.1">F.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.1">Package</a></li><li><a href="#rfc.section.F.2">F.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li><a href="#rfc.section.F.3">F.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.3">check-references.xslt</a></li><li><a href="#rfc.section.F.4">F.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li><a href="#rfc.section.F.5">F.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.5">rfc2629.xslt</a></li><li><a href="#rfc.section.F.6">F.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li><a href="#rfc.section.F.7">F.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li><a href="#rfc.section.F.8">F.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li><a href="#rfc.section.F.9">F.9</a>&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"><div><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></div><hr class="noprint"><div id="supported.elements"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a 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><div><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></div></div><hr class="noprint"><div id="processing.instructions"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a 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;
    374374&lt;?rfc-ext support-rfc2731="no"?&gt;
    375375</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/rfc2629xslt.txt

    r2527 r2610  
    44RFC2629 through XSLT                                          J. Reschke
    55                                                              greenbytes
    6                                                         December 7, 2013
     6                                                           December 2013
    77
    88
  • rfc2629xslt/samples/rfc2629.xslt

    r2501 r2610  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2013, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2014, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    13451345</xsl:template>
    13461346
    1347 <!-- numbered list inside numbered list -->
    1348 <xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9">
    1349   <xsl:call-template name="check-no-text-content"/>
    1350   <ol class="la">
    1351     <xsl:call-template name="insertInsDelClass"/>
    1352     <xsl:apply-templates />
    1353   </ol>
    1354 </xsl:template>
    1355 
    13561347<xsl:template match="list[@style='letters']">
    13571348  <xsl:call-template name="check-no-text-content"/>
    1358   <ol class="la">
    1359     <xsl:call-template name="insertInsDelClass"/>
    1360     <xsl:apply-templates />
    1361   </ol>
    1362 </xsl:template>
    1363 
    1364 <!-- nested lettered list uses uppercase -->
    1365 <xsl:template match="list//t//list[@style='letters']" priority="9">
    1366   <ol class="ua">
     1349  <xsl:variable name="style">
     1350    <xsl:choose>
     1351      <!-- lowercase for even-numbered nesting levels -->
     1352      <xsl:when test="0=(count(ancestor::list[@style='letters']) mod 2)">la</xsl:when>
     1353      <!-- uppercase otherwise -->
     1354      <xsl:otherwise>ua</xsl:otherwise>
     1355    </xsl:choose>
     1356  </xsl:variable>
     1357  <ol class="{$style}">
    13671358    <xsl:call-template name="insertInsDelClass"/>
    13681359    <xsl:apply-templates />
     
    14361427    <xsl:call-template name="insertInsDelClass"/>
    14371428    <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1438     <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1439       <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1429    <xsl:if test="../@hangIndent">
     1430      <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    14401431    </xsl:if>
    14411432    <xsl:apply-templates select="t" />
     
    14701461      <xsl:call-template name="insertInsDelClass"/>
    14711462      <!-- if hangIndent present, use 0.7 of the specified value (1em is the width of the "m" character -->
    1472       <xsl:if test="../@hangIndent and ../@hangIndent!='0'">
    1473         <xsl:attribute name="style">margin-left: <xsl:value-of select="../@hangIndent * 0.7"/>em</xsl:attribute>
     1463      <xsl:if test="../@hangIndent">
     1464        <xsl:attribute name="style">margin-left: <xsl:value-of select="format-number(../@hangIndent * 0.7,'#.#')"/>em</xsl:attribute>
    14741465      </xsl:if>
    14751466      <xsl:apply-templates />
     
    14781469</xsl:template>
    14791470
    1480 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%C') or contains(@style,'%d') or contains(@style,'%i') or contains(@style,'%I'))]/t">
     1471<xsl:template match="list[starts-with(@style,'format ')]/t">
    14811472  <xsl:variable name="list" select=".." />
    14821473  <xsl:variable name="format" select="substring-after(../@style,'format ')" />
     
    14931484  <dt>
    14941485    <xsl:call-template name="copy-anchor"/>
    1495     <xsl:choose>
    1496       <xsl:when test="contains($format,'%c')">
    1497         <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a" /><xsl:value-of select="substring-after($format,'%c')"/>
    1498       </xsl:when>
    1499       <xsl:when test="contains($format,'%C')">
    1500         <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A" /><xsl:value-of select="substring-after($format,'%C')"/>
    1501       </xsl:when>
    1502       <xsl:when test="contains($format,'%d')">
    1503         <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" /><xsl:value-of select="substring-after($format,'%d')"/>
    1504       </xsl:when>
    1505       <xsl:when test="contains($format,'%i')">
    1506         <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i" /><xsl:value-of select="substring-after($format,'%i')"/>
    1507       </xsl:when>
    1508       <xsl:when test="contains($format,'%I')">
    1509         <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I" /><xsl:value-of select="substring-after($format,'%I')"/>
    1510       </xsl:when>
    1511       <xsl:otherwise>
    1512         <xsl:value-of select="$format"/>
    1513         <xsl:call-template name="warning">
    1514           <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/>
    1515         </xsl:call-template>
    1516       </xsl:otherwise>
    1517     </xsl:choose>
     1486    <xsl:call-template name="expand-format-percent">
     1487      <xsl:with-param name="format" select="$format"/>
     1488      <xsl:with-param name="pos" select="$pos"/>
     1489    </xsl:call-template>
    15181490  </dt>
    15191491  <dd>
    15201492    <xsl:apply-templates />
    15211493  </dd>
     1494</xsl:template>
     1495
     1496<xsl:template name="expand-format-percent">
     1497  <xsl:param name="format"/>
     1498  <xsl:param name="pos"/>
     1499 
     1500  <xsl:choose>
     1501    <xsl:when test="$format=''"><!-- done--></xsl:when>
     1502    <xsl:when test="substring($format,1,1)!='%' or string-length($format)=1">
     1503      <xsl:value-of select="substring($format,1,1)"/>
     1504      <xsl:call-template name="expand-format-percent">
     1505        <xsl:with-param name="format" select="substring($format,2)"/>
     1506        <xsl:with-param name="pos" select="$pos"/>
     1507      </xsl:call-template>
     1508    </xsl:when>
     1509    <xsl:otherwise>
     1510      <xsl:variable name="f" select="substring($format,2,1)"/>
     1511      <xsl:choose>
     1512        <xsl:when test="$f='%'">%</xsl:when>
     1513        <xsl:when test="$f='c'"><xsl:number value="$pos" format="a"/></xsl:when>
     1514        <xsl:when test="$f='C'"><xsl:number value="$pos" format="A"/></xsl:when>
     1515        <xsl:when test="$f='d'"><xsl:number value="$pos"/></xsl:when>
     1516        <xsl:when test="$f='i'"><xsl:number value="$pos" format="i"/></xsl:when>
     1517        <xsl:when test="$f='I'"><xsl:number value="$pos" format="I"/></xsl:when>
     1518        <xsl:otherwise>
     1519          <xsl:call-template name="error">
     1520            <xsl:with-param name="msg" select="concat('Unsupported % format: ', $f)"/>
     1521            <xsl:with-param name="inline" select="'no'"/>
     1522          </xsl:call-template>
     1523        </xsl:otherwise>
     1524      </xsl:choose>
     1525      <xsl:call-template name="expand-format-percent">
     1526        <xsl:with-param name="format" select="substring($format,3)"/>
     1527        <xsl:with-param name="pos" select="$pos"/>
     1528      </xsl:call-template>
     1529    </xsl:otherwise>
     1530  </xsl:choose>
     1531 
    15221532</xsl:template>
    15231533
     
    16461656  <!-- check for reference to reference -->
    16471657  <xsl:variable name="anchor" select="@anchor"/>
    1648   <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
    1649     <xsl:call-template name="warning">
    1650       <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
    1651     </xsl:call-template>
    1652   </xsl:if>
     1658  <xsl:choose>
     1659    <xsl:when test="not(@anchor)">
     1660      <xsl:call-template name="warning">
     1661        <xsl:with-param name="msg">missing anchor on reference: <xsl:value-of select="."/></xsl:with-param>
     1662      </xsl:call-template>
     1663    </xsl:when>
     1664    <xsl:when test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
     1665      <xsl:call-template name="warning">
     1666        <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
     1667      </xsl:call-template>
     1668    </xsl:when>
     1669    <xsl:otherwise/>
     1670  </xsl:choose>
    16531671
    16541672  <!-- check normative/informative -->
     
    23712389      <xsl:value-of select="$to/@title"/>
    23722390    </xsl:when>
     2391    <xsl:when test="$from/@format='none'">
     2392      <!-- Nothing to do -->
     2393    </xsl:when>
    23732394    <xsl:otherwise>
    23742395      <xsl:value-of select="normalize-space(concat($refname,'&#160;',$refnum))"/>
     
    25302551              <xsl:value-of select="$figcnt" />
    25312552            </xsl:when>
     2553            <xsl:when test="$xref/@format='none'">
     2554              <!-- Nothing to do -->
     2555            </xsl:when>
    25322556            <xsl:when test="$xref/@format='title'">
    25332557              <xsl:value-of select="$node/@title" />
     
    25512575            <xsl:when test="$xref/@format='counter'">
    25522576              <xsl:value-of select="$tabcnt" />
     2577            </xsl:when>
     2578            <xsl:when test="$xref/@format='none'">
     2579              <!-- Nothing to do -->
    25532580            </xsl:when>
    25542581            <xsl:when test="$xref/@format='title'">
     
    26112638              </xsl:choose>
    26122639            </xsl:when>
     2640            <xsl:when test="$xref/@format='none'">
     2641              <!-- Nothing to do -->
     2642            </xsl:when>
    26132643            <xsl:when test="$xref/@format='title'">
    26142644              <xsl:value-of select="$node/@title" />
     
    26322662            <xsl:when test="$xref/@format='counter'">
    26332663              <xsl:value-of select="$name" />
     2664            </xsl:when>
     2665            <xsl:when test="$xref/@format='none'">
     2666              <!-- Nothing to do -->
    26342667            </xsl:when>
    26352668            <xsl:when test="$xref/@format='title'">
     
    27882821
    27892822        <xsl:if test="$sec='' or ($fmt!='sec' and $fmt!='number')">
    2790           <a href="#{$xref/@target}">
    2791             <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
    2792               <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    2793             </xsl:if>
    2794             <cite title="{normalize-space($node/front/title)}">
    2795               <xsl:variable name="val">
    2796                 <xsl:call-template name="referencename">
    2797                   <xsl:with-param name="node" select="$node" />
    2798                 </xsl:call-template>
    2799               </xsl:variable>
    2800               <xsl:choose>
    2801                 <xsl:when test="$fmt='anchor'">
    2802                   <!-- remove brackets -->
    2803                   <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
    2804                 </xsl:when>
    2805                 <xsl:otherwise>
    2806                   <xsl:value-of select="$val"/>
    2807                 </xsl:otherwise>
    2808               </xsl:choose>
    2809             </cite>
    2810           </a>
     2823          <xsl:choose>
     2824            <xsl:when test="$xref/@format='none'">
     2825              <!-- Nothing to do -->
     2826            </xsl:when>
     2827            <xsl:otherwise>
     2828              <a href="#{$xref/@target}">
     2829                <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     2830                  <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     2831                </xsl:if>
     2832                <cite title="{normalize-space($node/front/title)}">
     2833                  <xsl:variable name="val">
     2834                    <xsl:call-template name="referencename">
     2835                      <xsl:with-param name="node" select="$node" />
     2836                    </xsl:call-template>
     2837                  </xsl:variable>
     2838                  <xsl:choose>
     2839                    <xsl:when test="$fmt='anchor' or $xref/@format='counter'">
     2840                      <!-- remove brackets -->
     2841                      <xsl:value-of select="substring($val,2,string-length($val)-2)"/>
     2842                    </xsl:when>
     2843                    <xsl:when test="$xref/@format='title'">
     2844                      <xsl:value-of select="$node/front/title"/>
     2845                    </xsl:when>
     2846                    <xsl:otherwise>
     2847                      <xsl:value-of select="$val"/>
     2848                    </xsl:otherwise>
     2849                  </xsl:choose>
     2850                </cite>
     2851              </a>
     2852            </xsl:otherwise>
     2853          </xsl:choose>
    28112854        </xsl:if>
    28122855
     
    28922935      </xsl:when>
    28932936      <xsl:when test="/rfc/front/workgroup and (not(/rfc/@number) or /rfc/@number='')">
    2894         <xsl:if test="not(starts-with(/rfc/@docName,'draft-ietf-')) and $submissionType='IETF'">
    2895           <xsl:call-template name="info">
    2896             <xsl:with-param name="inline" select="'no'"/>
    2897             <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working Group drafts</xsl:with-param>
    2898           </xsl:call-template>
    2899         </xsl:if>
     2937        <xsl:choose>
     2938          <xsl:when test="starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'"/>
     2939          <xsl:when test="starts-with(/rfc/@docName,'draft-irft-') and $submissionType='IRTF'"/>
     2940          <xsl:otherwise>
     2941            <xsl:call-template name="info">
     2942              <xsl:with-param name="inline" select="'no'"/>
     2943              <xsl:with-param name="msg">The /rfc/front/workgroup should only be used for Working/Research Group drafts</xsl:with-param>
     2944            </xsl:call-template>
     2945          </xsl:otherwise>
     2946        </xsl:choose>
    29002947        <xsl:for-each select="/rfc/front/workgroup">
    2901           <myns:item><xsl:value-of select="."/></myns:item>
     2948          <xsl:variable name="v" select="normalize-space(.)"/>
     2949          <xsl:variable name="tmp" select="translate($v, $ucase, $lcase)"/>
     2950          <xsl:if test="contains($tmp,' research group') or contains($tmp,' working group')">
     2951            <xsl:call-template name="info">
     2952              <xsl:with-param name="inline" select="'no'"/>
     2953              <xsl:with-param name="msg">No need to include 'Working Group' or 'Research Group' postfix in /rfc/front/workgroup value '<xsl:value-of select="$v"/>'</xsl:with-param>
     2954            </xsl:call-template>
     2955          </xsl:if>
     2956          <xsl:variable name="h">
     2957            <!-- when a single name, append WG/RG postfix automatically -->
     2958            <xsl:choose>
     2959              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-ietf-') and $submissionType='IETF'">
     2960                <xsl:value-of select="concat($v, ' Working Group')"/>
     2961              </xsl:when>
     2962              <xsl:when test="not(contains($v, ' ')) and starts-with(/rfc/@docName,'draft-irtf-') and $submissionType='IRTF'">
     2963                <xsl:value-of select="concat($v, ' Research Group')"/>
     2964              </xsl:when>
     2965              <xsl:otherwise>
     2966                <xsl:value-of select="$v"/>
     2967              </xsl:otherwise>
     2968            </xsl:choose>
     2969          </xsl:variable>
     2970          <myns:item>
     2971            <xsl:value-of select="$h"/>
     2972          </myns:item>
    29022973        </xsl:for-each>
    29032974      </xsl:when>
     
    29122983      </xsl:otherwise>
    29132984    </xsl:choose>
     2985    <!-- check <area> value -->
     2986    <xsl:for-each select="/rfc/front/area">
     2987      <xsl:variable name="area" select="normalize-space(.)"/>
     2988      <xsl:variable name="allowed">
     2989        <ed:v>Applications</ed:v>
     2990        <ed:v>app</ed:v>
     2991        <ed:v>General</ed:v>
     2992        <ed:v>gen</ed:v>
     2993        <ed:v>Internet</ed:v>
     2994        <ed:v>int</ed:v>
     2995        <ed:v>Operations and Management</ed:v>
     2996        <ed:v>ops</ed:v>
     2997        <ed:v>Real-time Applications and Infrastructure</ed:v>
     2998        <ed:v>rai</ed:v>
     2999        <ed:v>Routing</ed:v>
     3000        <ed:v>rtg</ed:v>
     3001        <ed:v>Security</ed:v>
     3002        <ed:v>sec</ed:v>
     3003        <ed:v>Transport</ed:v>
     3004        <ed:v>tsv</ed:v>
     3005      </xsl:variable>
     3006      <xsl:choose>
     3007        <xsl:when test="$allowed/ed:v=$area">
     3008          <!-- ok -->
     3009        </xsl:when>
     3010        <xsl:otherwise>
     3011          <xsl:call-template name="warning">
     3012            <xsl:with-param name="inline" select="'no'"/>
     3013            <xsl:with-param name="msg">Unknown IETF area: "<xsl:value-of select="$area"/>" - should be one of: <xsl:for-each select="$allowed/ed:v">
     3014              <xsl:text>"</xsl:text>
     3015              <xsl:value-of select="."/>
     3016              <xsl:text>"</xsl:text>
     3017              <xsl:if test="position()!=last()">
     3018                <xsl:text>, </xsl:text>
     3019              </xsl:if>
     3020            </xsl:for-each>
     3021            </xsl:with-param>
     3022          </xsl:call-template>
     3023        </xsl:otherwise>
     3024      </xsl:choose>
     3025    </xsl:for-each>
    29143026    <myns:item>
    29153027       <xsl:choose>
     
    67266838    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    67276839    <!-- when RCS keyword substitution in place, add version info -->
    6728     <xsl:if test="contains('$Revision: 1.611 $',':')">
    6729       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.611 $', 'Revision: '),'$','')),', ')" />
     6840    <xsl:if test="contains('$Revision: 1.619 $',':')">
     6841      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.619 $', 'Revision: '),'$','')),', ')" />
    67306842    </xsl:if>
    6731     <xsl:if test="contains('$Date: 2013/11/27 12:23:51 $',':')">
    6732       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/27 12:23:51 $', 'Date: '),'$','')),', ')" />
     6843    <xsl:if test="contains('$Date: 2014/01/31 15:52:15 $',':')">
     6844      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2014/01/31 15:52:15 $', 'Date: '),'$','')),', ')" />
    67336845    </xsl:if>
    67346846    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
  • rfc2629xslt/testcase.html

    r2527 r2610  
    357357  }
    358358  @top-right {
    359        content: "December 2013";
     359       content: "January 2014";
    360360  }
    361361  @top-center {
     
    384384    }
    385385}
    386 </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.611, 2013/11/27 12:23:51, 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">XML2RFC Test Cases</td><td class="right">J. F. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">December 2013</td></tr></tbody></table><p class="title">Test cases for XML2RFC formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul><li><a href="#rfc.section.1.1">1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li><a href="#rfc.section.1.2">1.2</a>&nbsp;&nbsp;&nbsp;<a href="#ordered.list.numbers">numbered list</a></li><li><a href="#rfc.section.1.3">1.3</a>&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li><a href="#rfc.section.1.4">1.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li><a href="#rfc.section.1.5">1.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li><a href="#rfc.section.1.6">1.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li><a href="#rfc.section.1.7">1.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li><a href="#rfc.section.1.8">1.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li><li><a href="#rfc.section.1.9">1.9</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9">lists with fancy formats: %c</a></li><li><a href="#rfc.section.1.10">1.10</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.10">lists with fancy formats: %C</a></li><li><a href="#rfc.section.1.11">1.11</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.11">lists with fancy formats: %d</a></li><li><a href="#rfc.section.1.12">1.12</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.12">lists with fancy formats: %i</a></li><li><a href="#rfc.section.1.13">1.13</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.13">lists with fancy formats: %I</a></li><li><a href="#rfc.section.1.14">1.14</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.14">lists with fancy formats: %x</a></li><li><a href="#rfc.section.1.15">1.15</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.15">lists with fancy formats: %X</a></li></ul></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">example from xml2rc README</a></li><li><a href="#rfc.section.3.4">3.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li><a href="#rfc.section.3.5">3.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li><a href="#rfc.section.3.6">3.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">table captions</a></li><li><a href="#rfc.section.3.7">3.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.7">single column</a></li><li><a href="#rfc.section.3.8">3.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.8">table alignment</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul><li><a href="#rfc.section.4.1">4.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li><a href="#rfc.section.4.2">4.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li><a href="#rfc.section.4.3">4.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li><a href="#rfc.section.4.4">4.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li><li><a href="#rfc.section.4.5">4.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">data URIs</a><ul><li><a href="#rfc.section.4.5.1">4.5.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.alt.text">data URI as source (both @alt and text content)</a></li><li><a href="#rfc.section.4.5.2">4.5.2</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.text">data URI as source (only text content, no @alt)</a></li><li><a href="#rfc.section.4.5.3">4.5.3</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.alt">data URI as source (only @alt attribute)</a></li></ul></li><li><a href="#rfc.section.4.6">4.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.6">alignment</a><ul><li><a href="#rfc.section.4.6.1">4.6.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.left">left</a></li><li><a href="#rfc.section.4.6.2">4.6.2</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.right">right</a></li><li><a href="#rfc.section.4.6.3">4.6.3</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.center">center</a></li><li><a href="#rfc.section.4.6.4">4.6.4</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.default">default</a></li></ul></li><li><a href="#rfc.section.4.7">4.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7">artwork width/height</a><ul><li><a href="#rfc.section.4.7.1">4.7.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.1">width50%</a></li><li><a href="#rfc.section.4.7.2">4.7.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.2">width50</a></li><li><a href="#rfc.section.4.7.3">4.7.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.3">height50</a></li><li><a href="#rfc.section.4.7.4">4.7.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.4">height30width60</a></li></ul></li><li><a href="#rfc.section.4.8">4.8</a>&nbsp;&nbsp;&nbsp;<a href="#figure.artwork.attribute.overlap">figure/artwork attribute overlap</a><ul><li><a href="#rfc.section.4.8.1">4.8.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.1">src overlap</a></li><li><a href="#rfc.section.4.8.2">4.8.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.2">align overlap</a></li><li><a href="#rfc.section.4.8.3">4.8.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.3">align inheritance</a></li></ul></li><li><a href="#rfc.section.4.9">4.9</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering">titles/numbering</a><ul><li><a href="#rfc.section.4.9.1">4.9.1</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.anchor">just anchor</a></li><li><a href="#rfc.section.4.9.2">4.9.2</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.anchor.with.suppress">just anchor (with suppress)</a></li><li><a href="#rfc.section.4.9.3">4.9.3</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.title">just title</a></li><li><a href="#rfc.section.4.9.4">4.9.4</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.title.with.suppress">just title (with suppress)</a></li></ul></li><li><a href="#rfc.section.4.10">4.10</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.10">SVG</a></li><li><a href="#rfc.section.4.11">4.11</a>&nbsp;&nbsp;&nbsp;<a href="#code.components">Code Components</a></li></ul></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">xref to named &lt;t&gt; element</a></li><li><a href="#rfc.section.5.3">5.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;spanx&gt; element</a></li><li><a href="#rfc.section.5.4">5.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li><a href="#rfc.section.5.5">5.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref to named &lt;cref&gt; element</a></li><li><a href="#rfc.section.5.6">5.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref to named &lt;t&gt; element inside list</a></li><li><a href="#rfc.section.5.7">5.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li><a href="#rfc.section.5.8">5.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li><a href="#rfc.section.5.9">5.9</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">xref with content and no formatting</a></li><li><a href="#rfc.section.5.10">5.10</a>&nbsp;&nbsp;&nbsp;<a href="#formatting.none">xref with content and 'none' formatting</a></li><li><a href="#rfc.section.5.11">5.11</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li><a href="#rfc.section.5.12">5.12</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.12">eref with no content</a></li><li><a href="#rfc.section.5.13">5.13</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.13">eref with content</a></li><li><a href="#rfc.section.5.14">5.14</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.14">iref inside paragraph</a></li><li><a href="#rfc.section.5.15">5.15</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.15">iref before paragraph</a></li><li><a href="#rfc.section.5.16">5.16</a>&nbsp;&nbsp;&nbsp;<a href="#xref.pageno">xref with pageno attribute</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul><li><a href="#rfc.section.7.1">7.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="excluded"><ul><li><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork Width</a></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul><li><a href="#rfc.section.10.1">10.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li><a href="#rfc.section.10.2">10.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li><a href="#rfc.section.10.3">10.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li><a href="#rfc.section.10.4">10.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li><a href="#rfc.section.10.5">10.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li><a href="#rfc.section.10.6">10.6</a>&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li><li><a href="#rfc.section.10.7">10.7</a>&nbsp;&nbsp;&nbsp;<a href="#abnf.support">ABNF Support</a></li></ul></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12">Other</a><ul><li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.1">Comments in Text</a></li><li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.2">Special Characters</a><ul><li><a href="#rfc.section.12.2.1">12.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#nbsp">Non-Breaking Space</a></li><li><a href="#rfc.section.12.2.2">12.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></li><li><a href="#rfc.section.12.2.3">12.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#dashes">Dashes</a></li></ul></li></ul></li><li><a href="#rfc.section.13">13.</a>&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 class="toc"><li>Figures
    387         <ul><li><a href="#rfc.figure.1">Figure 1: another figure</a></li><li><a href="#rfc.figure.2">Figure 2: title</a></li><li><a href="#rfc.figure.3">Figure 3: title</a></li><li><a href="#rfc.figure.4">Figure 4: </a></li><li><a href="#rfc.figure.5">Figure 5: </a></li><li><a href="#rfc.figure.6">Figure 6: figure title</a></li><li><a href="#rfc.figure.7">Figure 7: figure title</a></li></ul></li></ul><hr class="noprint"><div id="lists"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#lists">Lists</a></h1><div><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></div><div id="ordered.list.numbers"><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;<a href="#ordered.list.numbers">numbered list</a></h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li id="ordered.list.numbers.last">&gt;three</li></ol></div><div id="ordered.list.letters"><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a 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></div><div><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></div><div><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></div><div><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></div><div><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></div><div><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></div><div><h2 id="rfc.section.1.9"><a href="#rfc.section.1.9">1.9</a>&nbsp;lists with fancy formats: %c</h2><dl><dt>a</dt><dd>test</dd></dl></div><div><h2 id="rfc.section.1.10"><a href="#rfc.section.1.10">1.10</a>&nbsp;lists with fancy formats: %C</h2><dl><dt>A</dt><dd>test</dd></dl></div><div><h2 id="rfc.section.1.11"><a href="#rfc.section.1.11">1.11</a>&nbsp;lists with fancy formats: %d</h2><dl><dt>1</dt><dd>test</dd></dl></div><div><h2 id="rfc.section.1.12"><a href="#rfc.section.1.12">1.12</a>&nbsp;lists with fancy formats: %i</h2><dl><dt>i</dt><dd>test</dd></dl></div><div><h2 id="rfc.section.1.13"><a href="#rfc.section.1.13">1.13</a>&nbsp;lists with fancy formats: %I</h2><dl><dt>I</dt><dd>test</dd></dl></div><div><h2 id="rfc.section.1.14"><a href="#rfc.section.1.14">1.14</a>&nbsp;lists with fancy formats: %x</h2><dl><p id="rfc.section.1.14.p.1">test</p></dl></div><div><h2 id="rfc.section.1.15"><a href="#rfc.section.1.15">1.15</a>&nbsp;lists with fancy formats: %X</h2><dl><p id="rfc.section.1.15.p.1">test</p></dl></div></div><hr class="noprint"><div><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></div><hr class="noprint"><div><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><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></div><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></div><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></div><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></div><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></div><div><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></div><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></div><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></div></div><hr class="noprint"><div><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><div><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>  +--+
     386</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 xrefs" href="#rfc.section.5"><link rel="Chapter" title="6 More References" href="#rfc.section.6"><link rel="Chapter" title="7 Paragraph formatting" href="#rfc.section.7"><link rel="Chapter" title="8 Sections" href="#rfc.section.8"><link rel="Chapter" title="9 Comments" href="#rfc.section.9"><link rel="Chapter" title="10 Artwork Width" href="#rfc.section.10"><link rel="Chapter" title="11 Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Blank Lines" href="#rfc.section.12"><link rel="Chapter" title="13 Other" href="#rfc.section.13"><link rel="Chapter" href="#rfc.section.14" title="14 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.619, 2014/01/31 15:52:15, 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">XML2RFC Test Cases</td><td class="right">J. F. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">January 2014</td></tr></tbody></table><p class="title">Test cases for XML2RFC formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul><li><a href="#rfc.section.1.1">1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a><ul><li><a href="#rfc.section.1.1.1">1.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1.1">default</a></li><li><a href="#rfc.section.1.1.2">1.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1.2">hanging list with hangIndent 7</a></li><li><a href="#rfc.section.1.1.3">1.1.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1.3">hanging list with hangIndent 0</a></li></ul></li><li><a href="#rfc.section.1.2">1.2</a>&nbsp;&nbsp;&nbsp;<a href="#ordered.list.numbers">numbered list</a></li><li><a href="#rfc.section.1.3">1.3</a>&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li><a href="#rfc.section.1.4">1.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li><a href="#rfc.section.1.5">1.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li><a href="#rfc.section.1.6">1.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested lists</a><ul><li><a href="#rfc.section.1.6.1">1.6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6.1">numbers/letters</a></li><li><a href="#rfc.section.1.6.2">1.6.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6.2">numbers/numbers</a></li><li><a href="#rfc.section.1.6.3">1.6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6.3">letters/letters</a></li><li><a href="#rfc.section.1.6.4">1.6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6.4">letters/letters/letters</a></li><li><a href="#rfc.section.1.6.5">1.6.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6.5">symbols/symbols/symbols</a></li></ul></li><li><a href="#rfc.section.1.7">1.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li><a href="#rfc.section.1.8">1.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li><li><a href="#rfc.section.1.9">1.9</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9">style=format...</a><ul><li><a href="#rfc.section.1.9.1">1.9.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.1">lists with fancy formats: %c</a></li><li><a href="#rfc.section.1.9.2">1.9.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.2">lists with fancy formats: %C</a></li><li><a href="#rfc.section.1.9.3">1.9.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.3">lists with fancy formats: %d</a></li><li><a href="#rfc.section.1.9.4">1.9.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.4">lists with fancy formats: %i</a></li><li><a href="#rfc.section.1.9.5">1.9.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.5">lists with fancy formats: %I</a></li><li><a href="#rfc.section.1.9.6">1.9.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.6">lists with fancy formats: %o</a></li><li><a href="#rfc.section.1.9.7">1.9.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.7">lists with fancy formats: %x</a></li><li><a href="#rfc.section.1.9.8">1.9.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.8">lists with fancy formats: %X</a></li><li><a href="#rfc.section.1.9.9">1.9.9</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.9">lists with fancy formats: %% %d</a></li><li><a href="#rfc.section.1.9.10">1.9.10</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.9.10">lists with fancy formats: REQUIREMENT-%i plus hangIndent=20</a></li></ul></li><li><a href="#rfc.section.1.10">1.10</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.10">style inheritance</a></li></ul></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">example from xml2rc README</a></li><li><a href="#rfc.section.3.4">3.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li><a href="#rfc.section.3.5">3.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li><a href="#rfc.section.3.6">3.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">table captions</a></li><li><a href="#rfc.section.3.7">3.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.7">single column</a></li><li><a href="#rfc.section.3.8">3.8</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.8">empty body</a></li><li><a href="#rfc.section.3.9">3.9</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.9">table alignment</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul><li><a href="#rfc.section.4.1">4.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li><a href="#rfc.section.4.2">4.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li><a href="#rfc.section.4.3">4.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li><a href="#rfc.section.4.4">4.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li><li><a href="#rfc.section.4.5">4.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">data URIs</a><ul><li><a href="#rfc.section.4.5.1">4.5.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.alt.text">data URI as source (both @alt and text content)</a></li><li><a href="#rfc.section.4.5.2">4.5.2</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.text">data URI as source (only text content, no @alt)</a></li><li><a href="#rfc.section.4.5.3">4.5.3</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.src.data.uri.alt">data URI as source (only @alt attribute)</a></li></ul></li><li><a href="#rfc.section.4.6">4.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.6">alignment</a><ul><li><a href="#rfc.section.4.6.1">4.6.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.left">left</a></li><li><a href="#rfc.section.4.6.2">4.6.2</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.right">right</a></li><li><a href="#rfc.section.4.6.3">4.6.3</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.center">center</a></li><li><a href="#rfc.section.4.6.4">4.6.4</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.align.default">default</a></li></ul></li><li><a href="#rfc.section.4.7">4.7</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7">artwork width/height</a><ul><li><a href="#rfc.section.4.7.1">4.7.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.1">width50%</a></li><li><a href="#rfc.section.4.7.2">4.7.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.2">width50</a></li><li><a href="#rfc.section.4.7.3">4.7.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.3">height50</a></li><li><a href="#rfc.section.4.7.4">4.7.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.7.4">height30width60</a></li></ul></li><li><a href="#rfc.section.4.8">4.8</a>&nbsp;&nbsp;&nbsp;<a href="#figure.artwork.attribute.overlap">figure/artwork attribute overlap</a><ul><li><a href="#rfc.section.4.8.1">4.8.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.1">src overlap</a></li><li><a href="#rfc.section.4.8.2">4.8.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.2">align overlap</a></li><li><a href="#rfc.section.4.8.3">4.8.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.8.3">align inheritance</a></li></ul></li><li><a href="#rfc.section.4.9">4.9</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering">titles/numbering</a><ul><li><a href="#rfc.section.4.9.1">4.9.1</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.anchor">just anchor</a></li><li><a href="#rfc.section.4.9.2">4.9.2</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.anchor.with.suppress">just anchor (with suppress)</a></li><li><a href="#rfc.section.4.9.3">4.9.3</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.title">just title</a></li><li><a href="#rfc.section.4.9.4">4.9.4</a>&nbsp;&nbsp;&nbsp;<a href="#titles.numbering.just.title.with.suppress">just title (with suppress)</a></li></ul></li><li><a href="#rfc.section.4.10">4.10</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.10">SVG</a></li><li><a href="#rfc.section.4.11">4.11</a>&nbsp;&nbsp;&nbsp;<a href="#code.components">Code Components</a></li></ul></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#xrefs">xrefs</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#section-anchor-tests">Tests for section-anchor</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#t-anchor-tests">Tests for t-anchor</a></li><li><a href="#rfc.section.5.3">5.3</a>&nbsp;&nbsp;&nbsp;<a href="#list-t-anchor-empty-tests">Tests for list-t-anchor-empty</a></li><li><a href="#rfc.section.5.4">5.4</a>&nbsp;&nbsp;&nbsp;<a href="#list-t-anchor-numbers-tests">Tests for list-t-anchor-numbers</a></li><li><a href="#rfc.section.5.5">5.5</a>&nbsp;&nbsp;&nbsp;<a href="#list-t-anchor-letters-tests">Tests for list-t-anchor-letters</a></li><li><a href="#rfc.section.5.6">5.6</a>&nbsp;&nbsp;&nbsp;<a href="#texttable-anchor-tests">Tests for texttable-anchor</a></li><li><a href="#rfc.section.5.7">5.7</a>&nbsp;&nbsp;&nbsp;<a href="#figure-anchor-tests">Tests for figure-anchor</a></li><li><a href="#rfc.section.5.8">5.8</a>&nbsp;&nbsp;&nbsp;<a href="#reference-anchor-tests">Tests for reference-anchor</a></li><li><a href="#rfc.section.5.9">5.9</a>&nbsp;&nbsp;&nbsp;<a href="#cref-anchor-tests">Tests for cref-anchor</a></li><li><a href="#rfc.section.5.10">5.10</a>&nbsp;&nbsp;&nbsp;<a href="#section-anchor">Test Targets</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#refs">More References</a><ul><li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">xref to named &lt;spanx&gt; element</a></li><li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.2">xref with no content and anchor formatting</a></li><li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">eref with no content</a></li><li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.4">eref with content</a></li><li><a href="#rfc.section.6.5">6.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.5">iref inside paragraph</a></li><li><a href="#rfc.section.6.6">6.6</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.6">iref before paragraph</a></li><li><a href="#rfc.section.6.7">6.7</a>&nbsp;&nbsp;&nbsp;<a href="#xref.pageno">xref with pageno attribute</a></li></ul></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Paragraph formatting</a></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Sections</a><ul><li><a href="#rfc.section.8.1">8.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8.1">Subsection with TOC entry</a></li><li class="excluded"><ul><li><a href="#rfc.section.8.2.1">8.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Comments</a></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10">Artwork Width</a></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul><li><a href="#rfc.section.11.1">11.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.1">Markup in figure/artwork</a></li><li><a href="#rfc.section.11.2">11.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.2">Measuring Lengths</a></li><li><a href="#rfc.section.11.3">11.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.3">Quotations</a></li><li><a href="#rfc.section.11.4">11.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.4">Subsections</a></li><li><a href="#rfc.section.11.5">11.5</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.5">Box Drawing</a></li><li><a href="#rfc.section.11.6">11.6</a>&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li><li><a href="#rfc.section.11.7">11.7</a>&nbsp;&nbsp;&nbsp;<a href="#abnf.support">ABNF Support</a></li></ul></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12">Blank Lines</a></li><li><a href="#rfc.section.13">13.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13">Other</a><ul><li><a href="#rfc.section.13.1">13.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.1">Comments in Text</a></li><li><a href="#rfc.section.13.2">13.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.2">Special Characters</a><ul><li><a href="#rfc.section.13.2.1">13.2.1</a>&nbsp;&nbsp;&nbsp;<a href="#nbsp">Non-Breaking Space</a></li><li><a href="#rfc.section.13.2.2">13.2.2</a>&nbsp;&nbsp;&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></li><li><a href="#rfc.section.13.2.3">13.2.3</a>&nbsp;&nbsp;&nbsp;<a href="#dashes">Dashes</a></li></ul></li></ul></li><li><a href="#rfc.section.14">14.</a>&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 class="toc"><li>Figures
     387        <ul><li><a href="#rfc.figure.1">Figure 1: another figure</a></li><li><a href="#rfc.figure.2">Figure 2: title</a></li><li><a href="#rfc.figure.3">Figure 3: title</a></li><li><a href="#rfc.figure.4">Figure 4: </a></li><li><a href="#rfc.figure.5">Figure 5: </a></li><li><a href="#rfc.figure.6">Figure 6: figure title</a></li><li><a href="#rfc.figure.7">Figure 7: figure title</a></li><li><a href="#rfc.figure.8">Figure 8: FIGURE-TITLE</a></li></ul></li></ul><hr class="noprint"><div id="lists"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#lists">Lists</a></h1><div><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><div><h3 id="rfc.section.1.1.1"><a href="#rfc.section.1.1.1">1.1.1</a>&nbsp;default</h3><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></div><div><h3 id="rfc.section.1.1.2"><a href="#rfc.section.1.1.2">1.1.2</a>&nbsp;hanging list with hangIndent 7</h3><dl><dt>0</dt><dd style="margin-left: 4.9em">0</dd><dt>01</dt><dd style="margin-left: 4.9em">01</dd><dt>012</dt><dd style="margin-left: 4.9em">012</dd><dt>0123</dt><dd style="margin-left: 4.9em">0123</dd><dt>01234</dt><dd style="margin-left: 4.9em">01234</dd><dt>012345</dt><dd style="margin-left: 4.9em">012345</dd><dt>0123456</dt><dd style="margin-left: 4.9em">0123456</dd><dt>01234567</dt><dd style="margin-left: 4.9em">01234567</dd><dt>012345678</dt><dd style="margin-left: 4.9em">012345678</dd><dt>0123456789</dt><dd style="margin-left: 4.9em">0123456789</dd></dl></div><div><h3 id="rfc.section.1.1.3"><a href="#rfc.section.1.1.3">1.1.3</a>&nbsp;hanging list with hangIndent 0</h3><dl><dt>0</dt><dd style="margin-left: 0em">0</dd><dt>01</dt><dd style="margin-left: 0em">01</dd><dt>012</dt><dd style="margin-left: 0em">012</dd><dt>0123</dt><dd style="margin-left: 0em">0123</dd><dt>01234</dt><dd style="margin-left: 0em">01234</dd><dt>012345</dt><dd style="margin-left: 0em">012345</dd><dt>0123456</dt><dd style="margin-left: 0em">0123456</dd><dt>01234567</dt><dd style="margin-left: 0em">01234567</dd><dt>012345678</dt><dd style="margin-left: 0em">012345678</dd><dt>0123456789</dt><dd style="margin-left: 0em">0123456789</dd></dl></div></div><div id="ordered.list.numbers"><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;<a href="#ordered.list.numbers">numbered list</a></h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li id="ordered.list.numbers.last">three</li></ol></div><div id="ordered.list.letters"><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a 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></div><div><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></div><div><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></div><div><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested lists</h2><div><h3 id="rfc.section.1.6.1"><a href="#rfc.section.1.6.1">1.6.1</a>&nbsp;numbers/letters</h3><p id="rfc.section.1.6.1.p.1"></p><ol><li>One</li><li>Two <ol class="la"><li>17</li><li>42</li></ol> </li><li>Three</li></ol></div><div><h3 id="rfc.section.1.6.2"><a href="#rfc.section.1.6.2">1.6.2</a>&nbsp;numbers/numbers</h3><p id="rfc.section.1.6.2.p.1"></p><ol><li>One</li><li>Two <ol><li>17</li><li>42</li></ol> </li><li>Three</li></ol></div><div><h3 id="rfc.section.1.6.3"><a href="#rfc.section.1.6.3">1.6.3</a>&nbsp;letters/letters</h3><p id="rfc.section.1.6.3.p.1"></p><ol class="la"><li>One</li><li>Two <ol class="ua"><li>17</li><li>42</li></ol> </li><li>Three</li></ol></div><div><h3 id="rfc.section.1.6.4"><a href="#rfc.section.1.6.4">1.6.4</a>&nbsp;letters/letters/letters</h3><p id="rfc.section.1.6.4.p.1"></p><ol class="la"><li>One</li><li>Two <ol class="ua"><li>17</li><li>42 <ol class="la"><li>X</li><li>Y</li></ol> </li></ol> </li><li>Three</li></ol></div><div><h3 id="rfc.section.1.6.5"><a href="#rfc.section.1.6.5">1.6.5</a>&nbsp;symbols/symbols/symbols</h3><p id="rfc.section.1.6.5.p.1"></p><ul><li>One</li><li>Two <ul><li>17</li><li>42 <ul><li>X</li><li>Y</li></ul> </li></ul> </li><li>Three</li></ul></div></div><div><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><p id="rfc.section.1.7.p.1">No style attribute:</p><ul class="empty"><li>One</li><li>Two</li><li>Three</li></ul></div><div><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></div><div><h2 id="rfc.section.1.9"><a href="#rfc.section.1.9">1.9</a>&nbsp;style=format...</h2><div><h3 id="rfc.section.1.9.1"><a href="#rfc.section.1.9.1">1.9.1</a>&nbsp;lists with fancy formats: %c</h3><dl><dt>a</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.2"><a href="#rfc.section.1.9.2">1.9.2</a>&nbsp;lists with fancy formats: %C</h3><dl><dt>A</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.3"><a href="#rfc.section.1.9.3">1.9.3</a>&nbsp;lists with fancy formats: %d</h3><dl><dt>1</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.4"><a href="#rfc.section.1.9.4">1.9.4</a>&nbsp;lists with fancy formats: %i</h3><dl><dt>i</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.5"><a href="#rfc.section.1.9.5">1.9.5</a>&nbsp;lists with fancy formats: %I</h3><dl><dt>I</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.6"><a href="#rfc.section.1.9.6">1.9.6</a>&nbsp;lists with fancy formats: %o</h3><dl><dt></dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.7"><a href="#rfc.section.1.9.7">1.9.7</a>&nbsp;lists with fancy formats: %x</h3><dl><dt></dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.8"><a href="#rfc.section.1.9.8">1.9.8</a>&nbsp;lists with fancy formats: %X</h3><dl><dt></dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.9"><a href="#rfc.section.1.9.9">1.9.9</a>&nbsp;lists with fancy formats: %% %d</h3><dl><dt>% 1</dt><dd>test</dd></dl></div><div><h3 id="rfc.section.1.9.10"><a href="#rfc.section.1.9.10">1.9.10</a>&nbsp;lists with fancy formats: REQUIREMENT-%i plus hangIndent=20</h3><dl><dt>REQUIREMENT-i</dt><dd>test</dd><dt>REQUIREMENT-ii</dt><dd>test</dd><dt>REQUIREMENT-iii</dt><dd>test</dd><dt>REQUIREMENT-iv</dt><dd>test</dd><dt>REQUIREMENT-v</dt><dd>test</dd><dt>REQUIREMENT-vi</dt><dd>test</dd><dt>REQUIREMENT-vii</dt><dd>test</dd><dt>REQUIREMENT-viii</dt><dd>test</dd><dt>REQUIREMENT-ix</dt><dd>test</dd><dt>REQUIREMENT-x</dt><dd>test</dd><dt>REQUIREMENT-xi</dt><dd>test</dd></dl></div></div><div><h2 id="rfc.section.1.10"><a href="#rfc.section.1.10">1.10</a>&nbsp;style inheritance</h2><ol><li>test</li><li>test</li><li>test</li><li><ul class="empty"><li>test</li><li>test</li><li>test</li></ul> </li></ol></div></div><hr class="noprint"><div><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></div><hr class="noprint"><div><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><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></div><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></div><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></div><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></div><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></div><div><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></div><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></div><div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a>&nbsp;empty body</h2><div id="rfc.table.u.5"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody></tbody></table></div></div><div><h2 id="rfc.section.3.9"><a href="#rfc.section.3.9">3.9</a>&nbsp;table alignment</h2><div id="rfc.table.u.6"><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.7"><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.8"><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.9"><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></div></div><hr class="noprint"><div><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><div><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>  +--+
    388388  |  |
    389389  +--+
     
    398398  return -1;
    399399}
    400 </pre><pre class="ccmarker ccb"><span>&lt;CODE ENDS&gt;</span></pre></div></div><hr class="noprint"><div id="refs"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#refs">References</a></h1><div id="xref.with.no.content"><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.1.p.1"><a href="#refs" title="References">Section&nbsp;5</a> is the parent section.</p></div></div><div><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;xref to named &lt;t&gt; element</h2><p id="rfc.section.5.2.p.1">With content: see <a href="#xref.with.no.content.first.sentence" id="rfc.xref.xref.with.no.content.first.sentence.1">first sentence</a> of previous section.</p><p id="rfc.section.5.2.p.2">Without content: see <a href="#xref.with.no.content.first.sentence">Paragraph&nbsp;1</a>.</p></div><div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;xref to named &lt;spanx&gt; element</h2><p id="rfc.section.5.3.p.1"><em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor" id="rfc.xref.spanx.anchor.1">this sentence</a>.</p></div><div><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.4.p.1">With content: see <a href="#listelement.anchor" id="rfc.xref.listelement.anchor.1">first element in list below</a>.</p><p id="rfc.section.5.4.p.2"></p><dl><dt id="listelement.anchor">test</dt><dd>Test</dd></dl></div><div><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref to named &lt;cref&gt; element</h2><p id="rfc.section.5.5.p.1">With content: see <a href="#comment-test" id="rfc.xref.comment-test.1">test comment</a>.</p><p id="rfc.section.5.5.p.2">Without content: see <a href="#comment-test">Comment&nbsp;comment-test</a>.</p></div><div><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.6.p.1">See <a href="#ordered.list.letters.last" id="rfc.xref.ordered.list.letters.last.1">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section&nbsp;1.3</a> (format=none).</p><p id="rfc.section.5.6.p.2">See item <a href="#ordered.list.letters.last">ad</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section&nbsp;1.3</a> (format=counter, letters).</p><p id="rfc.section.5.6.p.3">See item <a href="#ordered.list.numbers.last">3</a> in <a href="#ordered.list.numbers" title="numbered list">Section&nbsp;1.2</a> (format=counter, numbers).</p></div><div><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.7.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p></div><div><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.8.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p></div><div><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.9.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p></div><div id="formatting.none"><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;<a href="#formatting.none">xref with content and 'none' formatting</a></h2><p id="rfc.section.5.10.p.1">Here we are referring to <a href="#RFC2026" id="rfc.xref.RFC2026.3">RFC 2026</a>, without emitting extra formatting.</p><p id="rfc.section.5.10.p.2">Here we are referring to <a href="#formatting.none">this Section</a>, without emitting extra formatting.</p></div><div><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.11.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.4"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p></div><div><h2 id="rfc.section.5.12"><a href="#rfc.section.5.12">5.12</a>&nbsp;eref with no content</h2><p id="rfc.section.5.12.p.1">See also &lt;<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>&gt;. Here's another one that is quite long: &lt;<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>&gt;. Does it break properly?</p></div><div><h2 id="rfc.section.5.13"><a href="#rfc.section.5.13">5.13</a>&nbsp;eref with content</h2><p id="rfc.section.5.13.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p></div><div><h2 id="rfc.section.5.14"><a href="#rfc.section.5.14">5.14</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.5.14.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p></div><div><div id="rfc.iref.s.1"></div><h2 id="rfc.section.5.15"><a href="#rfc.section.5.15">5.15</a>&nbsp;iref before paragraph</h2><p id="rfc.section.5.15.p.1">This paragraph follows an iref.</p></div><div id="xref.pageno"><h2 id="rfc.section.5.16"><a href="#rfc.section.5.16">5.16</a>&nbsp;<a href="#xref.pageno">xref with pageno attribute</a></h2><p id="rfc.section.5.16.p.1">A reference to <a href="#xref.pageno" title="xref with pageno attribute">Section&nbsp;5.16</a>.</p></div></div><hr class="noprint"><div><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p></div><hr class="noprint"><div><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;Sections</h1><div><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;Subsection with TOC entry</h2></div><div><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;Subsection without TOC entry</h2><div><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;Sub-subsection with TOC entry</h3></div></div></div><hr class="noprint"><div><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#comment-test">comment-test</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <http://xml.resource.org&gt;.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p></div><hr class="noprint"><div><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;Artwork Width</h1><div id="rfc.figure.u.26"></div><p>This should fit (69 characters plus three spaces of indentation in text output).</p><pre>012345678901234567890123456789012345678901234567890123456789012345678
     400</pre><pre class="ccmarker ccb"><span>&lt;CODE ENDS&gt;</span></pre></div></div><hr class="noprint"><div id="xrefs"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#xrefs">xrefs</a></h1><p id="rfc.section.5.p.1">This section contains test cases for &lt;xref/&gt;, testing 9 different types of targets. Each target is tested for all possible values of the @format attribute, and for &lt;xref/&gt; elements with and without content. <em>These tests were contributed by Erik Wilde.</em> </p><div id="section-anchor-tests"><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a href="#section-anchor-tests">Tests for section-anchor</a></h2><p id="rfc.section.5.1.p.1">&lt;xref target="section-anchor"/&gt;: <a href="#section-anchor" title="Test Targets">Section&nbsp;5.10</a> </p><p id="rfc.section.5.1.p.2">&lt;xref target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: TEXT-CONTENT (<a href="#section-anchor" title="Test Targets">Section&nbsp;5.10</a>) </p><p id="rfc.section.5.1.p.3">&lt;xref format="counter" target="section-anchor"/&gt;: <a href="#section-anchor" title="Test Targets">5.10</a> </p><p id="rfc.section.5.1.p.4">&lt;xref format="counter" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: TEXT-CONTENT (<a href="#section-anchor" title="Test Targets">5.10</a>) </p><p id="rfc.section.5.1.p.5">&lt;xref format="title" target="section-anchor"/&gt;: <a href="#section-anchor" title="Test Targets">Test Targets</a> </p><p id="rfc.section.5.1.p.6">&lt;xref format="title" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: TEXT-CONTENT (<a href="#section-anchor" title="Test Targets">Test Targets</a>) </p><p id="rfc.section.5.1.p.7">&lt;xref format="none" target="section-anchor"/&gt;: <a href="#section-anchor" title="Test Targets"></a> </p><p id="rfc.section.5.1.p.8">&lt;xref format="none" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#section-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.1.p.9">&lt;xref format="default" target="section-anchor"/&gt;: <a href="#section-anchor" title="Test Targets">Section&nbsp;5.10</a> </p><p id="rfc.section.5.1.p.10">&lt;xref format="default" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: TEXT-CONTENT (<a href="#section-anchor" title="Test Targets">Section&nbsp;5.10</a>) </p></div><div id="t-anchor-tests"><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a href="#t-anchor-tests">Tests for t-anchor</a></h2><p id="rfc.section.5.2.p.1">&lt;xref target="t-anchor"/&gt;: <a href="#t-anchor">Paragraph&nbsp;2</a> </p><p id="rfc.section.5.2.p.2">&lt;xref target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#t-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.2.p.3">&lt;xref format="counter" target="t-anchor"/&gt;: <a href="#t-anchor">5.10.p.2</a> </p><p id="rfc.section.5.2.p.4">&lt;xref format="counter" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#t-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.2.p.5">&lt;xref format="title" target="t-anchor"/&gt;: <a href="#t-anchor"></a> </p><p id="rfc.section.5.2.p.6">&lt;xref format="title" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#t-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.2.p.7">&lt;xref format="none" target="t-anchor"/&gt;: <a href="#t-anchor"></a> </p><p id="rfc.section.5.2.p.8">&lt;xref format="none" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#t-anchor" id="rfc.xref.t-anchor.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.2.p.9">&lt;xref format="default" target="t-anchor"/&gt;: <a href="#t-anchor">Paragraph&nbsp;2</a> </p><p id="rfc.section.5.2.p.10">&lt;xref format="default" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#t-anchor">TEXT-CONTENT</a> </p></div><div id="list-t-anchor-empty-tests"><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;<a href="#list-t-anchor-empty-tests">Tests for list-t-anchor-empty</a></h2><p id="rfc.section.5.3.p.1">&lt;xref target="list-t-anchor-empty"/&gt;: <a href="#list-t-anchor-empty">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.3.p.2">&lt;xref target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-empty">TEXT-CONTENT</a> </p><p id="rfc.section.5.3.p.3">&lt;xref format="counter" target="list-t-anchor-empty"/&gt;: <a href="#list-t-anchor-empty">5.10.p.1</a> </p><p id="rfc.section.5.3.p.4">&lt;xref format="counter" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-empty">TEXT-CONTENT</a> </p><p id="rfc.section.5.3.p.5">&lt;xref format="title" target="list-t-anchor-empty"/&gt;: <a href="#list-t-anchor-empty"></a> </p><p id="rfc.section.5.3.p.6">&lt;xref format="title" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-empty">TEXT-CONTENT</a> </p><p id="rfc.section.5.3.p.7">&lt;xref format="none" target="list-t-anchor-empty"/&gt;: <a href="#list-t-anchor-empty"></a> </p><p id="rfc.section.5.3.p.8">&lt;xref format="none" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-empty" id="rfc.xref.list-t-anchor-empty.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.3.p.9">&lt;xref format="default" target="list-t-anchor-empty"/&gt;: <a href="#list-t-anchor-empty">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.3.p.10">&lt;xref format="default" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-empty">TEXT-CONTENT</a> </p></div><div id="list-t-anchor-numbers-tests"><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;<a href="#list-t-anchor-numbers-tests">Tests for list-t-anchor-numbers</a></h2><p id="rfc.section.5.4.p.1">&lt;xref target="list-t-anchor-numbers"/&gt;: <a href="#list-t-anchor-numbers">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.4.p.2">&lt;xref target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-numbers">TEXT-CONTENT</a> </p><p id="rfc.section.5.4.p.3">&lt;xref format="counter" target="list-t-anchor-numbers"/&gt;: <a href="#list-t-anchor-numbers">1</a> </p><p id="rfc.section.5.4.p.4">&lt;xref format="counter" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-numbers">TEXT-CONTENT</a> </p><p id="rfc.section.5.4.p.5">&lt;xref format="title" target="list-t-anchor-numbers"/&gt;: <a href="#list-t-anchor-numbers"></a> </p><p id="rfc.section.5.4.p.6">&lt;xref format="title" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-numbers">TEXT-CONTENT</a> </p><p id="rfc.section.5.4.p.7">&lt;xref format="none" target="list-t-anchor-numbers"/&gt;: <a href="#list-t-anchor-numbers"></a> </p><p id="rfc.section.5.4.p.8">&lt;xref format="none" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-numbers" id="rfc.xref.list-t-anchor-numbers.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.4.p.9">&lt;xref format="default" target="list-t-anchor-numbers"/&gt;: <a href="#list-t-anchor-numbers">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.4.p.10">&lt;xref format="default" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-numbers">TEXT-CONTENT</a> </p></div><div id="list-t-anchor-letters-tests"><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;<a href="#list-t-anchor-letters-tests">Tests for list-t-anchor-letters</a></h2><p id="rfc.section.5.5.p.1">&lt;xref target="list-t-anchor-letters"/&gt;: <a href="#list-t-anchor-letters">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.5.p.2">&lt;xref target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-letters">TEXT-CONTENT</a> </p><p id="rfc.section.5.5.p.3">&lt;xref format="counter" target="list-t-anchor-letters"/&gt;: <a href="#list-t-anchor-letters">a</a> </p><p id="rfc.section.5.5.p.4">&lt;xref format="counter" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-letters">TEXT-CONTENT</a> </p><p id="rfc.section.5.5.p.5">&lt;xref format="title" target="list-t-anchor-letters"/&gt;: <a href="#list-t-anchor-letters"></a> </p><p id="rfc.section.5.5.p.6">&lt;xref format="title" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-letters">TEXT-CONTENT</a> </p><p id="rfc.section.5.5.p.7">&lt;xref format="none" target="list-t-anchor-letters"/&gt;: <a href="#list-t-anchor-letters"></a> </p><p id="rfc.section.5.5.p.8">&lt;xref format="none" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-letters" id="rfc.xref.list-t-anchor-letters.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.5.p.9">&lt;xref format="default" target="list-t-anchor-letters"/&gt;: <a href="#list-t-anchor-letters">Paragraph&nbsp;1</a> </p><p id="rfc.section.5.5.p.10">&lt;xref format="default" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#list-t-anchor-letters">TEXT-CONTENT</a> </p></div><div id="texttable-anchor-tests"><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;<a href="#texttable-anchor-tests">Tests for texttable-anchor</a></h2><p id="rfc.section.5.6.p.1">&lt;xref target="texttable-anchor"/&gt;: <a href="#texttable-anchor">Table&nbsp;8</a> </p><p id="rfc.section.5.6.p.2">&lt;xref target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#texttable-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.6.p.3">&lt;xref format="counter" target="texttable-anchor"/&gt;: <a href="#texttable-anchor">8</a> </p><p id="rfc.section.5.6.p.4">&lt;xref format="counter" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#texttable-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.6.p.5">&lt;xref format="title" target="texttable-anchor"/&gt;: <a href="#texttable-anchor">TEXTTABLE-TITLE</a> </p><p id="rfc.section.5.6.p.6">&lt;xref format="title" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#texttable-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.6.p.7">&lt;xref format="none" target="texttable-anchor"/&gt;: <a href="#texttable-anchor"></a> </p><p id="rfc.section.5.6.p.8">&lt;xref format="none" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#texttable-anchor" id="rfc.xref.texttable-anchor.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.6.p.9">&lt;xref format="default" target="texttable-anchor"/&gt;: <a href="#texttable-anchor">Table&nbsp;8</a> </p><p id="rfc.section.5.6.p.10">&lt;xref format="default" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#texttable-anchor">TEXT-CONTENT</a> </p></div><div id="figure-anchor-tests"><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;<a href="#figure-anchor-tests">Tests for figure-anchor</a></h2><p id="rfc.section.5.7.p.1">&lt;xref target="figure-anchor"/&gt;: <a href="#figure-anchor">Figure&nbsp;6</a> </p><p id="rfc.section.5.7.p.2">&lt;xref target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#figure-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.7.p.3">&lt;xref format="counter" target="figure-anchor"/&gt;: <a href="#figure-anchor">6</a> </p><p id="rfc.section.5.7.p.4">&lt;xref format="counter" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#figure-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.7.p.5">&lt;xref format="title" target="figure-anchor"/&gt;: <a href="#figure-anchor">FIGURE-TITLE</a> </p><p id="rfc.section.5.7.p.6">&lt;xref format="title" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#figure-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.7.p.7">&lt;xref format="none" target="figure-anchor"/&gt;: <a href="#figure-anchor"></a> </p><p id="rfc.section.5.7.p.8">&lt;xref format="none" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#figure-anchor" id="rfc.xref.figure-anchor.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.7.p.9">&lt;xref format="default" target="figure-anchor"/&gt;: <a href="#figure-anchor">Figure&nbsp;6</a> </p><p id="rfc.section.5.7.p.10">&lt;xref format="default" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#figure-anchor">TEXT-CONTENT</a> </p></div><div id="reference-anchor-tests"><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;<a href="#reference-anchor-tests">Tests for reference-anchor</a></h2><p id="rfc.section.5.8.p.1">&lt;xref target="reference-anchor"/&gt;: <a href="#reference-anchor" id="rfc.xref.reference-anchor.1"><cite title="Test cases for RFC2629 formatting">[reference-anchor]</cite></a> </p><p id="rfc.section.5.8.p.2">&lt;xref target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#reference-anchor">TEXT-CONTENT</a> <cite title="Test cases for RFC2629 formatting" id="rfc.xref.reference-anchor.2">[reference-anchor]</cite> </p><p id="rfc.section.5.8.p.3">&lt;xref format="counter" target="reference-anchor"/&gt;: <a href="#reference-anchor" id="rfc.xref.reference-anchor.3"><cite title="Test cases for RFC2629 formatting">reference-anchor</cite></a> </p><p id="rfc.section.5.8.p.4">&lt;xref format="counter" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#reference-anchor">TEXT-CONTENT</a> <cite title="Test cases for RFC2629 formatting" id="rfc.xref.reference-anchor.4">[reference-anchor]</cite> </p><p id="rfc.section.5.8.p.5">&lt;xref format="title" target="reference-anchor"/&gt;: <a href="#reference-anchor" id="rfc.xref.reference-anchor.5"><cite title="Test cases for RFC2629 formatting">Test cases for RFC2629 formatting</cite></a> </p><p id="rfc.section.5.8.p.6">&lt;xref format="title" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#reference-anchor">TEXT-CONTENT</a> <cite title="Test cases for RFC2629 formatting" id="rfc.xref.reference-anchor.6">[reference-anchor]</cite> </p><p id="rfc.section.5.8.p.7">&lt;xref format="none" target="reference-anchor"/&gt;:  </p><p id="rfc.section.5.8.p.8">&lt;xref format="none" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#reference-anchor" id="rfc.xref.reference-anchor.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.8.p.9">&lt;xref format="default" target="reference-anchor"/&gt;: <a href="#reference-anchor" id="rfc.xref.reference-anchor.9"><cite title="Test cases for RFC2629 formatting">[reference-anchor]</cite></a> </p><p id="rfc.section.5.8.p.10">&lt;xref format="default" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#reference-anchor">TEXT-CONTENT</a> <cite title="Test cases for RFC2629 formatting" id="rfc.xref.reference-anchor.10">[reference-anchor]</cite> </p></div><div id="cref-anchor-tests"><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;<a href="#cref-anchor-tests">Tests for cref-anchor</a></h2><p id="rfc.section.5.9.p.1">&lt;xref target="cref-anchor"/&gt;: <a href="#cref-anchor">Comment&nbsp;cref-anchor</a> </p><p id="rfc.section.5.9.p.2">&lt;xref target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#cref-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.9.p.3">&lt;xref format="counter" target="cref-anchor"/&gt;: <a href="#cref-anchor">cref-anchor</a> </p><p id="rfc.section.5.9.p.4">&lt;xref format="counter" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#cref-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.9.p.5">&lt;xref format="title" target="cref-anchor"/&gt;: <a href="#cref-anchor"></a> </p><p id="rfc.section.5.9.p.6">&lt;xref format="title" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#cref-anchor">TEXT-CONTENT</a> </p><p id="rfc.section.5.9.p.7">&lt;xref format="none" target="cref-anchor"/&gt;: <a href="#cref-anchor"></a> </p><p id="rfc.section.5.9.p.8">&lt;xref format="none" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#cref-anchor" id="rfc.xref.cref-anchor.8">TEXT-CONTENT</a> </p><p id="rfc.section.5.9.p.9">&lt;xref format="default" target="cref-anchor"/&gt;: <a href="#cref-anchor">Comment&nbsp;cref-anchor</a> </p><p id="rfc.section.5.9.p.10">&lt;xref format="default" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <a href="#cref-anchor">TEXT-CONTENT</a> </p></div><div id="section-anchor"><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;<a href="#section-anchor">Test Targets</a></h2><p id="rfc.section.5.10.p.1">This section contains a couple of markup constructs carrying anchors (this is paragraph 1).</p><div id="t-anchor"><p id="rfc.section.5.10.p.2">Some regular paragraph text... (this is paragraph 2)</p></div><p id="rfc.section.5.10.p.3"></p><ul class="empty"><li id="list-t-anchor-empty">Some paragraph in a list... (this is list item 1 in a default style list)</li></ul><p id="rfc.section.5.10.p.4"></p><ol><li id="list-t-anchor-numbers">Some paragraph in a list... (this is list item 1 in a "numbers" style list)</li></ol><p id="rfc.section.5.10.p.5"></p><ol class="la"><li id="list-t-anchor-letters">Some paragraph in a list... (this is list item 1 in a "letters" style list)</li></ol><div id="rfc.table.8"><div id="texttable-anchor"></div><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 8: TEXTTABLE-TITLE</caption><thead><tr><th class="left">Some texttable text...</th></tr></thead><tbody><tr><td class="left">Table cell</td></tr></tbody></table></div><div id="figure-anchor"></div><div id="rfc.figure.8"></div><pre>Some figure text...</pre><p class="figure">Figure 6: FIGURE-TITLE</p><p id="rfc.section.5.10.p.7"><span class="comment" title="A comment.">[<a href="#cref-anchor">cref-anchor</a>]</span> </p></div></div><hr class="noprint"><div id="refs"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#refs">More References</a></h1><div><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;xref to named &lt;spanx&gt; element</h2><p id="rfc.section.6.1.p.1"><em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor" id="rfc.xref.spanx.anchor.1">this sentence</a>.</p></div><div><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.6.2.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.2"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p></div><div><h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;eref with no content</h2><p id="rfc.section.6.3.p.1">See also &lt;<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>&gt;. Here's another one that is quite long: &lt;<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>&gt;. Does it break properly?</p></div><div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;eref with content</h2><p id="rfc.section.6.4.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p></div><div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.6.5.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p></div><div><div id="rfc.iref.s.1"></div><h2 id="rfc.section.6.6"><a href="#rfc.section.6.6">6.6</a>&nbsp;iref before paragraph</h2><p id="rfc.section.6.6.p.1">This paragraph follows an iref.</p></div><div id="xref.pageno"><h2 id="rfc.section.6.7"><a href="#rfc.section.6.7">6.7</a>&nbsp;<a href="#xref.pageno">xref with pageno attribute</a></h2><p id="rfc.section.6.7.p.1">A reference to <a href="#xref.pageno" title="xref with pageno attribute">Section&nbsp;6.7</a>.</p></div></div><hr class="noprint"><div><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;Paragraph formatting</h1><p id="rfc.section.7.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.7.p.2">This is the second paragraph.</p></div><hr class="noprint"><div><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;Sections</h1><div><h2 id="rfc.section.8.1"><a href="#rfc.section.8.1">8.1</a>&nbsp;Subsection with TOC entry</h2></div><div><h2 id="rfc.section.8.2"><a href="#rfc.section.8.2">8.2</a>&nbsp;Subsection without TOC entry</h2><div><h3 id="rfc.section.8.2.1"><a href="#rfc.section.8.2.1">8.2.1</a>&nbsp;Sub-subsection with TOC entry</h3></div></div></div><hr class="noprint"><div><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;Comments</h1><p id="rfc.section.9.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#comment-test">comment-test</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <http://xml.resource.org&gt;.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p></div><hr class="noprint"><div><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;Artwork Width</h1><div id="rfc.figure.u.26"></div><p>This should fit (69 characters plus three spaces of indentation in text output).</p><pre>012345678901234567890123456789012345678901234567890123456789012345678
    401401</pre><div id="rfc.figure.u.27"></div><p>This shouldn't.</p><pre>0123456789012345678901234567890123456789012345678901234567890123456789
    402402</pre><div id="rfc.figure.u.28"></div><pre>(IN TEXT OUTPUT INDENTED BY 10)
    403403012345678901234567890123456789012345678901234567890123456789012
    404 </pre></div><hr class="noprint"><div id="extensions"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a href="#extensions">Extensions</a></h1><p id="rfc.section.10.p.1">These are tests for extensions done in <samp>rfc2629.xslt</samp>. Do not expect them to work out-of-the-box in <samp>xml2rfc</samp>.</p><div><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a>&nbsp;Markup in figure/artwork</h2><div id="rfc.figure.u.29"></div><pre>Internal References: a test reference to <a href="#RFC2396" id="rfc.xref.RFC2396.2"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">[RFC2396]</cite></a>
     404</pre></div><hr class="noprint"><div id="extensions"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;<a href="#extensions">Extensions</a></h1><p id="rfc.section.11.p.1">These are tests for extensions done in <samp>rfc2629.xslt</samp>. Do not expect them to work out-of-the-box in <samp>xml2rfc</samp>.</p><div><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a>&nbsp;Markup in figure/artwork</h2><div id="rfc.figure.u.29"></div><pre>Internal References: a test reference to <a href="#RFC2396" id="rfc.xref.RFC2396.2"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">[RFC2396]</cite></a>
    405405
    406406External References: a test reference to &lt;<a href="http://xml.resource.org">http://xml.resource.org</a>&gt;
     
    409409
    410410Styling: <em>&lt;spanx&gt;</em> inside artwork
    411 </pre></div><div><h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a>&nbsp;Measuring Lengths</h2><div id="rfc.figure.u.30"></div><pre class="text2">PUT / HTTP/1.1
     411</pre></div><div><h2 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a>&nbsp;Measuring Lengths</h2><div id="rfc.figure.u.30"></div><pre class="text2">PUT / HTTP/1.1
    412412Host: example.org
    413413Content-Type: application/xml
     
    428428<span id="req3">  Line 1
    429429  Line 2
    430 </span></pre></div><div><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a>&nbsp;Quotations</h2><p id="rfc.section.10.3.p.1">Here's a quote: <q>This is a Quote.</q> </p><p id="rfc.section.10.3.p.2">Here's a block level quote:</p><blockquote id="rfc.section.10.3.p.3"><p>Here's a quote.</p> <p>More text.</p> </blockquote></div><div><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a>&nbsp;Subsections</h2><p id="rfc.section.10.4.p.1"><b>Foo</b> </p><p id="rfc.section.10.4.p.2">The line above should be marked up similar to a subsection heading.</p></div><div><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a>&nbsp;Box Drawing</h2><div id="rfc.figure.u.33"></div><p>The figure below should use box drawing characters instead of "+", "-" and "|".</p><pre>  &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
     430</span></pre></div><div><h2 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a>&nbsp;Quotations</h2><p id="rfc.section.11.3.p.1">Here's a quote: <q>This is a Quote.</q> </p><p id="rfc.section.11.3.p.2">Here's a block level quote:</p><blockquote id="rfc.section.11.3.p.3"><p>Here's a quote.</p> <p>More text.</p> </blockquote></div><div><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a>&nbsp;Subsections</h2><p id="rfc.section.11.4.p.1"><b>Foo</b> </p><p id="rfc.section.11.4.p.2">The line above should be marked up similar to a subsection heading.</p></div><div><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a>&nbsp;Box Drawing</h2><div id="rfc.figure.u.33"></div><p>The figure below should use box drawing characters instead of "+", "-" and "|".</p><pre>  &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
    431431  &#9474; This is a Box. &#9474;
    432432  &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;
    433   </pre></div><div id="computed.reference.targets"><h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a>&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.10.6.p.1">Referring to this section by anchor name indirectly through the references: Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.1"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><p id="rfc.section.10.6.p.2">(default formatting): Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.2"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><div id="rfc.figure.u.34"></div><pre>  Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 10.6
    434 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' in TSTCS not found in source file 'testcase.xml'. of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p></div><div id="abnf.support"><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a>&nbsp;<a href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.35"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
     433  </pre></div><div id="computed.reference.targets"><h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a>&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.11.6.p.1">Referring to this section by anchor name indirectly through the references: Section 11.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.1"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><p id="rfc.section.11.6.p.2">(default formatting): Section 11.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.2"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><div id="rfc.figure.u.34"></div><pre>  Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 11.6
     434</pre><p id="rfc.section.11.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' in TSTCS not found in source file 'testcase.xml'. of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p></div><div id="abnf.support"><h2 id="rfc.section.11.7"><a href="#rfc.section.11.7">11.7</a>&nbsp;<a href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.35"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
    435435case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    436436case-sensitive1 = %x61.62.63.64.65.66.67.68.69.6A.6C.6B.6D.6E.6F.70.71.72.73.74.75.76.77.78.79.7A
    437437case-sensitive2 = %x41.42.43.44.45.46.47.48.49.4A.4B.4C.4D.4E.4F.50.51.52.53.54.55.56.57.58.59.5A
    438 </pre></div></div><hr class="noprint"><div><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><p id="rfc.section.11.p.4">999 <br> blank lines (this is likely an attempt to force a pagebreak, thus the generated HTML should <em>not</em> contain the blank lines, but only one).</p></div><hr class="noprint"><div><h1 id="rfc.section.12" class="np"><a href="#rfc.section.12">12.</a>&nbsp;Other</h1><div><h2 id="rfc.section.12.1"><a href="#rfc.section.12.1">12.1</a>&nbsp;Comments in Text</h2><p id="rfc.section.12.1.p.1">First sentence (before XML comment, invisible here).  Second sentence.</p></div><div><h2 id="rfc.section.12.2"><a href="#rfc.section.12.2">12.2</a>&nbsp;Special Characters</h2><div id="nbsp"><h3 id="rfc.section.12.2.1"><a href="#rfc.section.12.2.1">12.2.1</a>&nbsp;<a href="#nbsp">Non-Breaking Space</a></h3><p id="rfc.section.12.2.1.p.1">Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space.</p></div><div id="nbhy"><h3 id="rfc.section.12.2.2"><a href="#rfc.section.12.2.2">12.2.2</a>&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></h3><p id="rfc.section.12.2.2.p.1">Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. (wrt Apache FOP, see &lt;<a href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E">http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E</a>&gt;)</p></div><div id="dashes"><h3 id="rfc.section.12.2.3"><a href="#rfc.section.12.2.3">12.2.3</a>&nbsp;<a href="#dashes">Dashes</a></h3><p id="rfc.section.12.2.3.p.1">mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces.</p><p id="rfc.section.12.2.3.p.2">mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces.</p><p id="rfc.section.12.2.3.p.3">mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces.</p></div></div></div><h1 class="np" id="rfc.references"><a href="#rfc.section.13" id="rfc.section.13">13.</a> References</h1><table><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, October&nbsp;1996.</td></tr><tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>&#8221;, RFC&nbsp;2396, August&nbsp;1998.<br>This RFC will soon be updated, check &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>&gt; for the latest draft.<br>The issues list is at &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>&gt;.</td></tr><tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, &#8220;Test cases for RFC2629 formatting&#8221;, March&nbsp;2008.</td></tr></table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="comment-test">
     438</pre></div></div><hr class="noprint"><div><h1 id="rfc.section.12" class="np"><a href="#rfc.section.12">12.</a>&nbsp;Blank Lines</h1><p id="rfc.section.12.p.1">Just a forced <br> line break.</p><p id="rfc.section.12.p.2">One <br><br> blank line.</p><p id="rfc.section.12.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><p id="rfc.section.12.p.4">999 <br> blank lines (this is likely an attempt to force a pagebreak, thus the generated HTML should <em>not</em> contain the blank lines, but only one).</p></div><hr class="noprint"><div><h1 id="rfc.section.13" class="np"><a href="#rfc.section.13">13.</a>&nbsp;Other</h1><div><h2 id="rfc.section.13.1"><a href="#rfc.section.13.1">13.1</a>&nbsp;Comments in Text</h2><p id="rfc.section.13.1.p.1">First sentence (before XML comment, invisible here).  Second sentence.</p></div><div><h2 id="rfc.section.13.2"><a href="#rfc.section.13.2">13.2</a>&nbsp;Special Characters</h2><div id="nbsp"><h3 id="rfc.section.13.2.1"><a href="#rfc.section.13.2.1">13.2.1</a>&nbsp;<a href="#nbsp">Non-Breaking Space</a></h3><p id="rfc.section.13.2.1.p.1">Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space. Non&nbsp;breaking&nbsp;space.</p></div><div id="nbhy"><h3 id="rfc.section.13.2.2"><a href="#rfc.section.13.2.2">13.2.2</a>&nbsp;<a href="#nbhy">Non-Breaking Hyphen</a></h3><p id="rfc.section.13.2.2.p.1">Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. Non&#8209;breaking&#8209;hyphen. (wrt Apache FOP, see &lt;<a href="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E">http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E</a>&gt;)</p></div><div id="dashes"><h3 id="rfc.section.13.2.3"><a href="#rfc.section.13.2.3">13.2.3</a>&nbsp;<a href="#dashes">Dashes</a></h3><p id="rfc.section.13.2.3.p.1">mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces. mdash &#8212; with regular spaces.</p><p id="rfc.section.13.2.3.p.2">mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces. mdash&#8212;with no spaces.</p><p id="rfc.section.13.2.3.p.3">mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces. mdash&#8202;&#8212;&#8202;with thin spaces.</p></div></div></div><h1 class="np" id="rfc.references"><a href="#rfc.section.14" id="rfc.section.14">14.</a> References</h1><table><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, October&nbsp;1996.</td></tr><tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>&#8221;, RFC&nbsp;2396, August&nbsp;1998.<br>This RFC will soon be updated, check &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>&gt; for the latest draft.<br>The issues list is at &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>&gt;.</td></tr><tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, &#8220;Test cases for RFC2629 formatting&#8221;, March&nbsp;2008.</td></tr><tr><td class="reference"><b id="reference-anchor">[reference-anchor]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, &#8220;Test cases for RFC2629 formatting&#8221;, March&nbsp;2008.</td></tr></table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="cref-anchor">
     439        [cref-anchor]
     440      </dt><dd>A comment.</dd><dt id="comment-test">
    439441        [comment-test]
    440442      </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1">
     
    446448      </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.2">
    447449        [rfc.comment.2]
    448       </dt><dd>No anchor, no source, but embedded markup: &lt;<a href="http://xml.resource.org">http://xml.resource.org</a>&gt;.</dd></dl><hr class="noprint"><div class="avoidbreak"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;48155<br>Germany<br>Phone: <a href="tel:+492512807760">+49 251 2807760</a><br>Fax: <a href="fax:+492512807761">+49 251 2807761</a><br>EMail: <a href="mailto:julian.reschke@greenbytes.de">julian.reschke@greenbytes.de</a><br>URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a></p></div><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li><b>&lt;</b><ul><li>&lt;iref&gt; in &lt;artwork&gt;&nbsp;&nbsp;<a href="#rfc.iref.2">10.1</a></li></ul></li><li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul><li>inline iref&nbsp;&nbsp;<a href="#rfc.iref.i.1">5.14</a></li></ul></li><li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul><li><em>RFC2026</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">3</a>, <a href="#rfc.xref.RFC2026.2">5.9</a>, <a href="#rfc.xref.RFC2026.3">5.10</a>, <a href="#rfc.xref.RFC2026.4">5.11</a>, <a href="#RFC2026"><b>13</b></a></li><li><em>RFC2396</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2396.1">5.11</a>, <a href="#rfc.xref.RFC2396.2">10.1</a>, <a href="#RFC2396"><b>13</b></a></li></ul></li><li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul><li>section iref&nbsp;&nbsp;<a href="#rfc.iref.s.1">5.15</a></li></ul></li><li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul><li><em>TSTCS</em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.1">10.6</a>, <a href="#rfc.xref.TSTCS.2">10.6</a>, <a href="#rfc.xref.TSTCS.3">10.6</a>, <a href="#rfc.xref.TSTCS.4">10.6</a>, <a href="#TSTCS"><b>13</b></a><ul><li><em>Appendix </em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.4">10.6</a></li><li><em>Section 10.6</em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.1">10.6</a>, <a href="#rfc.xref.TSTCS.2">10.6</a>, <a href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html>
     450      </dt><dd>No anchor, no source, but embedded markup: &lt;<a href="http://xml.resource.org">http://xml.resource.org</a>&gt;.</dd></dl><hr class="noprint"><div class="avoidbreak"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, 48155<br>Germany<br>Phone: <a href="tel:+492512807760">+49 251 2807760</a><br>EMail: <a href="mailto:julian.reschke@greenbytes.de">julian.reschke@greenbytes.de</a><br>URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a></p></div><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li><b>&lt;</b><ul><li>&lt;iref&gt; in &lt;artwork&gt;&nbsp;&nbsp;<a href="#rfc.iref.2">11.1</a></li></ul></li><li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul><li>inline iref&nbsp;&nbsp;<a href="#rfc.iref.i.1">6.5</a></li></ul></li><li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul><li><em>reference-anchor</em>&nbsp;&nbsp;<a href="#rfc.xref.reference-anchor.1">5.8</a>, <a href="#rfc.xref.reference-anchor.2">5.8</a>, <a href="#rfc.xref.reference-anchor.3">5.8</a>, <a href="#rfc.xref.reference-anchor.4">5.8</a>, <a href="#rfc.xref.reference-anchor.5">5.8</a>, <a href="#rfc.xref.reference-anchor.6">5.8</a>, <a href="#rfc.xref.reference-anchor.7">5.8</a>, <a href="#rfc.xref.reference-anchor.8">5.8</a>, <a href="#rfc.xref.reference-anchor.9">5.8</a>, <a href="#rfc.xref.reference-anchor.10">5.8</a>, <a href="#reference-anchor"><b>14</b></a></li><li><em>RFC2026</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">3</a>, <a href="#rfc.xref.RFC2026.2">6.2</a>, <a href="#RFC2026"><b>14</b></a></li><li><em>RFC2396</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2396.1">6.2</a>, <a href="#rfc.xref.RFC2396.2">11.1</a>, <a href="#RFC2396"><b>14</b></a></li></ul></li><li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul><li>section iref&nbsp;&nbsp;<a href="#rfc.iref.s.1">6.6</a></li></ul></li><li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul><li><em>TSTCS</em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.1">11.6</a>, <a href="#rfc.xref.TSTCS.2">11.6</a>, <a href="#rfc.xref.TSTCS.3">11.6</a>, <a href="#rfc.xref.TSTCS.4">11.6</a>, <a href="#TSTCS"><b>14</b></a><ul><li><em>Appendix </em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.4">11.6</a></li><li><em>Section 11.6</em>&nbsp;&nbsp;<a href="#rfc.xref.TSTCS.1">11.6</a>, <a href="#rfc.xref.TSTCS.2">11.6</a>, <a href="#rfc.xref.TSTCS.3">11.6</a></li></ul></li></ul></li></ul></div></body></html>
  • rfc2629xslt/testcase.xml

    r2527 r2610  
    2727                <postal>
    2828                <street>Hafenweg 16</street>
    29             <city>Muenster</city><region>NW</region><code>48155</code>
     29            <code>48155</code><city>Muenster</city>
    3030                <country>Germany</country>
    3131                </postal>
    3232                  <phone>+49 251 2807760</phone>       
    33         <facsimile>+49 251 2807761</facsimile> 
    34                   <email>julian.reschke@greenbytes.de</email>   
    35                   <uri>http://greenbytes.de/tech/webdav/</uri> 
    36                 </address>
     33                  <email>julian.reschke@greenbytes.de</email>   
     34                  <uri>http://greenbytes.de/tech/webdav/</uri> 
     35                  </address>
    3736        </author>
    38      
    39     <date year="2013"/>
     37
     38    <date/>
    4039    <keyword>RFC2629</keyword>
    4140    <keyword>test case</keyword>
     
    4645
    4746<section title="Lists" anchor="lists">
     47
    4848<section title="hanging list">
     49<section title="default">
    4950<t><list style="hanging">
    5051  <t hangText="Name:">timeout</t>
     
    5455</list></t></section>
    5556
     57<section title="hanging list with hangIndent 7">
     58<t><list style="hanging" hangIndent="7">
     59  <t hangText="0">0</t>
     60  <t hangText="01">01</t>
     61  <t hangText="012">012</t>
     62  <t hangText="0123">0123</t>
     63  <t hangText="01234">01234</t>
     64  <t hangText="012345">012345</t>
     65  <t hangText="0123456">0123456</t>
     66  <t hangText="01234567">01234567</t>
     67  <t hangText="012345678">012345678</t>
     68  <t hangText="0123456789">0123456789</t>
     69</list></t></section>
     70
     71<section title="hanging list with hangIndent 0">
     72<t><list style="hanging" hangIndent="0">
     73  <t hangText="0">0</t>
     74  <t hangText="01">01</t>
     75  <t hangText="012">012</t>
     76  <t hangText="0123">0123</t>
     77  <t hangText="01234">01234</t>
     78  <t hangText="012345">012345</t>
     79  <t hangText="0123456">0123456</t>
     80  <t hangText="01234567">01234567</t>
     81  <t hangText="012345678">012345678</t>
     82  <t hangText="0123456789">0123456789</t>
     83</list></t></section>
     84</section>
     85
    5686<section title="numbered list" anchor="ordered.list.numbers">
    5787<t>
     
    6090  <t>one</t>
    6191  <t>two</t>
    62   <t anchor="ordered.list.numbers.last">>three</t>
     92  <t anchor="ordered.list.numbers.last">three</t>
    6393</list>
    6494</t>
     
    173203</section>
    174204
    175 <section title="Nested list">
     205<section title="Nested lists">
     206<section title="numbers/letters">
    176207  <t>
    177208    <list style="numbers">
     
    187218  </t>
    188219</section>
     220<section title="numbers/numbers">
     221  <t>
     222    <list style="numbers">
     223      <t>One</t>
     224      <t>Two
     225        <list style="numbers">
     226          <t>17</t>
     227          <t>42</t>
     228        </list>
     229      </t>
     230      <t>Three</t>
     231    </list>
     232  </t>
     233</section>
     234<section title="letters/letters">
     235  <t>
     236    <list style="letters">
     237      <t>One</t>
     238      <t>Two
     239        <list style="letters">
     240          <t>17</t>
     241          <t>42</t>
     242        </list>
     243      </t>
     244      <t>Three</t>
     245    </list>
     246  </t>
     247</section>
     248<section title="letters/letters/letters">
     249  <t>
     250    <list style="letters">
     251      <t>One</t>
     252      <t>Two
     253        <list style="letters">
     254          <t>17</t>
     255          <t>42
     256            <list style="letters">
     257              <t>X</t>
     258              <t>Y</t>
     259            </list>
     260          </t>
     261        </list>
     262      </t>
     263      <t>Three</t>
     264    </list>
     265  </t>
     266</section>
     267<section title="symbols/symbols/symbols">
     268  <t>
     269    <list style="symbols">
     270      <t>One</t>
     271      <t>Two
     272        <list style="symbols">
     273          <t>17</t>
     274          <t>42
     275            <list style="symbols">
     276              <t>X</t>
     277              <t>Y</t>
     278            </list>
     279          </t>
     280        </list>
     281      </t>
     282      <t>Three</t>
     283    </list>
     284  </t>
     285</section>
     286</section>
    189287
    190288<section title="list without style">
    191 <t><list>
     289<t>No style attribute:<list>
    192290  <t>One</t>
    193291  <t>Two</t>
    194292  <t>Three</t>
    195 </list></t></section>
     293</list></t>
     294</section>
    196295
    197296<section title="list with multiple paragraphs in a single list item">
     
    205304</list></t></section>
    206305
     306<section title="style=format...">
    207307<section title="lists with fancy formats: %c">
    208308<t><list style="format %c">
     
    230330</list></t></section>
    231331
     332<section title="lists with fancy formats: %o">
     333<t><list style="format %o">
     334  <t>test</t>
     335</list></t></section>
     336
    232337<section title="lists with fancy formats: %x">
    233338<t><list style="format %x">
     
    239344  <t>test</t>
    240345</list></t></section>
    241 </section>
     346
     347<section title="lists with fancy formats: %% %d">
     348<t><list style="format %% %d">
     349  <t>test</t>
     350</list></t></section>
     351
     352<section title="lists with fancy formats: REQUIREMENT-%i plus hangIndent=20">
     353<t><list style="format REQUIREMENT-%i" hangIndent="20">
     354  <t>test</t>
     355  <t>test</t>
     356  <t>test</t>
     357  <t>test</t>
     358  <t>test</t>
     359  <t>test</t>
     360  <t>test</t>
     361  <t>test</t>
     362  <t>test</t>
     363  <t>test</t>
     364  <t>test</t>
     365</list></t></section>
     366</section>
     367
     368<section title="style inheritance">
     369<t><list style="numbers">
     370  <t>test</t>
     371  <t>test</t>
     372  <t>test</t>
     373  <t><list>
     374    <t>test</t>
     375    <t>test</t>
     376    <t>test</t>
     377  </list>
     378  </t>
     379</list></t>
     380</section>
     381
     382</section>
     383
     384
    242385
    243386<section title="spanx">
     
    424567</section>
    425568
     569<section title="empty body">
     570<texttable>
     571<ttcol>title</ttcol>
     572</texttable>
     573</section>
     574
    426575<section title="table alignment">
    427576<texttable align="left">
     
    718867</section>
    719868
    720 <section title="References" anchor="refs">
    721 
    722 <section title="xref with no content" anchor="xref.with.no.content">
    723 <t anchor="xref.with.no.content.first.sentence">
    724   <xref target="refs" /> is the parent section.
    725 </t>
    726 </section>
    727 
    728 <section title="xref to named &lt;t> element">
    729 <t>
    730   With content: see <xref target="xref.with.no.content.first.sentence" format="none">first sentence</xref>
    731   of previous section.
    732 </t>
    733 <t>
    734   Without content: see <xref target="xref.with.no.content.first.sentence"/>.
    735 </t>
    736 </section>
     869<section title="xrefs" anchor="xrefs">
     870<t>
     871  This section contains test cases for &lt;xref/&gt;, testing 9 different types of targets. Each target is tested for all possible values of the @format attribute, and for &lt;xref/&gt; elements with and without content.
     872  <spanx>These tests were contributed by Erik Wilde.</spanx>
     873</t>
     874<section title="Tests for section-anchor" anchor="section-anchor-tests">
     875  <t>&lt;xref target="section-anchor"/&gt;: <xref target="section-anchor"/>
     876  </t>
     877  <t>&lt;xref target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="section-anchor">TEXT-CONTENT</xref>
     878  </t>
     879  <t>&lt;xref format="counter" target="section-anchor"/&gt;: <xref format="counter" target="section-anchor"/>
     880  </t>
     881  <t>&lt;xref format="counter" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="section-anchor">TEXT-CONTENT</xref>
     882  </t>
     883  <t>&lt;xref format="title" target="section-anchor"/&gt;: <xref format="title" target="section-anchor"/>
     884  </t>
     885  <t>&lt;xref format="title" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="section-anchor">TEXT-CONTENT</xref>
     886  </t>
     887  <t>&lt;xref format="none" target="section-anchor"/&gt;: <xref format="none" target="section-anchor"/>
     888  </t>
     889  <t>&lt;xref format="none" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="section-anchor">TEXT-CONTENT</xref>
     890  </t>
     891  <t>&lt;xref format="default" target="section-anchor"/&gt;: <xref format="default" target="section-anchor"/>
     892  </t>
     893  <t>&lt;xref format="default" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="section-anchor">TEXT-CONTENT</xref>
     894  </t>
     895</section>
     896<section title="Tests for t-anchor" anchor="t-anchor-tests">
     897  <t>&lt;xref target="t-anchor"/&gt;: <xref target="t-anchor"/>
     898  </t>
     899  <t>&lt;xref target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="t-anchor">TEXT-CONTENT</xref>
     900  </t>
     901  <t>&lt;xref format="counter" target="t-anchor"/&gt;: <xref format="counter" target="t-anchor"/>
     902  </t>
     903  <t>&lt;xref format="counter" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="t-anchor">TEXT-CONTENT</xref>
     904  </t>
     905  <t>&lt;xref format="title" target="t-anchor"/&gt;: <xref format="title" target="t-anchor"/>
     906  </t>
     907  <t>&lt;xref format="title" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="t-anchor">TEXT-CONTENT</xref>
     908  </t>
     909  <t>&lt;xref format="none" target="t-anchor"/&gt;: <xref format="none" target="t-anchor"/>
     910  </t>
     911  <t>&lt;xref format="none" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="t-anchor">TEXT-CONTENT</xref>
     912  </t>
     913  <t>&lt;xref format="default" target="t-anchor"/&gt;: <xref format="default" target="t-anchor"/>
     914  </t>
     915  <t>&lt;xref format="default" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="t-anchor">TEXT-CONTENT</xref>
     916  </t>
     917</section>
     918<section title="Tests for list-t-anchor-empty" anchor="list-t-anchor-empty-tests">
     919  <t>&lt;xref target="list-t-anchor-empty"/&gt;: <xref target="list-t-anchor-empty"/>
     920  </t>
     921  <t>&lt;xref target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-empty">TEXT-CONTENT</xref>
     922  </t>
     923  <t>&lt;xref format="counter" target="list-t-anchor-empty"/&gt;: <xref format="counter" target="list-t-anchor-empty"/>
     924  </t>
     925  <t>&lt;xref format="counter" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="list-t-anchor-empty">TEXT-CONTENT</xref>
     926  </t>
     927  <t>&lt;xref format="title" target="list-t-anchor-empty"/&gt;: <xref format="title" target="list-t-anchor-empty"/>
     928  </t>
     929  <t>&lt;xref format="title" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="list-t-anchor-empty">TEXT-CONTENT</xref>
     930  </t>
     931  <t>&lt;xref format="none" target="list-t-anchor-empty"/&gt;: <xref format="none" target="list-t-anchor-empty"/>
     932  </t>
     933  <t>&lt;xref format="none" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="list-t-anchor-empty">TEXT-CONTENT</xref>
     934  </t>
     935  <t>&lt;xref format="default" target="list-t-anchor-empty"/&gt;: <xref format="default" target="list-t-anchor-empty"/>
     936  </t>
     937  <t>&lt;xref format="default" target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="list-t-anchor-empty">TEXT-CONTENT</xref>
     938  </t>
     939</section>
     940<section title="Tests for list-t-anchor-numbers" anchor="list-t-anchor-numbers-tests">
     941  <t>&lt;xref target="list-t-anchor-numbers"/&gt;: <xref target="list-t-anchor-numbers"/>
     942  </t>
     943  <t>&lt;xref target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-numbers">TEXT-CONTENT</xref>
     944  </t>
     945  <t>&lt;xref format="counter" target="list-t-anchor-numbers"/&gt;: <xref format="counter" target="list-t-anchor-numbers"/>
     946  </t>
     947  <t>&lt;xref format="counter" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="list-t-anchor-numbers">TEXT-CONTENT</xref>
     948  </t>
     949  <t>&lt;xref format="title" target="list-t-anchor-numbers"/&gt;: <xref format="title" target="list-t-anchor-numbers"/>
     950  </t>
     951  <t>&lt;xref format="title" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="list-t-anchor-numbers">TEXT-CONTENT</xref>
     952  </t>
     953  <t>&lt;xref format="none" target="list-t-anchor-numbers"/&gt;: <xref format="none" target="list-t-anchor-numbers"/>
     954  </t>
     955  <t>&lt;xref format="none" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="list-t-anchor-numbers">TEXT-CONTENT</xref>
     956  </t>
     957  <t>&lt;xref format="default" target="list-t-anchor-numbers"/&gt;: <xref format="default" target="list-t-anchor-numbers"/>
     958  </t>
     959  <t>&lt;xref format="default" target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="list-t-anchor-numbers">TEXT-CONTENT</xref>
     960  </t>
     961</section>
     962<section title="Tests for list-t-anchor-letters" anchor="list-t-anchor-letters-tests">
     963  <t>&lt;xref target="list-t-anchor-letters"/&gt;: <xref target="list-t-anchor-letters"/>
     964  </t>
     965  <t>&lt;xref target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-letters">TEXT-CONTENT</xref>
     966  </t>
     967  <t>&lt;xref format="counter" target="list-t-anchor-letters"/&gt;: <xref format="counter" target="list-t-anchor-letters"/>
     968  </t>
     969  <t>&lt;xref format="counter" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="list-t-anchor-letters">TEXT-CONTENT</xref>
     970  </t>
     971  <t>&lt;xref format="title" target="list-t-anchor-letters"/&gt;: <xref format="title" target="list-t-anchor-letters"/>
     972  </t>
     973  <t>&lt;xref format="title" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="list-t-anchor-letters">TEXT-CONTENT</xref>
     974  </t>
     975  <t>&lt;xref format="none" target="list-t-anchor-letters"/&gt;: <xref format="none" target="list-t-anchor-letters"/>
     976  </t>
     977  <t>&lt;xref format="none" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="list-t-anchor-letters">TEXT-CONTENT</xref>
     978  </t>
     979  <t>&lt;xref format="default" target="list-t-anchor-letters"/&gt;: <xref format="default" target="list-t-anchor-letters"/>
     980  </t>
     981  <t>&lt;xref format="default" target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="list-t-anchor-letters">TEXT-CONTENT</xref>
     982  </t>
     983</section>
     984<section title="Tests for texttable-anchor" anchor="texttable-anchor-tests">
     985  <t>&lt;xref target="texttable-anchor"/&gt;: <xref target="texttable-anchor"/>
     986  </t>
     987  <t>&lt;xref target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="texttable-anchor">TEXT-CONTENT</xref>
     988  </t>
     989  <t>&lt;xref format="counter" target="texttable-anchor"/&gt;: <xref format="counter" target="texttable-anchor"/>
     990  </t>
     991  <t>&lt;xref format="counter" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="texttable-anchor">TEXT-CONTENT</xref>
     992  </t>
     993  <t>&lt;xref format="title" target="texttable-anchor"/&gt;: <xref format="title" target="texttable-anchor"/>
     994  </t>
     995  <t>&lt;xref format="title" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="texttable-anchor">TEXT-CONTENT</xref>
     996  </t>
     997  <t>&lt;xref format="none" target="texttable-anchor"/&gt;: <xref format="none" target="texttable-anchor"/>
     998  </t>
     999  <t>&lt;xref format="none" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="texttable-anchor">TEXT-CONTENT</xref>
     1000  </t>
     1001  <t>&lt;xref format="default" target="texttable-anchor"/&gt;: <xref format="default" target="texttable-anchor"/>
     1002  </t>
     1003  <t>&lt;xref format="default" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="texttable-anchor">TEXT-CONTENT</xref>
     1004  </t>
     1005</section>
     1006<section title="Tests for figure-anchor" anchor="figure-anchor-tests">
     1007  <t>&lt;xref target="figure-anchor"/&gt;: <xref target="figure-anchor"/>
     1008  </t>
     1009  <t>&lt;xref target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="figure-anchor">TEXT-CONTENT</xref>
     1010  </t>
     1011  <t>&lt;xref format="counter" target="figure-anchor"/&gt;: <xref format="counter" target="figure-anchor"/>
     1012  </t>
     1013  <t>&lt;xref format="counter" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="figure-anchor">TEXT-CONTENT</xref>
     1014  </t>
     1015  <t>&lt;xref format="title" target="figure-anchor"/&gt;: <xref format="title" target="figure-anchor"/>
     1016  </t>
     1017  <t>&lt;xref format="title" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="figure-anchor">TEXT-CONTENT</xref>
     1018  </t>
     1019  <t>&lt;xref format="none" target="figure-anchor"/&gt;: <xref format="none" target="figure-anchor"/>
     1020  </t>
     1021  <t>&lt;xref format="none" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="figure-anchor">TEXT-CONTENT</xref>
     1022  </t>
     1023  <t>&lt;xref format="default" target="figure-anchor"/&gt;: <xref format="default" target="figure-anchor"/>
     1024  </t>
     1025  <t>&lt;xref format="default" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="figure-anchor">TEXT-CONTENT</xref>
     1026  </t>
     1027</section>
     1028<section title="Tests for reference-anchor" anchor="reference-anchor-tests">
     1029  <t>&lt;xref target="reference-anchor"/&gt;: <xref target="reference-anchor"/>
     1030  </t>
     1031  <t>&lt;xref target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="reference-anchor">TEXT-CONTENT</xref>
     1032  </t>
     1033  <t>&lt;xref format="counter" target="reference-anchor"/&gt;: <xref format="counter" target="reference-anchor"/>
     1034  </t>
     1035  <t>&lt;xref format="counter" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="reference-anchor">TEXT-CONTENT</xref>
     1036  </t>
     1037  <t>&lt;xref format="title" target="reference-anchor"/&gt;: <xref format="title" target="reference-anchor"/>
     1038  </t>
     1039  <t>&lt;xref format="title" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="reference-anchor">TEXT-CONTENT</xref>
     1040  </t>
     1041  <t>&lt;xref format="none" target="reference-anchor"/&gt;: <xref format="none" target="reference-anchor"/>
     1042  </t>
     1043  <t>&lt;xref format="none" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="reference-anchor">TEXT-CONTENT</xref>
     1044  </t>
     1045  <t>&lt;xref format="default" target="reference-anchor"/&gt;: <xref format="default" target="reference-anchor"/>
     1046  </t>
     1047  <t>&lt;xref format="default" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="reference-anchor">TEXT-CONTENT</xref>
     1048  </t>
     1049</section>
     1050<section title="Tests for cref-anchor" anchor="cref-anchor-tests">
     1051  <t>&lt;xref target="cref-anchor"/&gt;: <xref target="cref-anchor"/>
     1052  </t>
     1053  <t>&lt;xref target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="cref-anchor">TEXT-CONTENT</xref>
     1054  </t>
     1055  <t>&lt;xref format="counter" target="cref-anchor"/&gt;: <xref format="counter" target="cref-anchor"/>
     1056  </t>
     1057  <t>&lt;xref format="counter" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="cref-anchor">TEXT-CONTENT</xref>
     1058  </t>
     1059  <t>&lt;xref format="title" target="cref-anchor"/&gt;: <xref format="title" target="cref-anchor"/>
     1060  </t>
     1061  <t>&lt;xref format="title" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="cref-anchor">TEXT-CONTENT</xref>
     1062  </t>
     1063  <t>&lt;xref format="none" target="cref-anchor"/&gt;: <xref format="none" target="cref-anchor"/>
     1064  </t>
     1065  <t>&lt;xref format="none" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="cref-anchor">TEXT-CONTENT</xref>
     1066  </t>
     1067  <t>&lt;xref format="default" target="cref-anchor"/&gt;: <xref format="default" target="cref-anchor"/>
     1068  </t>
     1069  <t>&lt;xref format="default" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="cref-anchor">TEXT-CONTENT</xref>
     1070  </t>
     1071</section>
     1072<section title="Test Targets" anchor="section-anchor">
     1073   <t>This section contains a couple of markup constructs carrying anchors (this is paragraph 1).</t>
     1074   <t anchor="t-anchor">Some regular paragraph text... (this is paragraph 2)</t>
     1075   <t>
     1076      <list>
     1077         <t anchor="list-t-anchor-empty">Some paragraph in a list... (this is list item 1 in a default style list)</t>
     1078      </list>
     1079   </t>
     1080   <t>
     1081      <list style="numbers">
     1082         <t anchor="list-t-anchor-numbers">Some paragraph in a list... (this is list item 1 in a "numbers" style list)</t>
     1083      </list>
     1084   </t>
     1085   <t>
     1086      <list style="letters">
     1087         <t anchor="list-t-anchor-letters">Some paragraph in a list... (this is list item 1 in a "letters" style list)</t>
     1088      </list>
     1089   </t>
     1090   <texttable anchor="texttable-anchor" title="TEXTTABLE-TITLE">
     1091      <ttcol>Some texttable text...</ttcol><c>Table cell</c>
     1092   </texttable>
     1093   <figure anchor="figure-anchor" title="FIGURE-TITLE">
     1094      <artwork>Some figure text...</artwork>
     1095   </figure>
     1096   <t>
     1097      <cref anchor="cref-anchor">A comment.</cref>
     1098   </t>
     1099</section>
     1100</section>
     1101
     1102
     1103<section title="More References" anchor="refs">
    7371104
    7381105<section title="xref to named &lt;spanx> element">
    7391106<t>
    7401107  <spanx anchor="spanx.anchor">With content</spanx>: see <xref target="spanx.anchor" format="none">this sentence</xref>.
    741 </t>
    742 </section>
    743 
    744 <section title="xref to named &lt;t> element inside list">
    745 <t>
    746   With content: see <xref target="listelement.anchor" format="none">first element in list below</xref>.
    747 </t>
    748 <t>
    749   <list style="hanging">
    750     <t anchor="listelement.anchor" hangText="test">Test</t>
    751   </list>
    752 </t>
    753 </section>
    754 
    755 <section title="xref to named &lt;cref> element">
    756 <t>
    757   With content: see <xref target="comment-test" format="none">test comment</xref>.
    758 </t>
    759 <t>
    760   Without content: see <xref target="comment-test"/>.
    761 </t>
    762 </section>
    763 
    764 <section title="xref to named &lt;t> element inside list">
    765 <t>
    766   See <xref target="ordered.list.letters.last" format="none">last entry</xref> in
    767   <xref target="ordered.list.letters"/> (format=none).
    768 </t>
    769 <t>
    770   See item <xref target="ordered.list.letters.last" format="counter"/> in
    771   <xref target="ordered.list.letters"/> (format=counter, letters).
    772 </t>
    773 <t>
    774   See item <xref target="ordered.list.numbers.last" format="counter"/> in
    775   <xref target="ordered.list.numbers"/> (format=counter, numbers).
    776 </t>
    777 </section>
    778 
    779 <section title="xref with no auto-formatting">
    780 <t>
    781 So far we have sections <xref target="lists" format="counter" /> ("<xref target="lists" format="title" />") through <xref target="refs" format="counter"/>
    782 ("<xref target="refs" format="title"/>").
    783 </t>
    784 </section>
    785 
    786 <section title="xref with content and auto-formatting">
    787 <t>
    788 This is a subsection of <xref target="refs">References</xref>.
    789 </t>
    790 </section>
    791 
    792 <section title="xref with content and no formatting">
    793 <t>
    794 This is a subsection of <xref target="refs" x:fmt="none">References</xref>.
    795 Here we are referring to <xref target="RFC2026" x:fmt="none">RFC 2026</xref>,
    796 without emitting extra formatting.
    797 </t>
    798 </section>
    799 
    800 <section title="xref with content and 'none' formatting" anchor="formatting.none">
    801 <t>
    802 Here we are referring to <xref target="RFC2026" format="none">RFC 2026</xref>,
    803 without emitting extra formatting.
    804 </t>
    805 <t>
    806 Here we are referring to <xref target="formatting.none" format="none">this Section</xref>,
    807 without emitting extra formatting.
    8081108</t>
    8091109</section>
     
    12531553</reference>
    12541554
     1555<reference anchor="reference-anchor">
     1556        <front>
     1557        <title>Test cases for RFC2629 formatting</title>
     1558
     1559        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
     1560                <organization abbrev="greenbytes">greenbytes GmbH</organization>
     1561        <address>
     1562                <postal>
     1563                <street>Hafenweg 16</street>
     1564            <city>Muenster</city><region>NW</region><code>48155</code>
     1565                <country>Germany</country>
     1566                </postal>
     1567                  <phone>+49 251 2807760</phone>       
     1568        <facsimile>+49 251 2807761</facsimile> 
     1569                  <email>julian.reschke@greenbytes.de</email>   
     1570                  <uri>http://greenbytes.de/tech/webdav/</uri> 
     1571                </address>
     1572        </author>
     1573    <date month="March" year="2008"/>
     1574        </front>
     1575  <x:source href="testcase.xml"/>
     1576</reference>
     1577
    12551578  </references>
    12561579  </back>
Note: See TracChangeset for help on using the changeset viewer.