source: rfc2629xslt/testcase.html @ 189

Last change on this file since 189 was 189, checked in by julian.reschke@…, 12 years ago

Update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
File size: 34.0 KB
Line 
1
2<!DOCTYPE html
3  PUBLIC "-//W3C//DTD HTML 4.01//EN">
4<html lang="en"><head profile="http://www.w3.org/2006/03/hcard">
5      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6   <title>Test cases for RFC2629 formatting</title><style type="text/css" title="Xml2Rfc (sans serif)">
7a {
8  text-decoration: none;
9}
10a.smpl {
11  color: black;
12}
13a:hover {
14  text-decoration: underline;
15}
16a:active {
17  text-decoration: underline;
18}
19address {
20  margin-top: 1em;
21  margin-left: 2em;
22  font-style: normal;
23}
24blockquote {
25  border-style: solid;
26  border-color: gray;
27  border-width: 0 0 0 .25em;
28  font-style: italic;
29  padding-left: 0.5em;
30}
31body {
32  color: black;
33  font-family: verdana, helvetica, arial, sans-serif;
34  font-size: 10pt;
35}
36cite {
37  font-style: normal;
38}
39dd {
40  margin-right: 2em;
41}
42dl {
43  margin-left: 2em;
44}
45
46dl.empty dd {
47  margin-top: .5em;
48}
49dl p {
50  margin-left: 0em;
51}
52dt {
53  margin-top: .5em;
54}
55h1 {
56  font-size: 14pt;
57  line-height: 21pt;
58  page-break-after: avoid;
59}
60h1.np {
61  page-break-before: always;
62}
63h1 a {
64  color: #333333;
65}
66h2 {
67  font-size: 12pt;
68  line-height: 15pt;
69  page-break-after: avoid;
70}
71h2 a {
72  color: black;
73}
74h3 {
75  font-size: 10pt;
76  page-break-after: avoid;
77}
78h3 a {
79  color: black;
80}
81h4 {
82  font-size: 10pt;
83  page-break-after: avoid;
84}
85h4 a {
86  color: black;
87}
88h5 {
89  font-size: 10pt;
90  page-break-after: avoid;
91}
92h5 a {
93  color: black;
94}
95img {
96  margin-left: 3em;
97}
98li {
99  margin-left: 2em;
100  margin-right: 2em;
101}
102ol {
103  margin-left: 2em;
104  margin-right: 2em;
105}
106ol p {
107  margin-left: 0em;
108}
109p {
110  margin-left: 2em;
111  margin-right: 2em;
112}
113pre {
114  margin-left: 3em;
115  background-color: lightyellow;
116  padding: .25em;
117}
118pre.text2 {
119  border-style: dotted;
120  border-width: 1px;
121  background-color: #f0f0f0;
122  width: 69em;
123}
124pre.inline {
125  background-color: white;
126  padding: 0em;
127}
128pre.text {
129  border-style: dotted;
130  border-width: 1px;
131  background-color: #f8f8f8;
132  width: 69em;
133}
134pre.drawing {
135  border-style: solid;
136  border-width: 1px;
137  background-color: #f8f8f8;
138  padding: 2em;
139}
140q {
141  font-style: italic;
142}
143table {
144  margin-left: 2em;
145}
146table.tt {
147  vertical-align: top;
148}
149table.full {
150  border-style: outset;
151  border-width: 1px;
152}
153table.headers {
154  border-style: outset;
155  border-width: 1px;
156}
157table.tt td {
158  vertical-align: top;
159}
160table.full td {
161  border-style: inset;
162  border-width: 1px;
163}
164table.tt th {
165  vertical-align: top;
166}
167table.full th {
168  border-style: inset;
169  border-width: 1px;
170}
171table.headers th {
172  border-style: none none inset none;
173  border-width: 1px;
174}
175table.header {
176  width: 95%;
177  font-size: 10pt;
178  color: white;
179}
180td.top {
181  vertical-align: top;
182}
183td.topnowrap {
184  vertical-align: top;
185  white-space: nowrap; 
186}
187td.header {
188  background-color: gray;
189  width: 50%;
190}
191td.reference {
192  vertical-align: top;
193  white-space: nowrap;
194  padding-right: 1em;
195}
196thead {
197  display:table-header-group;
198}
199ul.toc {
200  list-style: none;
201  margin-left: 1.5em;
202  margin-right: 0em;
203  padding-left: 0em;
204}
205li.tocline0 {
206  line-height: 150%;
207  font-weight: bold;
208  font-size: 10pt;
209  margin-left: 0em;
210  margin-right: 0em;
211}
212li.tocline1 {
213  line-height: normal;
214  font-weight: normal;
215  font-size: 9pt;
216  margin-left: 0em;
217  margin-right: 0em;
218}
219li.tocline2 {
220  font-size: 0pt;
221}
222ul p {
223  margin-left: 0em;
224}
225ul.ind {
226  list-style: none;
227  margin-left: 1.5em;
228  margin-right: 0em;
229  padding-left: 0em;
230}
231li.indline0 {
232  font-weight: bold;
233  line-height: 200%;
234  margin-left: 0em;
235  margin-right: 0em;
236}
237li.indline1 {
238  font-weight: normal;
239  line-height: 150%;
240  margin-left: 0em;
241  margin-right: 0em;
242}
243
244blockquote > * .bcp14 {
245  font-style: italic;
246}
247.comment {
248  background-color: yellow;
249}
250.center {
251  text-align: center;
252}
253.error {
254  color: red;
255  font-style: italic;
256  font-weight: bold;
257}
258.figure {
259  font-weight: bold;
260  text-align: center;
261  font-size: 9pt;
262}
263.filename {
264  color: #333333;
265  font-weight: bold;
266  font-size: 12pt;
267  line-height: 21pt;
268  text-align: center;
269}
270.fn {
271  font-weight: bold;
272}
273.hidden {
274  display: none;
275}
276.left {
277  text-align: left;
278}
279.right {
280  text-align: right;
281}
282.title {
283  color: #990000;
284  font-size: 18pt;
285  line-height: 18pt;
286  font-weight: bold;
287  text-align: center;
288  margin-top: 36pt;
289}
290.vcardline {
291  display: block;
292}
293.warning {
294  font-size: 14pt;
295  background-color: yellow;
296}
297
298
299@media print {
300  .noprint {
301    display: none;
302  }
303 
304  a {
305    color: black;
306    text-decoration: none;
307  }
308
309  table.header {
310    width: 90%;
311  }
312
313  td.header {
314    width: 50%;
315    color: black;
316    background-color: white;
317    vertical-align: top;
318    font-size: 12pt;
319  }
320
321  ul.toc a::after {
322    content: leader('.') target-counter(attr(href), page);
323  }
324 
325  a.iref {
326    content: target-counter(attr(href), page);
327  }
328 
329  .print2col {
330    column-count: 2;
331    -moz-column-count: 2;
332    column-fill: auto;
333  }
334}
335
336@page {
337  @top-left {
338       content: ""; 
339  } 
340  @top-right {
341       content: "December 2007"; 
342  } 
343  @top-center {
344       content: "Test cases for RFC2629 formatting"; 
345  } 
346  @bottom-left {
347       content: "Reschke"; 
348  } 
349  @bottom-center {
350       content: ""; 
351  } 
352  @bottom-right {
353       content: "[Page " counter(page) "]"; 
354  } 
355}
356
357@page:first { 
358    @top-left {
359      content: normal;
360    }
361    @top-right {
362      content: normal;
363    }
364    @top-center {
365      content: normal;
366    }
367}
368</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" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.356, 2008/02/03 13:29:11, XSLT vendor: SAXON 6.5.3 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">December 2007</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">eref with content</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Quotations</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Subsections</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Box Drawing</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" 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>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>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>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></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 summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
369  |  |
370  +--+
371</pre> <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;with postamble and title...</h2><div id="testfig"></div><div id="rfc.figure.1"></div> <pre>  +--+
372  |  |
373  +--+
374</pre>  <p>with postamble and title...</p> <p class="figure">Figure 1: another figure</p><p id="rfc.section.4.2.p.2">The figure above has the title "<a href="#testfig">another figure</a>".</p><h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;Whitespace handling</h2><p id="rfc.section.4.3.p.1">Para...</p><div id="rfc.figure.u.2"></div> <p>Leading whitespace</p>  <pre>test test (leading ws)</pre> <p id="rfc.section.4.3.p.3">Para...</p><div id="rfc.figure.u.3"></div> <p>Trailing whitespace</p>  <pre>test test (trailing ws)
375   </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p>  <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section&nbsp;5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section&nbsp;5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;xref to named &lt;t&gt; element</h2><p id="rfc.section.5.3.p.1">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><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">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section&nbsp;1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.5.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><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.7.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><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><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><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;eref with no content</h2><p id="rfc.section.5.9.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><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><hr class="noprint"><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><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;Subsection without TOC entry</h2><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><hr class="noprint"><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="#rfc.comment.1">rfc.comment.1</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.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p>  <pre>012345678901234567890123456789012345678901234567890123456789012345678
376</pre> <div id="rfc.figure.u.9"></div> <p>This shouldn't.</p>  <pre>0123456789012345678901234567890123456789012345678901234567890123456789
377</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a id="extensions" 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><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.10"></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>
378
379External References: a test reference to &lt;<a href="http://xml.resource.org">http://xml.resource.org</a>&gt;
380
381<span id="rfc.iref."></span>a test index entry inside a figure
382
383Styling: <em>&lt;spanx&gt;</em> inside artwork
384</pre> <h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a>&nbsp;Quotations</h2><p id="rfc.section.10.2.p.1">Here's a quote: <q>This is a Quote.</q> </p><p id="rfc.section.10.2.p.2">Here's a block level quote:</p><blockquote id="rfc.section.10.2.p.3"> <p>Here's a quote.</p>  <p>More text.</p> </blockquote><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a>&nbsp;Subsections</h2><p id="rfc.section.10.3.p.1"> <b>Foo</b> </p><p id="rfc.section.10.3.p.2">The line above should be marked up similar to a subsection heading.</p><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a>&nbsp;Box Drawing</h2><div id="rfc.figure.u.11"></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;
385  &#9474; This is a Box. &#9474;
386  &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;
387  </pre> <h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a>&nbsp;<a id="computed.reference.targets" href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.10.5.p.1">Referring to this section by anchor name indirectly through the references: Section 10.5 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.5.p.2">(default formatting): Section 10.5 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.12"></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.5
388</pre><p id="rfc.section.10.5.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><hr class="noprint"><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><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <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;, October&nbsp;2007.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1">
389        [rfc.comment.1]
390      </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1">
391        [comment1]
392      </dt><dd>Anchor given, no source.</dd><dt id="comment2">
393        [comment2]
394      </dt><dd>Both specified. --JRE</dd><dt id="rfc.comment.2">
395        [rfc.comment.2]
396      </dt><dd>No anchor, no source.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b>&lt;</b><ul class="ind"><li class="indline1">&lt;iref&gt; in &lt;artwork&gt;&nbsp;&nbsp;<a class="iref" href="#rfc.iref.">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.5</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.5</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.5</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.5</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section </em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.4">10.5</a></li><li class="indline1"><em>Section 10.5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.5</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.5</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.5</a></li></ul></li></ul></li></ul></div></body></html>
Note: See TracBrowser for help on using the repository browser.