[6] | 1 | |
---|
| 2 | <!DOCTYPE html |
---|
| 3 | PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
---|
[573] | 4 | <html lang="en"><head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/"> |
---|
[6] | 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)"> |
---|
| 7 | a { |
---|
| 8 | text-decoration: none; |
---|
| 9 | } |
---|
| 10 | a.smpl { |
---|
| 11 | color: black; |
---|
| 12 | } |
---|
| 13 | a:hover { |
---|
| 14 | text-decoration: underline; |
---|
| 15 | } |
---|
| 16 | a:active { |
---|
| 17 | text-decoration: underline; |
---|
| 18 | } |
---|
| 19 | address { |
---|
| 20 | margin-top: 1em; |
---|
| 21 | margin-left: 2em; |
---|
| 22 | font-style: normal; |
---|
| 23 | } |
---|
| 24 | blockquote { |
---|
| 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 | } |
---|
| 31 | body { |
---|
| 32 | color: black; |
---|
| 33 | font-family: verdana, helvetica, arial, sans-serif; |
---|
| 34 | font-size: 10pt; |
---|
| 35 | } |
---|
| 36 | cite { |
---|
| 37 | font-style: normal; |
---|
| 38 | } |
---|
| 39 | dd { |
---|
| 40 | margin-right: 2em; |
---|
| 41 | } |
---|
| 42 | dl { |
---|
| 43 | margin-left: 2em; |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | dl.empty dd { |
---|
| 47 | margin-top: .5em; |
---|
| 48 | } |
---|
| 49 | dl p { |
---|
| 50 | margin-left: 0em; |
---|
| 51 | } |
---|
| 52 | dt { |
---|
| 53 | margin-top: .5em; |
---|
| 54 | } |
---|
| 55 | h1 { |
---|
| 56 | font-size: 14pt; |
---|
| 57 | line-height: 21pt; |
---|
| 58 | page-break-after: avoid; |
---|
| 59 | } |
---|
| 60 | h1.np { |
---|
| 61 | page-break-before: always; |
---|
| 62 | } |
---|
| 63 | h1 a { |
---|
| 64 | color: #333333; |
---|
| 65 | } |
---|
| 66 | h2 { |
---|
| 67 | font-size: 12pt; |
---|
| 68 | line-height: 15pt; |
---|
| 69 | page-break-after: avoid; |
---|
| 70 | } |
---|
[446] | 71 | h3, h4, h5, h6 { |
---|
[6] | 72 | font-size: 10pt; |
---|
| 73 | page-break-after: avoid; |
---|
| 74 | } |
---|
[446] | 75 | h2 a, h3 a, h4 a, h5 a, h6 a { |
---|
[6] | 76 | color: black; |
---|
| 77 | } |
---|
| 78 | img { |
---|
| 79 | margin-left: 3em; |
---|
| 80 | } |
---|
| 81 | li { |
---|
| 82 | margin-left: 2em; |
---|
| 83 | margin-right: 2em; |
---|
| 84 | } |
---|
| 85 | ol { |
---|
| 86 | margin-left: 2em; |
---|
| 87 | margin-right: 2em; |
---|
| 88 | } |
---|
| 89 | ol p { |
---|
| 90 | margin-left: 0em; |
---|
| 91 | } |
---|
| 92 | p { |
---|
| 93 | margin-left: 2em; |
---|
| 94 | margin-right: 2em; |
---|
| 95 | } |
---|
| 96 | pre { |
---|
| 97 | margin-left: 3em; |
---|
| 98 | background-color: lightyellow; |
---|
| 99 | padding: .25em; |
---|
| 100 | } |
---|
[704] | 101 | pre.ccmarker { |
---|
| 102 | background-color: white; |
---|
| 103 | color: gray; |
---|
| 104 | } |
---|
| 105 | pre.ccmarker > span { |
---|
| 106 | font-size: small; |
---|
| 107 | } |
---|
| 108 | pre.cct { |
---|
| 109 | margin-bottom: -1em; |
---|
| 110 | } |
---|
| 111 | pre.ccb { |
---|
| 112 | margin-top: -1em; |
---|
| 113 | } |
---|
[6] | 114 | pre.text2 { |
---|
| 115 | border-style: dotted; |
---|
| 116 | border-width: 1px; |
---|
| 117 | background-color: #f0f0f0; |
---|
| 118 | width: 69em; |
---|
| 119 | } |
---|
| 120 | pre.inline { |
---|
| 121 | background-color: white; |
---|
| 122 | padding: 0em; |
---|
| 123 | } |
---|
| 124 | pre.text { |
---|
| 125 | border-style: dotted; |
---|
| 126 | border-width: 1px; |
---|
| 127 | background-color: #f8f8f8; |
---|
| 128 | width: 69em; |
---|
| 129 | } |
---|
| 130 | pre.drawing { |
---|
| 131 | border-style: solid; |
---|
| 132 | border-width: 1px; |
---|
| 133 | background-color: #f8f8f8; |
---|
| 134 | padding: 2em; |
---|
| 135 | } |
---|
| 136 | q { |
---|
| 137 | font-style: italic; |
---|
| 138 | } |
---|
| 139 | table { |
---|
| 140 | margin-left: 2em; |
---|
| 141 | } |
---|
| 142 | table.tt { |
---|
| 143 | vertical-align: top; |
---|
| 144 | } |
---|
| 145 | table.full { |
---|
| 146 | border-style: outset; |
---|
| 147 | border-width: 1px; |
---|
| 148 | } |
---|
| 149 | table.headers { |
---|
| 150 | border-style: outset; |
---|
| 151 | border-width: 1px; |
---|
| 152 | } |
---|
| 153 | table.tt td { |
---|
| 154 | vertical-align: top; |
---|
| 155 | } |
---|
| 156 | table.full td { |
---|
| 157 | border-style: inset; |
---|
| 158 | border-width: 1px; |
---|
| 159 | } |
---|
| 160 | table.tt th { |
---|
| 161 | vertical-align: top; |
---|
| 162 | } |
---|
| 163 | table.full th { |
---|
| 164 | border-style: inset; |
---|
| 165 | border-width: 1px; |
---|
| 166 | } |
---|
| 167 | table.headers th { |
---|
| 168 | border-style: none none inset none; |
---|
| 169 | border-width: 1px; |
---|
| 170 | } |
---|
[662] | 171 | table.left { |
---|
| 172 | margin-right: auto; |
---|
| 173 | } |
---|
| 174 | table.right { |
---|
| 175 | margin-left: auto; |
---|
| 176 | } |
---|
| 177 | table.center { |
---|
| 178 | margin-left: auto; |
---|
| 179 | margin-right: auto; |
---|
| 180 | } |
---|
[448] | 181 | caption { |
---|
| 182 | caption-side: bottom; |
---|
| 183 | font-weight: bold; |
---|
| 184 | font-size: 9pt; |
---|
| 185 | margin-top: .5em; |
---|
| 186 | } |
---|
| 187 | |
---|
[6] | 188 | table.header { |
---|
| 189 | width: 95%; |
---|
| 190 | font-size: 10pt; |
---|
| 191 | color: white; |
---|
| 192 | } |
---|
| 193 | td.top { |
---|
| 194 | vertical-align: top; |
---|
| 195 | } |
---|
| 196 | td.topnowrap { |
---|
| 197 | vertical-align: top; |
---|
| 198 | white-space: nowrap; |
---|
| 199 | } |
---|
| 200 | td.header { |
---|
| 201 | background-color: gray; |
---|
| 202 | width: 50%; |
---|
| 203 | } |
---|
[227] | 204 | td.header a { |
---|
| 205 | color: white; |
---|
| 206 | } |
---|
[6] | 207 | td.reference { |
---|
| 208 | vertical-align: top; |
---|
| 209 | white-space: nowrap; |
---|
| 210 | padding-right: 1em; |
---|
| 211 | } |
---|
| 212 | thead { |
---|
| 213 | display:table-header-group; |
---|
| 214 | } |
---|
| 215 | ul.toc { |
---|
| 216 | list-style: none; |
---|
| 217 | margin-left: 1.5em; |
---|
| 218 | margin-right: 0em; |
---|
| 219 | padding-left: 0em; |
---|
| 220 | } |
---|
| 221 | li.tocline0 { |
---|
| 222 | line-height: 150%; |
---|
| 223 | font-weight: bold; |
---|
| 224 | font-size: 10pt; |
---|
| 225 | margin-left: 0em; |
---|
| 226 | margin-right: 0em; |
---|
| 227 | } |
---|
| 228 | li.tocline1 { |
---|
| 229 | line-height: normal; |
---|
| 230 | font-weight: normal; |
---|
| 231 | font-size: 9pt; |
---|
| 232 | margin-left: 0em; |
---|
| 233 | margin-right: 0em; |
---|
| 234 | } |
---|
| 235 | li.tocline2 { |
---|
| 236 | font-size: 0pt; |
---|
| 237 | } |
---|
| 238 | ul p { |
---|
| 239 | margin-left: 0em; |
---|
| 240 | } |
---|
| 241 | ul.ind { |
---|
| 242 | list-style: none; |
---|
| 243 | margin-left: 1.5em; |
---|
| 244 | margin-right: 0em; |
---|
| 245 | padding-left: 0em; |
---|
[440] | 246 | page-break-before: avoid; |
---|
[6] | 247 | } |
---|
| 248 | li.indline0 { |
---|
| 249 | font-weight: bold; |
---|
| 250 | line-height: 200%; |
---|
| 251 | margin-left: 0em; |
---|
| 252 | margin-right: 0em; |
---|
| 253 | } |
---|
| 254 | li.indline1 { |
---|
| 255 | font-weight: normal; |
---|
| 256 | line-height: 150%; |
---|
| 257 | margin-left: 0em; |
---|
| 258 | margin-right: 0em; |
---|
| 259 | } |
---|
[662] | 260 | .avoidbreak { |
---|
| 261 | page-break-inside: avoid; |
---|
| 262 | } |
---|
[6] | 263 | |
---|
| 264 | blockquote > * .bcp14 { |
---|
| 265 | font-style: italic; |
---|
| 266 | } |
---|
| 267 | .comment { |
---|
| 268 | background-color: yellow; |
---|
| 269 | } |
---|
| 270 | .center { |
---|
| 271 | text-align: center; |
---|
| 272 | } |
---|
| 273 | .error { |
---|
| 274 | color: red; |
---|
| 275 | font-style: italic; |
---|
| 276 | font-weight: bold; |
---|
| 277 | } |
---|
| 278 | .figure { |
---|
| 279 | font-weight: bold; |
---|
| 280 | text-align: center; |
---|
| 281 | font-size: 9pt; |
---|
| 282 | } |
---|
| 283 | .filename { |
---|
| 284 | color: #333333; |
---|
| 285 | font-weight: bold; |
---|
| 286 | font-size: 12pt; |
---|
| 287 | line-height: 21pt; |
---|
| 288 | text-align: center; |
---|
| 289 | } |
---|
| 290 | .fn { |
---|
| 291 | font-weight: bold; |
---|
| 292 | } |
---|
| 293 | .hidden { |
---|
| 294 | display: none; |
---|
| 295 | } |
---|
| 296 | .left { |
---|
| 297 | text-align: left; |
---|
| 298 | } |
---|
| 299 | .right { |
---|
| 300 | text-align: right; |
---|
| 301 | } |
---|
| 302 | .title { |
---|
| 303 | color: #990000; |
---|
| 304 | font-size: 18pt; |
---|
| 305 | line-height: 18pt; |
---|
| 306 | font-weight: bold; |
---|
| 307 | text-align: center; |
---|
| 308 | margin-top: 36pt; |
---|
| 309 | } |
---|
| 310 | .vcardline { |
---|
| 311 | display: block; |
---|
| 312 | } |
---|
| 313 | .warning { |
---|
| 314 | font-size: 14pt; |
---|
| 315 | background-color: yellow; |
---|
| 316 | } |
---|
| 317 | |
---|
| 318 | |
---|
| 319 | @media print { |
---|
| 320 | .noprint { |
---|
| 321 | display: none; |
---|
| 322 | } |
---|
| 323 | |
---|
| 324 | a { |
---|
| 325 | color: black; |
---|
| 326 | text-decoration: none; |
---|
| 327 | } |
---|
| 328 | |
---|
| 329 | table.header { |
---|
| 330 | width: 90%; |
---|
| 331 | } |
---|
| 332 | |
---|
| 333 | td.header { |
---|
| 334 | width: 50%; |
---|
| 335 | color: black; |
---|
| 336 | background-color: white; |
---|
| 337 | vertical-align: top; |
---|
| 338 | font-size: 12pt; |
---|
| 339 | } |
---|
| 340 | |
---|
| 341 | ul.toc a::after { |
---|
| 342 | content: leader('.') target-counter(attr(href), page); |
---|
| 343 | } |
---|
| 344 | |
---|
| 345 | a.iref { |
---|
| 346 | content: target-counter(attr(href), page); |
---|
| 347 | } |
---|
| 348 | |
---|
| 349 | .print2col { |
---|
| 350 | column-count: 2; |
---|
| 351 | -moz-column-count: 2; |
---|
| 352 | column-fill: auto; |
---|
| 353 | } |
---|
| 354 | } |
---|
| 355 | |
---|
| 356 | @page { |
---|
| 357 | @top-left { |
---|
| 358 | content: ""; |
---|
| 359 | } |
---|
| 360 | @top-right { |
---|
[704] | 361 | content: "September 2009"; |
---|
[6] | 362 | } |
---|
| 363 | @top-center { |
---|
| 364 | content: "Test cases for RFC2629 formatting"; |
---|
| 365 | } |
---|
| 366 | @bottom-left { |
---|
| 367 | content: "Reschke"; |
---|
| 368 | } |
---|
| 369 | @bottom-center { |
---|
| 370 | content: ""; |
---|
| 371 | } |
---|
| 372 | @bottom-right { |
---|
| 373 | content: "[Page " counter(page) "]"; |
---|
| 374 | } |
---|
| 375 | } |
---|
| 376 | |
---|
| 377 | @page:first { |
---|
| 378 | @top-left { |
---|
| 379 | content: normal; |
---|
| 380 | } |
---|
| 381 | @top-right { |
---|
| 382 | content: normal; |
---|
| 383 | } |
---|
| 384 | @top-center { |
---|
| 385 | content: normal; |
---|
| 386 | } |
---|
| 387 | } |
---|
[723] | 388 | </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.478, 2009-10-16 14:30: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.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table 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">September 2009</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. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6 <a href="#rfc.section.3.6">table captions</a></li><li class="tocline1">3.7 <a href="#rfc.section.3.7">single column</a></li><li class="tocline1">3.8 <a href="#rfc.section.3.8">table alignment</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li><li class="tocline1">4.5 <a href="#rfc.section.4.5">SVG</a></li><li class="tocline1">4.6 <a href="#code.components">Code Components</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">xref to named <t> element</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <spanx> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref to named <cref> element</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref to named <t> element inside list</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">xref with content and no formatting</a></li><li class="tocline1">5.10 <a href="#formatting.none">xref with content and 'none' formatting</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li class="tocline1">5.12 <a href="#rfc.section.5.12">eref with no content</a></li><li class="tocline1">5.13 <a href="#rfc.section.5.13">eref with content</a></li><li class="tocline1">5.14 <a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7 <a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.section.12">Other</a><ul class="toc"><li class="tocline1">12.1 <a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13. <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> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> 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> 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> <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> 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> 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> 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> 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> 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> 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> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td class="left">try to enforce the ID-nits conventions and DTD validity</td><td class="left">a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td class="left">include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td class="left">bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td class="left">when producing a txt/nroff file, try to conserve vertical whitespace</td><td class="left">ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td class="left">if compact is "yes", then setting this to "no" will make things a little less compact</td><td class="left">dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td class="left">an integer hint indicating how many contiguous lines are needed at this point in the output</td><td class="left">eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td class="left"></td><td class="left"></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a> single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td class="left">1</td></tr><tr><td class="left">2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a> table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+ |
---|
[6] | 389 | | | |
---|
| 390 | +--+ |
---|
| 391 | </pre> <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a> with postamble and title...</h2><div id="testfig"></div><div id="rfc.figure.1"></div> <pre> +--+ |
---|
| 392 | | | |
---|
| 393 | +--+ |
---|
| 394 | </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> 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) |
---|
[599] | 395 | </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> 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><h2 id="rfc.section.4.5"><a href="#rfc.section.4.5">4.5</a> SVG</h2><p id="rfc.section.4.5.p.1">Inclusion of SVG:</p><div id="rfc.figure.u.8"></div><p><object data="testcase.svg" type="image/svg+xml" width="476" height="332"> Fallback content for UAs that do not support SVG. |
---|
[704] | 396 | </object></p><h2 id="rfc.section.4.6"><a href="#rfc.section.4.6">4.6</a> <a id="code.components" href="#code.components">Code Components</a></h2><p id="rfc.section.4.6.p.1">Marking up Code Components according to the <a href="http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf">Legal Provisions Relating to IETF Documents</a>:</p><div id="rfc.figure.u.9"></div><pre class="ccmarker cct"><span><CODE BEGINS></span></pre><pre class="text">int main(int argc, char **argv) { |
---|
| 397 | return -1; |
---|
| 398 | } |
---|
| 399 | </pre><pre class="ccmarker ccb"><span><CODE ENDS></span></pre><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <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.1.p.1"> <a href="#refs" title="References">Section 5</a> is the parent section.</p></div><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> xref to named <t> 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 1</a>.</p><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> xref to named <spanx> 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><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> 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><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref to named <cref> 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 comment-test</a>.</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref to named <t> 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 1.3</a>.</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> 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><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> 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 5</a>).</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> 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><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a> <a id="formatting.none" 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><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> 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><h2 id="rfc.section.5.12"><a href="#rfc.section.5.12">5.12</a> eref with no content</h2><p id="rfc.section.5.12.p.1">See also <<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>>. Here's another one that is quite long: <<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>>. Does it break properly?</p><h2 id="rfc.section.5.13"><a href="#rfc.section.5.13">5.13</a> 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><h2 id="rfc.section.5.14"><a href="#rfc.section.5.14">5.14</a> 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><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> 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> Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a> Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> 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: <>.">[<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> Artwork width</h1><div id="rfc.figure.u.10"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678 |
---|
| 400 | </pre> <div id="rfc.figure.u.11"></div> <p>This shouldn't.</p> <pre>0123456789012345678901234567890123456789012345678901234567890123456789 |
---|
| 401 | </pre> <div id="rfc.figure.u.12"></div><pre>(IN TEXT OUTPUT INDENTED BY 10) |
---|
[329] | 402 | 012345678901234567890123456789012345678901234567890123456789012 |
---|
[704] | 403 | </pre><hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a> <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> Markup in figure/artwork</h2><div id="rfc.figure.u.13"></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> |
---|
[6] | 404 | |
---|
| 405 | External References: a test reference to <<a href="http://xml.resource.org">http://xml.resource.org</a>> |
---|
| 406 | |
---|
[246] | 407 | <span id="rfc.iref.1"></span>a test index entry inside a figure |
---|
[6] | 408 | |
---|
| 409 | Styling: <em><spanx></em> inside artwork |
---|
[704] | 410 | </pre> <h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a> Measuring Lengths</h2><div id="rfc.figure.u.14"></div> <pre class="text2">PUT / HTTP/1.1 |
---|
[213] | 411 | Host: example.org |
---|
| 412 | Content-Type: application/xml |
---|
| 413 | Content-Length: 6 |
---|
| 414 | |
---|
[704] | 415 | <span id="req1"><foo/></span></pre><div id="rfc.figure.u.15"></div> <p>...without indentation:</p> <pre class="text2">PUT / HTTP/1.1 |
---|
[213] | 416 | Host: example.org |
---|
| 417 | Content-Type: text/plain |
---|
| 418 | Content-Length: 16 |
---|
| 419 | |
---|
[588] | 420 | <span id="req2">Line 1 |
---|
[213] | 421 | Line 2 |
---|
[704] | 422 | </span></pre><div id="rfc.figure.u.16"></div> <p>...with indentation:</p> <pre class="text2"> PUT / HTTP/1.1 |
---|
[213] | 423 | Host: example.org |
---|
| 424 | Content-Type: text/plain |
---|
| 425 | Content-Length: 16 |
---|
| 426 | |
---|
[588] | 427 | <span id="req3"> Line 1 |
---|
[213] | 428 | Line 2 |
---|
[704] | 429 | </span></pre><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a> 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><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a> 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><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a> Box Drawing</h2><div id="rfc.figure.u.17"></div> <p>The figure below should use box drawing characters instead of "+", "-" and "|".</p> <pre> ┌────────────────┐ |
---|
[6] | 430 | │ This is a Box. │ |
---|
| 431 | └────────────────┘ |
---|
[704] | 432 | </pre> <h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a> <a id="computed.reference.targets" 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.18"></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 |
---|
| 433 | </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.19"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz" |
---|
[272] | 434 | case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
---|
| 435 | case-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 |
---|
| 436 | case-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 |
---|
[704] | 437 | </pre><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> 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><hr class="noprint"><h1 id="rfc.section.12" class="np"><a href="#rfc.section.12">12.</a> Other</h1><h2 id="rfc.section.12.1"><a href="#rfc.section.12.1">12.1</a> Comments in Text</h2><p id="rfc.section.12.1.p.1">First sentence (before XML comment, invisible here). Second sentence.</p><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>, “<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>”, BCP 9, RFC 2026, October 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>, “<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>”, RFC 2396, August 1998.<br>This RFC will soon be updated, check <<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>> for the latest draft.<br>The issues list is at <<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>>.</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>, “Test cases for RFC2629 formatting”, March 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"> |
---|
[588] | 438 | [comment-test] |
---|
[6] | 439 | </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1"> |
---|
| 440 | [comment1] |
---|
| 441 | </dt><dd>Anchor given, no source.</dd><dt id="comment2"> |
---|
| 442 | [comment2] |
---|
[588] | 443 | </dt><dd>Both specified. --JRE</dd><dt id="rfc.comment.1"> |
---|
| 444 | [rfc.comment.1] |
---|
| 445 | </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.2"> |
---|
[6] | 446 | [rfc.comment.2] |
---|
[662] | 447 | </dt><dd>No anchor, no source, but embedded markup: <<a href="http://xml.resource.org">http://xml.resource.org</a>>.</dd></dl><hr class="noprint"><div class="avoidbreak"><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> <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></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.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b><</b><ul class="ind"><li class="indline1"><iref> in <artwork> <a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref <a class="iref" href="#rfc.iref.i.1">5.14</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> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.9</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.10</a>, <a class="iref" href="#rfc.xref.RFC2026.4">5.11</a>, <a class="iref" href="#RFC2026"><b>13</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.11</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>13</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> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>13</b></a><ul class="ind"><li class="indline1"><em>Appendix </em> <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html> |
---|