source: rfc2629xslt/testcase.xml

Last change on this file was 2750, checked in by julian.reschke@…, 4 years ago

update rfc2629.xslt

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 64.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
3<?rfc toc="yes"?>
4<?rfc symrefs="yes"?>
5<?rfc comments="yes"?>
6<?rfc inline="no"?>
7<?rfc-ext include-references-in-index="yes" ?>
8<?rfc-ext parse-xml-in-artwork="yes" ?>
9<?rfc-ext allow-markup-in-artwork="yes" ?>
10<?rfc-ext html-pretty-print="prettyprint https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"?>
11<?rfc-ext vspace-pagebreak="999" ?>
12<?rfc multiple-initials="yes"?>
13<?rfc private="XML2RFC Test Cases"?>
14<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
15  <!ENTITY nbsp "&#160;">
16  <!ENTITY thinsp "&#8202;">
17  <!ENTITY nbhy "&#8209;">
18  <!ENTITY ndash "&#8211;">
19  <!ENTITY mdash "&#8212;">
20]>
21<rfc xmlns:x="http://purl.org/net/xml2rfc/ext">
22        <front>
23        <title>Test cases for XML2RFC formatting</title>
24
25        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
26                <organization abbrev="greenbytes">greenbytes GmbH</organization>
27        <address>
28                <postal>
29                <street>Hafenweg 16</street>
30            <code>48155</code><city>Muenster</city>
31                <country>Germany</country>
32                </postal>
33                  <phone>+49 251 2807760</phone>       
34                  <email>julian.reschke@greenbytes.de</email>   
35                  <uri>http://greenbytes.de/tech/webdav/</uri> 
36                  </address>
37
38
39        </author>
40
41    <date/>
42    <keyword>RFC2629</keyword>
43    <keyword>test case</keyword>
44    <keyword>xml2rfc</keyword>
45        </front>
46
47        <middle>
48
49<section title="Lists" anchor="lists">
50
51<section title="hanging list">
52<section title="default">
53<t>default
54<list style="hanging">
55  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
56  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
57  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
58  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
59  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
60  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
61</list></t>
62<?rfc compact="yes"?>
63<t>compact="yes"
64<list style="hanging">
65  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
66  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
67  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
68  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
69  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
70  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
71</list></t>
72<?rfc compact="yes" subcompact="yes"?>
73<t>compact="yes" subcompact="yes"
74<list style="hanging">
75  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
76  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
77  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
78  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
79  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
80  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
81</list></t>
82<?rfc compact="yes" subcompact="no"?>
83<t>compact="yes" subcompact="no"
84<list style="hanging">
85  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
86  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
87  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
88  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
89  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
90  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
91</list></t>
92<?rfc compact="no" subcompact="yes"?>
93<t>compact="no" subcompact="yes"
94<list style="hanging">
95  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
96  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
97  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
98  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
99  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
100  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
101</list></t>
102<?rfc compact="no" subcompact="no"?>
103<t>compact="no" subcompact="no"
104<list style="hanging">
105  <t hangText="A:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
106  <t hangText="AB:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
107  <t hangText="ABC:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
108  <t hangText="ABCD:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
109  <t hangText="ABCDE:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
110  <t hangText="ABCDEF:">The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</t>
111</list></t>
112<?rfc compact="no" subcompact="no"?>
113<t>compact="no" subcompact="yes", empty entries
114<list style="hanging">
115  <t hangText="A:"/>
116  <t hangText="AB:"/>
117  <t hangText="ABC:"/>
118  <t hangText="ABCD:"/>
119  <t hangText="ABCDE:"/>
120</list>
121</t>
122</section>
123
124<section title="hanging list with hangIndent 7">
125<t><list style="hanging" hangIndent="7">
126  <t hangText="0">0</t>
127  <t hangText="01">01</t>
128  <t hangText="012">012</t>
129  <t hangText="0123">0123</t>
130  <t hangText="01234">01234</t>
131  <t hangText="012345">012345</t>
132  <t hangText="0123456">0123456</t>
133  <t hangText="01234567">01234567</t>
134  <t hangText="012345678">012345678</t>
135  <t hangText="0123456789">0123456789</t>
136</list></t></section>
137
138<section title="hanging list with hangIndent 0">
139<t><list style="hanging" hangIndent="0">
140  <t hangText="0">0</t>
141  <t hangText="01">01</t>
142  <t hangText="012">012</t>
143  <t hangText="0123">0123</t>
144  <t hangText="01234">01234</t>
145  <t hangText="012345">012345</t>
146  <t hangText="0123456">0123456</t>
147  <t hangText="01234567">01234567</t>
148  <t hangText="012345678">012345678</t>
149  <t hangText="0123456789">0123456789</t>
150</list></t></section>
151</section>
152
153<!--<section title="dictionary lists">
154<section title="default">
155<t><list style="x:dictionary">
156  <t hangText="Name:">timeout</t>
157  <t hangText="Namespace:">DAV:</t>
158  <t hangText="Purpose:">The timeout associated with a lock</t>
159  <t hangText="Value:">TimeType ;Defined in section 9.8</t>
160</list></t></section>
161
162<section title="dictionary list with hangIndent 7">
163<t><list style="x:dictionary" hangIndent="7">
164  <t hangText="0">0</t>
165  <t hangText="01">01</t>
166  <t hangText="012">012</t>
167  <t hangText="0123">0123</t>
168  <t hangText="01234">01234</t>
169  <t hangText="012345">012345</t>
170  <t hangText="0123456">0123456</t>
171  <t hangText="01234567">01234567</t>
172  <t hangText="012345678">012345678</t>
173  <t hangText="0123456789">0123456789</t>
174</list></t></section>
175
176<section title="dictionary list with hangIndent 0">
177<t><list style="x:dictionary" hangIndent="0">
178  <t hangText="0">0</t>
179  <t hangText="01">01</t>
180  <t hangText="012">012</t>
181  <t hangText="0123">0123</t>
182  <t hangText="01234">01234</t>
183  <t hangText="012345">012345</t>
184  <t hangText="0123456">0123456</t>
185  <t hangText="01234567">01234567</t>
186  <t hangText="012345678">012345678</t>
187  <t hangText="0123456789">0123456789</t>
188</list></t></section>
189</section>-->
190
191
192<section title="numbered list" anchor="ordered.list.numbers">
193<t>
194A numbered list:
195<list style="numbers">
196  <t>one</t>
197  <t>two</t>
198  <t anchor="ordered.list.numbers.last">three</t>
199</list>
200</t>
201</section>
202
203<section title="ordered list (letters)" anchor="ordered.list.letters">
204<t>
205An ordered list using letters:
206<list style="letters">
207  <t>one</t>
208  <t>two</t>
209  <t>three</t>
210  <t>one</t>
211  <t>two</t>
212  <t>three</t>
213  <t>one</t>
214  <t>two</t>
215  <t>three</t>
216  <t>one</t>
217  <t>two</t>
218  <t>three</t>
219  <t>one</t>
220  <t>two</t>
221  <t>three</t>
222  <t>one</t>
223  <t>two</t>
224  <t>three</t>
225  <t>one</t>
226  <t>two</t>
227  <t>three</t>
228  <t>one</t>
229  <t>two</t>
230  <t>three</t>
231  <t>one</t>
232  <t>two</t>
233  <t>three</t>
234  <t>one</t>
235  <t>two</t>
236  <t anchor="ordered.list.letters.last">three</t>
237</list>
238</t>
239</section>
240
241<section title="no explicit counters">
242<t>
243  Example for numbered list with user-defined-format:
244  <list style="format R%d:">
245    <t>R1</t>
246    <t>R2</t>
247  </list>
248</t>
249<t>
250  Another list:
251  <list style="format S%d:">
252    <t>S1</t>
253    <t>S2</t>
254  </list>
255</t>
256<t>
257  Next list should continue counting R's:
258  <list style="format R%d:">
259    <t>R3</t>
260    <t>R4</t>
261  </list>
262</t>
263<t>
264  Same with character-based numbering:
265  <list style="format c-%c:">
266    <t>c-a</t>
267    <t>c-b</t>
268  </list>
269</t>
270</section>
271
272<section title="with explicit counters">
273<t>
274  A few requirements:
275  <list style="format R%d:" counter="requirements">
276    <t>req R1</t>
277    <t>req R2</t>
278  </list>
279</t>
280<t>
281  More requirements:
282  <list style="format R%d:" counter="requirements">
283    <t>req R3</t>
284    <t>req R4</t>
285  </list>
286</t>
287<t>
288  A few rules:
289  <list style="format R%d:" counter="rules">
290    <t>rule R1</t>
291    <t>rule R2</t>
292    <t>rule R3</t>
293  </list> 
294</t>
295<t>
296  Explicit counter with name matching it's format string:
297  <list style="format c-%c:" counter="c-%c:">
298    <t>c-c</t>
299    <t>c-d</t>
300  </list>
301</t>
302<t>
303  Same, without counter:
304  <list style="format c-%c:">
305    <t>c-e</t>
306    <t>c-f</t>
307  </list>
308 </t>
309</section>
310
311<section title="Nested lists">
312<section title="numbers/letters">
313  <t>
314    <list style="numbers">
315      <t>One</t>
316      <t>Two
317        <list style="letters">
318          <t>17</t>
319          <t>42</t>
320        </list>
321      </t>
322      <t>Three</t>
323    </list>
324  </t>
325</section>
326<section title="numbers/numbers">
327  <t>
328    <list style="numbers">
329      <t>One</t>
330      <t>Two
331        <list style="numbers">
332          <t>17</t>
333          <t>42</t>
334        </list>
335      </t>
336      <t>Three</t>
337      <t>
338        <list style="numbers">
339          <t>17</t>
340          <t>42</t>
341        </list>
342      </t>
343    </list>
344  </t>
345</section>
346<section title="letters/letters">
347  <t>
348    <list style="letters">
349      <t>One</t>
350      <t>Two
351        <list style="letters">
352          <t>17</t>
353          <t>42</t>
354        </list>
355      </t>
356      <t>Three</t>
357    </list>
358  </t>
359</section>
360<section title="letters/letters/letters">
361  <t>
362    <list style="letters">
363      <t>One</t>
364      <t>Two
365        <list style="letters">
366          <t>17</t>
367          <t>42
368            <list style="letters">
369              <t>X</t>
370              <t>Y</t>
371            </list>
372          </t>
373        </list>
374      </t>
375      <t>Three</t>
376    </list>
377  </t>
378</section>
379<section title="symbols/symbols/symbols">
380  <t>
381    <list style="symbols">
382      <t>One</t>
383      <t>Two
384        <list style="symbols">
385          <t>17</t>
386          <t>42
387            <list style="symbols">
388              <t>X</t>
389              <t>Y</t>
390            </list>
391          </t>
392        </list>
393      </t>
394      <t>Three</t>
395    </list>
396  </t>
397</section>
398<section title="hanging/hanging">
399  <t>
400    <list style="hanging">
401      <t hangText="ABC">One
402        <list style="hanging">
403          <t hangText="GHI">One</t>
404          <t hangText="JKL">Two</t>
405        </list>
406      </t>
407      <t hangText="DEF">
408        <list style="hanging">
409          <t hangText="MNO">Three</t>
410          <t hangText="PQR">Four</t>
411        </list>
412      </t>
413    </list>
414  </t>
415</section>
416</section>
417
418<section title="list without style">
419<t>No style attribute:<list>
420  <t>One</t>
421  <t>Two</t>
422  <t>Three</t>
423</list></t>
424</section>
425
426<section title="list with multiple paragraphs in a single list item">
427<t><list style="numbers">
428  <x:lt><t>Simple list item.</t></x:lt>
429  <x:lt>
430    <t>This one has two paragraphs. This is the first one.</t>
431    <t>This one has two paragraphs. This is the second one.</t>
432  </x:lt>
433  <x:lt><t>Another simple list item.</t></x:lt>
434</list></t></section>
435
436<section title="style=format...">
437<section title="lists with fancy formats: %c">
438<t><list style="format %c">
439  <t>test</t>
440</list></t></section>
441
442<section title="lists with fancy formats: %C">
443<t><list style="format %C">
444  <t>test</t>
445</list></t></section>
446
447<section title="lists with fancy formats: %d">
448<t><list style="format %d">
449  <t>test</t>
450</list></t></section>
451
452<section title="lists with fancy formats: %i">
453<t><list style="format %i">
454  <t>test</t>
455</list></t></section>
456
457<section title="lists with fancy formats: %I">
458<t><list style="format %I">
459  <t>test</t>
460</list></t></section>
461
462<section title="lists with fancy formats: %o">
463<t><list style="format %o">
464  <t>test</t>
465</list></t></section>
466
467<section title="lists with fancy formats: %x">
468<t><list style="format %x">
469  <t>test</t>
470</list></t></section>
471
472<section title="lists with fancy formats: %X">
473<t><list style="format %X">
474  <t>test</t>
475</list></t></section>
476
477<section title="lists with fancy formats: %% %d">
478<t><list style="format %% %d">
479  <t>test</t>
480</list></t></section>
481
482<section title="lists with fancy formats: REQUIREMENT-%i plus hangIndent=20">
483<t><list style="format REQUIREMENT-%i" hangIndent="20">
484  <t>test</t>
485  <t>test</t>
486  <t>test</t>
487  <t>test</t>
488  <t>test</t>
489  <t>test</t>
490  <t>test</t>
491  <t>test</t>
492  <t>test</t>
493  <t>test</t>
494  <t>test</t>
495</list></t></section>
496</section>
497
498<section title="style inheritance">
499<t>Numbers:<list style="numbers">
500  <t>test</t>
501  <t>test</t>
502  <t>test</t>
503  <t>Nested, without style:<list>
504    <t>test</t>
505    <t>test</t>
506    <t>test</t>
507  </list>
508  </t>
509</list></t>
510<t>Symbols:<list style="symbols">
511  <t>test</t>
512  <t>test</t>
513  <t>test</t>
514  <t>Nested, without style:<list>
515    <t>test</t>
516    <t>test</t>
517    <t>test</t>
518  </list>
519  </t>
520</list></t>
521<t>Letters:<list style="letters">
522  <t>test</t>
523  <t>test</t>
524  <t>test</t>
525  <t>Nested, without style:<list>
526    <t>test</t>
527    <t>test</t>
528    <t>test</t>
529  </list>
530  </t>
531</list></t>
532<t>Empty:<list style="empty">
533  <t>test</t>
534  <t>test</t>
535  <t>test</t>
536  <t>Nested, without style:<list>
537    <t>test</t>
538    <t>test</t>
539    <t>test</t>
540  </list>
541  </t>
542</list></t>
543</section>
544
545</section>
546
547
548
549<section title="spanx">
550<t>
551This is <spanx>default</spanx>.
552</t>
553<t>
554This is <spanx style="emph">emph(asized)</spanx>.
555</t>
556<t>
557This is <spanx style="strong">strong</spanx>.
558</t>
559<t>
560This is <spanx style="verb">verb(atim)</spanx>.
561</t>
562<t>
563Here is <spanx style="verb">a carriage return
564inside</spanx> a spanx element.
565</t>
566</section>
567
568<section title="Tables">
569<texttable>
570<preamble>The list of valid keywords are:</preamble>
571<ttcol width="20%" align="right">keyword</ttcol>
572<ttcol width="20%" align="center">default</ttcol>
573<ttcol align="left">meaning</ttcol>
574<ttcol>not aligned</ttcol>
575
576<c>strict</c>
577<c>no</c>
578<c>try to enforce the ID-nits conventions and DTD validity</c>
579<c>a</c>
580
581<c>iprnotified</c>
582<c>no</c>
583<c>include boilerplate from Section 10.4(d) of <xref target="RFC2026"/></c>
584<c>bb bb</c>
585
586<c>compact</c>
587<c>no</c>
588<c>when producing a txt/nroff file, try to conserve vertical whitespace</c>
589<c>ccc ccc ccc</c>
590   
591<c>subcompact</c>
592<c>compact</c>
593<c>if compact is "yes", then setting this to "no" will make things a little less
594compact</c>
595<c>dddd dddd dddd dddd</c>
596   
597<!--
598    ...                                                          ...
599   
600  -->
601   
602<c>needLines</c>
603<c>n/a</c>
604<c>an integer hint indicating how many contiguous lines are needed at this point
605in the output</c>
606<c>eeeee eeeee eeeee eeeee eeeee </c>
607
608<c>here come empty cells</c>
609<c></c>
610<c/>
611<c/>
612
613<postamble>Remember,
614that as with everything else in XML,
615keywords and values are case-sensitive.</postamble>
616</texttable>
617
618<section title="no borders">
619<texttable style="none" anchor="tablenoborder" title="a table with no borders">
620<preamble>The table below should appear with no borders.</preamble>
621<ttcol>C1</ttcol>
622<ttcol>C2</ttcol>
623<c>11</c>
624<c>12</c>
625<c>21</c>
626<c>22</c>
627</texttable>
628</section>
629
630<section title="borders around headers">
631<texttable style="headers">
632<preamble>The table below should appear with borders just around the headers.</preamble>
633<ttcol>C1</ttcol>
634<ttcol>C2</ttcol>
635<c>11</c>
636<c>12</c>
637<c>21</c>
638<c>22</c>
639</texttable>
640</section>
641
642<section title="example from xml2rc README">
643       <texttable anchor='table_example'>
644           <preamble>So,
645           putting it all together, we have, e.g.,</preamble>
646           <ttcol align='center'>ttcol #1</ttcol>
647           <ttcol align='center'>ttcol #2</ttcol>
648           <c>c #1</c>
649           <c>c #2</c>
650           <c>c #3</c>
651           <c>c #4</c>
652           <c>c #5</c>
653           <c>c #6</c>
654           <postamble>which is a very simple example.</postamble>
655       </texttable>
656</section>
657
658<section title="no column titles">
659<texttable anchor="tablenotitles" title="a table with no column titles">
660<preamble>The table below should appear with no titles.</preamble>
661<ttcol></ttcol>
662<ttcol></ttcol>
663<c>11</c>
664<c>12</c>
665<c>21</c>
666<c>22</c>
667</texttable>
668<texttable anchor="tableonetitle" title="a table with a single column title">
669<preamble>The table below should appear with column titles (one being non-empty).</preamble>
670<ttcol>FOO</ttcol>
671<ttcol></ttcol>
672<c>11</c>
673<c>12</c>
674<c>21</c>
675<c>22</c>
676</texttable>
677</section>
678
679<section title="referencing tables">
680  <t>
681    <xref target="tablenoborder"/> shows a table with no borders.
682  </t>
683  <t>
684    <xref target="tablenoborder">The table above</xref> shows a table with no borders.
685  </t>
686</section>
687
688<section title="table captions">
689<texttable>
690<preamble>No anchor, no title</preamble>
691<ttcol>Anchor</ttcol>
692<ttcol>Title</ttcol>
693<c>-</c>
694<c>-</c>
695</texttable>
696
697<texttable anchor="texttable1">
698<preamble>Anchor (not being referenced), no title</preamble>
699<ttcol>Anchor</ttcol>
700<ttcol>Title</ttcol>
701<c>yes</c>
702<c>-</c>
703</texttable>
704
705<texttable title="title">
706<preamble>No anchor, with title</preamble>
707<ttcol>Anchor</ttcol>
708<ttcol>Title</ttcol>
709<c>-</c>
710<c>"title"</c>
711</texttable>
712
713<texttable anchor="texttable2" title="title">
714<preamble>Both anchor and title</preamble>
715<ttcol>Anchor</ttcol>
716<ttcol>Title</ttcol>
717<c>yes</c>
718<c>"title"</c>
719</texttable>
720
721<texttable anchor="texttable3" suppress-title="true">
722<preamble>anchor, suppress-title, and in use</preamble>
723<ttcol>Anchor</ttcol>
724<ttcol>Title</ttcol>
725<c>yes</c>
726<c>-</c>
727</texttable>
728<t>
729  Table above is: <xref target="texttable3"/>.
730</t>
731
732</section>
733
734
735<section title="single column">
736<texttable>
737<ttcol>title</ttcol>
738<c>1</c>
739<c>2</c>
740</texttable>
741</section>
742
743<section title="empty body">
744<texttable>
745<ttcol>title</ttcol>
746</texttable>
747</section>
748
749<section title="table alignment">
750<texttable align="left">
751<ttcol>left</ttcol>
752<c>1</c>
753</texttable>
754<texttable align="center">
755<ttcol>center</ttcol>
756<c>1</c>
757</texttable>
758<texttable align="right">
759<ttcol>right</ttcol>
760<c>1</c>
761</texttable>
762<texttable>
763<ttcol>default</ttcol>
764<c>1</c>
765</texttable>
766</section>
767
768</section>
769
770
771<section title="Figures">
772<section title="with preamble, no title...">
773<figure>
774  <preamble>with preamble, no title...</preamble>
775  <artwork>
776  +--+
777  |  |
778  +--+
779</artwork>
780</figure>
781</section>
782
783<section title="with postamble and title...">
784<figure title="another figure" anchor="testfig">
785  <artwork>
786  +--+
787  |  |
788  +--+
789</artwork>
790<postamble>with postamble and title...</postamble>
791</figure>
792<t>
793  The figure above has the title "<xref target="testfig" format="title" />".
794</t>
795</section>
796
797<section title="Whitespace handling">
798<t>
799  Para...
800</t> 
801<figure>
802  <preamble>Leading whitespace</preamble>
803  <artwork>
804test test (leading ws)</artwork>
805</figure>
806<t>
807  Para...
808</t> 
809<figure>
810  <preamble>Trailing whitespace</preamble>
811  <artwork>test test (trailing ws)
812   </artwork>
813</figure>
814<t>
815  Para...
816</t> 
817<figure>
818  <preamble>No whitespace</preamble>
819  <artwork>test test (no ws)</artwork>
820</figure>
821<t>
822  Para...
823</t> 
824</section>
825
826<!-- as proposed by Bill F -->
827<section title="Whitespace around figures">
828<t>spacing paragraph</t>
829<figure><artwork>ART</artwork></figure>
830<t>spacing paragraph</t>
831<figure><preamble>preamble, then</preamble><artwork>ART</artwork></figure>
832<t>spacing paragraph</t>
833<figure><artwork>ART</artwork><postamble>then postamble</postamble></figure>
834<t>spacing paragraph</t>
835</section>
836
837<section title="data URIs">
838<section title="data URI as source (both @alt and text content)" anchor="artwork.src.data.uri.alt.text">
839<figure>
840  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
841  type="image/gif" alt="Portrait of Larry Masinter (contents of alt attribute)">
842    Portrait of Larry Masinter (text content of &lt;artwork&gt; element)
843  </artwork>
844</figure>
845</section>
846
847<section title="data URI as source (only text content, no @alt)" anchor="artwork.src.data.uri.text">
848<figure>
849  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
850  type="image/gif">
851    Portrait of Larry Masinter (text content of &lt;artwork&gt; element)
852  </artwork>
853</figure>
854</section>
855
856<section title="data URI as source (only @alt attribute)" anchor="artwork.src.data.uri.alt">
857<figure>
858  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
859  type="image/gif" alt="Portrait of Larry Masinter (contents of alt attribute)"/>
860</figure>
861</section>
862</section>
863
864<section title="alignment">
865
866<section title="left" anchor="artwork.align.left">
867<figure>
868  <preamble>preamble</preamble>
869  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
870  type="image/gif" align="left"/>
871  <postamble>postamble</postamble>
872</figure>
873<figure>
874  <preamble>preamble</preamble>
875  <artwork align="left">FOO</artwork>
876  <postamble>postamble</postamble>
877</figure>
878</section>
879
880<section title="right" anchor="artwork.align.right">
881<figure>
882  <preamble>preamble</preamble>
883  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
884  type="image/gif" align="right"/>
885  <postamble>postamble</postamble>
886</figure>
887<figure>
888  <preamble>preamble</preamble>
889  <artwork align="right">FOO</artwork>
890  <postamble>postamble</postamble>
891</figure>
892</section>
893
894<section title="center" anchor="artwork.align.center">
895<figure>
896  <preamble>preamble</preamble>
897  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
898  type="image/gif" align="center"/>
899  <postamble>postamble</postamble>
900</figure>
901<figure>
902  <preamble>preamble</preamble>
903  <artwork align="center">FOO</artwork>
904  <postamble>postamble</postamble>
905</figure>
906</section>
907
908<section title="default" anchor="artwork.align.default">
909<figure>
910  <preamble>preamble</preamble>
911  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
912  type="image/gif"/>
913  <postamble>postamble</postamble>
914</figure>
915<figure>
916  <preamble>preamble</preamble>
917  <artwork>FOO</artwork>
918  <postamble>postamble</postamble>
919</figure>
920</section>
921</section>
922
923<section title="artwork width/height">
924
925<section title="width50%">
926<figure>
927  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
928  type="image/gif" width="50%"/>
929</figure>
930</section>
931
932<section title="width50">
933<figure>
934  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
935  type="image/gif" width="50"/>
936</figure>
937</section>
938
939<section title="height50">
940<figure>
941  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
942  type="image/gif" height="50"/>
943</figure>
944</section>
945
946<section title="height30width60">
947<figure>
948  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
949  type="image/gif" height="30" width="60"/>
950</figure>
951</section>
952
953</section>
954
955<section title="figure/artwork attribute overlap" anchor="figure.artwork.attribute.overlap">
956<section title="src overlap">
957<t>
958  Both figure and artwork having @src:
959</t>
960<figure src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%3E%0A%20%20%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2225%22%20stroke%3D%22black%22%20stroke-width%3D%221%22%20fill%3D%22green%22%2F%3E%0A%3C%2Fsvg%3E%0A">
961  <preamble>Preamble...</preamble>
962  <artwork src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
963  type="image/gif"/>
964</figure>
965</section>
966<section title="align overlap">
967<t>
968  figure/align=right, artwork/@align=center:
969</t>
970<figure align="right" title="title">
971  <preamble>Preamble...</preamble>
972  <artwork align="center">
973TEST
974  </artwork>
975  <postamble>Postamble...</postamble>
976</figure>
977</section>
978<section title="align inheritance">
979<t>
980  figure/align=right, artwork/@align not specified:
981</t>
982<figure align="right" title="title">
983  <preamble>Preamble...</preamble>
984  <artwork>
985TEST
986  </artwork>
987  <postamble>Postamble...</postamble>
988</figure>
989</section>
990</section>
991
992<section title="titles/numbering" anchor="titles.numbering">
993
994<section title="just anchor" anchor="titles.numbering.just.anchor">
995<figure anchor="just.anchor">
996  <artwork>FOO</artwork>
997</figure>
998</section>
999
1000<section title="just anchor (with suppress)" anchor="titles.numbering.just.anchor.with.suppress">
1001<figure anchor="just.anchor.with.suppress" suppress-title="true">
1002  <artwork>FOO</artwork>
1003</figure>
1004<t>
1005  Above is <xref target="just.anchor.with.suppress"/>.
1006</t>
1007</section>
1008
1009<section title="just title" anchor="titles.numbering.just.title">
1010<figure title="figure title">
1011  <artwork>FOO</artwork>
1012</figure>
1013</section>
1014
1015<section title="just title (with suppress)" anchor="titles.numbering.just.title.with.suppress">
1016<figure title="figure title" suppress-title="true">
1017  <artwork>FOO</artwork>
1018</figure>
1019</section>
1020
1021</section>
1022
1023<section title="SVG">
1024<t>
1025  Inclusion of SVG:
1026</t>
1027<figure><artwork src="testcase.svg" type="image/svg+xml">
1028  Fallback content for UAs that do not support SVG.
1029</artwork></figure>
1030</section>
1031
1032<section title="Code Components" anchor="code.components">
1033<t>
1034  Marking up Code Components according to the
1035  <eref target="http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf">Legal Provisions Relating to IETF Documents</eref>:
1036</t>
1037<figure><artwork type="code" x:is-code-component="yes" x:lang="">
1038int main(int argc, char **argv) {
1039  return -1;
1040}
1041</artwork></figure>
1042</section>
1043
1044</section>
1045
1046<section title="xrefs" anchor="xrefs">
1047<t>
1048  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.
1049  <spanx>These tests were contributed by Erik Wilde.</spanx>
1050</t>
1051<section title="Tests for section-anchor" anchor="section-anchor-tests">
1052  <t>&lt;xref target="section-anchor"/&gt;: <xref target="section-anchor"/>
1053  </t>
1054  <t>&lt;xref target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="section-anchor">TEXT-CONTENT</xref>
1055  </t>
1056  <t>&lt;xref format="counter" target="section-anchor"/&gt;: <xref format="counter" target="section-anchor"/>
1057  </t>
1058  <t>&lt;xref format="counter" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="section-anchor">TEXT-CONTENT</xref>
1059  </t>
1060  <t>&lt;xref format="title" target="section-anchor"/&gt;: <xref format="title" target="section-anchor"/>
1061  </t>
1062  <t>&lt;xref format="title" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="section-anchor">TEXT-CONTENT</xref>
1063  </t>
1064  <t>&lt;xref format="none" target="section-anchor"/&gt;: <xref format="none" target="section-anchor"/>
1065  </t>
1066  <t>&lt;xref format="none" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="section-anchor">TEXT-CONTENT</xref>
1067  </t>
1068  <t>&lt;xref format="default" target="section-anchor"/&gt;: <xref format="default" target="section-anchor"/>
1069  </t>
1070  <t>&lt;xref format="default" target="section-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="section-anchor">TEXT-CONTENT</xref>
1071  </t>
1072</section>
1073<section title="Tests for t-anchor" anchor="t-anchor-tests">
1074  <t>&lt;xref target="t-anchor"/&gt;: <xref target="t-anchor"/>
1075  </t>
1076  <t>&lt;xref target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="t-anchor">TEXT-CONTENT</xref>
1077  </t>
1078  <t>&lt;xref format="counter" target="t-anchor"/&gt;: <xref format="counter" target="t-anchor"/>
1079  </t>
1080  <t>&lt;xref format="counter" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="t-anchor">TEXT-CONTENT</xref>
1081  </t>
1082  <t>&lt;xref format="title" target="t-anchor"/&gt;: <xref format="title" target="t-anchor"/>
1083  </t>
1084  <t>&lt;xref format="title" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="t-anchor">TEXT-CONTENT</xref>
1085  </t>
1086  <t>&lt;xref format="none" target="t-anchor"/&gt;: <xref format="none" target="t-anchor"/>
1087  </t>
1088  <t>&lt;xref format="none" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="t-anchor">TEXT-CONTENT</xref>
1089  </t>
1090  <t>&lt;xref format="default" target="t-anchor"/&gt;: <xref format="default" target="t-anchor"/>
1091  </t>
1092  <t>&lt;xref format="default" target="t-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="t-anchor">TEXT-CONTENT</xref>
1093  </t>
1094</section>
1095<section title="Tests for list-t-anchor-empty" anchor="list-t-anchor-empty-tests">
1096  <t>&lt;xref target="list-t-anchor-empty"/&gt;: <xref target="list-t-anchor-empty"/>
1097  </t>
1098  <t>&lt;xref target="list-t-anchor-empty"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-empty">TEXT-CONTENT</xref>
1099  </t>
1100  <t>&lt;xref format="counter" target="list-t-anchor-empty"/&gt;: <xref format="counter" target="list-t-anchor-empty"/>
1101  </t>
1102  <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>
1103  </t>
1104  <t>&lt;xref format="title" target="list-t-anchor-empty"/&gt;: <xref format="title" target="list-t-anchor-empty"/>
1105  </t>
1106  <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>
1107  </t>
1108  <t>&lt;xref format="none" target="list-t-anchor-empty"/&gt;: <xref format="none" target="list-t-anchor-empty"/>
1109  </t>
1110  <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>
1111  </t>
1112  <t>&lt;xref format="default" target="list-t-anchor-empty"/&gt;: <xref format="default" target="list-t-anchor-empty"/>
1113  </t>
1114  <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>
1115  </t>
1116</section>
1117<section title="Tests for list-t-anchor-numbers" anchor="list-t-anchor-numbers-tests">
1118  <t>&lt;xref target="list-t-anchor-numbers"/&gt;: <xref target="list-t-anchor-numbers"/>
1119  </t>
1120  <t>&lt;xref target="list-t-anchor-numbers"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-numbers">TEXT-CONTENT</xref>
1121  </t>
1122  <t>&lt;xref format="counter" target="list-t-anchor-numbers"/&gt;: <xref format="counter" target="list-t-anchor-numbers"/>
1123  </t>
1124  <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>
1125  </t>
1126  <t>&lt;xref format="title" target="list-t-anchor-numbers"/&gt;: <xref format="title" target="list-t-anchor-numbers"/>
1127  </t>
1128  <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>
1129  </t>
1130  <t>&lt;xref format="none" target="list-t-anchor-numbers"/&gt;: <xref format="none" target="list-t-anchor-numbers"/>
1131  </t>
1132  <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>
1133  </t>
1134  <t>&lt;xref format="default" target="list-t-anchor-numbers"/&gt;: <xref format="default" target="list-t-anchor-numbers"/>
1135  </t>
1136  <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>
1137  </t>
1138</section>
1139<section title="Tests for list-t-anchor-letters" anchor="list-t-anchor-letters-tests">
1140  <t>&lt;xref target="list-t-anchor-letters"/&gt;: <xref target="list-t-anchor-letters"/>
1141  </t>
1142  <t>&lt;xref target="list-t-anchor-letters"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-letters">TEXT-CONTENT</xref>
1143  </t>
1144  <t>&lt;xref format="counter" target="list-t-anchor-letters"/&gt;: <xref format="counter" target="list-t-anchor-letters"/>
1145  </t>
1146  <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>
1147  </t>
1148  <t>&lt;xref format="title" target="list-t-anchor-letters"/&gt;: <xref format="title" target="list-t-anchor-letters"/>
1149  </t>
1150  <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>
1151  </t>
1152  <t>&lt;xref format="none" target="list-t-anchor-letters"/&gt;: <xref format="none" target="list-t-anchor-letters"/>
1153  </t>
1154  <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>
1155  </t>
1156  <t>&lt;xref format="default" target="list-t-anchor-letters"/&gt;: <xref format="default" target="list-t-anchor-letters"/>
1157  </t>
1158  <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>
1159  </t>
1160</section>
1161<section title="Tests for list-t-anchor-hanging" anchor="list-t-anchor-hanging-tests">
1162  <t>&lt;xref target="list-t-anchor-hanging"/&gt;: <xref target="list-t-anchor-hanging"/>
1163  </t>
1164  <t>&lt;xref target="list-t-anchor-hanging"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="list-t-anchor-hanging">TEXT-CONTENT</xref>
1165  </t>
1166  <t>&lt;xref format="counter" target="list-t-anchor-hanging"/&gt;: <xref format="counter" target="list-t-anchor-hanging"/>
1167  </t>
1168  <t>&lt;xref format="counter" target="list-t-anchor-hanging"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="list-t-anchor-hanging">TEXT-CONTENT</xref>
1169  </t>
1170  <t>&lt;xref format="title" target="list-t-anchor-hanging"/&gt;: <xref format="title" target="list-t-anchor-hanging"/>
1171  </t>
1172  <t>&lt;xref format="title" target="list-t-anchor-hanging"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="list-t-anchor-hanging">TEXT-CONTENT</xref>
1173  </t>
1174  <t>&lt;xref format="none" target="list-t-anchor-hanging"/&gt;: <xref format="none" target="list-t-anchor-hanging"/>
1175  </t>
1176  <t>&lt;xref format="none" target="list-t-anchor-hanging"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="list-t-anchor-hanging">TEXT-CONTENT</xref>
1177  </t>
1178  <t>&lt;xref format="default" target="list-t-anchor-hanging"/&gt;: <xref format="default" target="list-t-anchor-hanging"/>
1179  </t>
1180  <t>&lt;xref format="default" target="list-t-anchor-hanging"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="list-t-anchor-hanging">TEXT-CONTENT</xref>
1181  </t>
1182</section>
1183<section title="Tests for texttable-anchor" anchor="texttable-anchor-tests">
1184  <t>&lt;xref target="texttable-anchor"/&gt;: <xref target="texttable-anchor"/>
1185  </t>
1186  <t>&lt;xref target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="texttable-anchor">TEXT-CONTENT</xref>
1187  </t>
1188  <t>&lt;xref format="counter" target="texttable-anchor"/&gt;: <xref format="counter" target="texttable-anchor"/>
1189  </t>
1190  <t>&lt;xref format="counter" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="texttable-anchor">TEXT-CONTENT</xref>
1191  </t>
1192  <t>&lt;xref format="title" target="texttable-anchor"/&gt;: <xref format="title" target="texttable-anchor"/>
1193  </t>
1194  <t>&lt;xref format="title" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="texttable-anchor">TEXT-CONTENT</xref>
1195  </t>
1196  <t>&lt;xref format="none" target="texttable-anchor"/&gt;: <xref format="none" target="texttable-anchor"/>
1197  </t>
1198  <t>&lt;xref format="none" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="texttable-anchor">TEXT-CONTENT</xref>
1199  </t>
1200  <t>&lt;xref format="default" target="texttable-anchor"/&gt;: <xref format="default" target="texttable-anchor"/>
1201  </t>
1202  <t>&lt;xref format="default" target="texttable-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="texttable-anchor">TEXT-CONTENT</xref>
1203  </t>
1204</section>
1205<section title="Tests for figure-anchor" anchor="figure-anchor-tests">
1206  <t>&lt;xref target="figure-anchor"/&gt;: <xref target="figure-anchor"/>
1207  </t>
1208  <t>&lt;xref target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="figure-anchor">TEXT-CONTENT</xref>
1209  </t>
1210  <t>&lt;xref format="counter" target="figure-anchor"/&gt;: <xref format="counter" target="figure-anchor"/>
1211  </t>
1212  <t>&lt;xref format="counter" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="figure-anchor">TEXT-CONTENT</xref>
1213  </t>
1214  <t>&lt;xref format="title" target="figure-anchor"/&gt;: <xref format="title" target="figure-anchor"/>
1215  </t>
1216  <t>&lt;xref format="title" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="figure-anchor">TEXT-CONTENT</xref>
1217  </t>
1218  <t>&lt;xref format="none" target="figure-anchor"/&gt;: <xref format="none" target="figure-anchor"/>
1219  </t>
1220  <t>&lt;xref format="none" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="figure-anchor">TEXT-CONTENT</xref>
1221  </t>
1222  <t>&lt;xref format="default" target="figure-anchor"/&gt;: <xref format="default" target="figure-anchor"/>
1223  </t>
1224  <t>&lt;xref format="default" target="figure-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="figure-anchor">TEXT-CONTENT</xref>
1225  </t>
1226</section>
1227<section title="Tests for reference-anchor" anchor="reference-anchor-tests">
1228  <t>&lt;xref target="reference-anchor"/&gt;: <xref target="reference-anchor"/>
1229  </t>
1230  <t>&lt;xref target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="reference-anchor">TEXT-CONTENT</xref>
1231  </t>
1232  <t>&lt;xref format="counter" target="reference-anchor"/&gt;: <xref format="counter" target="reference-anchor"/>
1233  </t>
1234  <t>&lt;xref format="counter" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="reference-anchor">TEXT-CONTENT</xref>
1235  </t>
1236  <t>&lt;xref format="title" target="reference-anchor"/&gt;: <xref format="title" target="reference-anchor"/>
1237  </t>
1238  <t>&lt;xref format="title" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="reference-anchor">TEXT-CONTENT</xref>
1239  </t>
1240  <t>&lt;xref format="none" target="reference-anchor"/&gt;: <xref format="none" target="reference-anchor"/>
1241  </t>
1242  <t>&lt;xref format="none" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="reference-anchor">TEXT-CONTENT</xref>
1243  </t>
1244  <t>&lt;xref format="default" target="reference-anchor"/&gt;: <xref format="default" target="reference-anchor"/>
1245  </t>
1246  <t>&lt;xref format="default" target="reference-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="reference-anchor">TEXT-CONTENT</xref>
1247  </t>
1248</section>
1249<section title="Tests for cref-anchor" anchor="cref-anchor-tests">
1250  <t>&lt;xref target="cref-anchor"/&gt;: <xref target="cref-anchor"/>
1251  </t>
1252  <t>&lt;xref target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref target="cref-anchor">TEXT-CONTENT</xref>
1253  </t>
1254  <t>&lt;xref format="counter" target="cref-anchor"/&gt;: <xref format="counter" target="cref-anchor"/>
1255  </t>
1256  <t>&lt;xref format="counter" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="counter" target="cref-anchor">TEXT-CONTENT</xref>
1257  </t>
1258  <t>&lt;xref format="title" target="cref-anchor"/&gt;: <xref format="title" target="cref-anchor"/>
1259  </t>
1260  <t>&lt;xref format="title" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="title" target="cref-anchor">TEXT-CONTENT</xref>
1261  </t>
1262  <t>&lt;xref format="none" target="cref-anchor"/&gt;: <xref format="none" target="cref-anchor"/>
1263  </t>
1264  <t>&lt;xref format="none" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="none" target="cref-anchor">TEXT-CONTENT</xref>
1265  </t>
1266  <t>&lt;xref format="default" target="cref-anchor"/&gt;: <xref format="default" target="cref-anchor"/>
1267  </t>
1268  <t>&lt;xref format="default" target="cref-anchor"&gt;TEXT-CONTENT&lt;/xref&gt;: <xref format="default" target="cref-anchor">TEXT-CONTENT</xref>
1269  </t>
1270</section>
1271<section title="Test Targets" anchor="section-anchor">
1272   <t>This section contains a couple of markup constructs carrying anchors (this is paragraph 1).</t>
1273   <t anchor="t-anchor">Some regular paragraph text... (this is paragraph 2)</t>
1274   <t>
1275      <list>
1276         <t anchor="list-t-anchor-empty">Some paragraph in a list... (this is list item 1 in a default style list)</t>
1277      </list>
1278   </t>
1279   <t>
1280      <list style="numbers">
1281         <t anchor="list-t-anchor-numbers">Some paragraph in a list... (this is list item 1 in a "numbers" style list)</t>
1282      </list>
1283   </t>
1284   <t>
1285      <list style="letters">
1286         <t anchor="list-t-anchor-letters">Some paragraph in a list... (this is list item 1 in a "letters" style list)</t>
1287      </list>
1288   </t>
1289   <t>
1290      <list style="hanging">
1291         <t anchor="list-t-anchor-hanging" hangText="foobar">Some paragraph in a list... (this is list item 1 in a "hanging" style list)</t>
1292      </list>
1293   </t>
1294   <texttable anchor="texttable-anchor" title="TEXTTABLE-TITLE">
1295      <ttcol>Some texttable text...</ttcol><c>Table cell</c>
1296   </texttable>
1297   <figure anchor="figure-anchor" title="FIGURE-TITLE">
1298      <artwork>Some figure text...</artwork>
1299   </figure>
1300   <t>
1301      <cref anchor="cref-anchor">A comment.</cref>
1302   </t>
1303</section>
1304</section>
1305
1306
1307<section title="More References" anchor="refs">
1308
1309<section title="xref to named &lt;spanx> element">
1310<t>
1311  <spanx anchor="spanx.anchor">With content</spanx>: see <xref target="spanx.anchor" format="none">this sentence</xref>.
1312</t>
1313</section>
1314
1315<section title="xref with no content and counter formatting">
1316<t>
1317See [<xref target="RFC2026" format="counter"/>, <xref target="RFC2396" format="counter"/>].
1318</t>
1319</section>
1320
1321<section title="eref with no content">
1322<t>
1323See also <eref target="http://greenbytes.de/tech/webdav" />. Here's another
1324one that is quite long: <eref target="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected"/>. Does it break properly?
1325</t>
1326</section>
1327
1328<section title="eref with content">
1329<t>
1330See also <eref target="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</eref>.
1331</t>
1332</section>
1333
1334<section title="iref inside paragraph">
1335<t>
1336This paragraph contains an <iref item="inline iref"/>inline iref.
1337</t>
1338</section>
1339
1340<section title="iref before paragraph">
1341<iref item="section iref"/>
1342<t>
1343This paragraph follows an iref.
1344</t>
1345</section>
1346
1347<section title="xref with pageno attribute" anchor="xref.pageno">
1348<t>
1349A reference to <xref target="xref.pageno" pageno="true"/>.
1350</t>
1351</section>
1352
1353</section>
1354
1355<section title="Paragraph formatting">
1356<t>
1357  This is the first sentence of the paragraph.  This is the second sentence of
1358  the paragraph (with two leading blanks).
1359  Here's another sentence that was started on a separate line in the input
1360  file.
1361</t>
1362<t>
1363  This is the second paragraph.
1364</t>
1365</section>
1366
1367<section title="Sections">
1368
1369<section title="Subsection with TOC entry">
1370</section>
1371
1372<section title="Subsection without TOC entry" toc="exclude">
1373
1374<section title="Sub-subsection with TOC entry">
1375</section>
1376
1377</section>
1378
1379<section title="x.x">
1380<section title="x.x.x">
1381<section title="x.x.x.x">
1382<section title="x.x.x.x.x">
1383<section title="x.x.x.x.x.x">
1384<section title="x.x.x.x.x.x.x">
1385<section title="x.x.x.x.x.x.x.x">
1386</section>
1387</section>
1388</section>
1389</section>
1390</section>
1391</section>
1392</section>
1393
1394</section>
1395
1396<section title="Comments">
1397<t>
1398  This line contains a few comments.
1399  <cref anchor="comment-test" source="JRE">No anchor, source given.</cref>
1400  This line contains a few comments.
1401  <cref anchor="comment1">Anchor given, no source.</cref>
1402  This line contains a few comments.
1403  <cref anchor="comment2" source="JRE">Both specified.</cref>
1404  This line contains a few comments.
1405  <cref>No anchor, no source.</cref>
1406  This line contains a few comments.
1407  <cref>No anchor, no source, but embedded markup: <eref target="http://xml.resource.org"/>.</cref>
1408  This line contains a few comments.
1409</t>
1410</section>
1411
1412<section title="Artwork Width">
1413<figure>
1414<preamble>
1415This should fit (69 characters plus three spaces of indentation in text output).
1416</preamble>
1417<artwork>
1418012345678901234567890123456789012345678901234567890123456789012345678
1419</artwork>
1420</figure>
1421<figure>
1422<preamble>
1423This shouldn't.
1424</preamble>
1425<artwork>
14260123456789012345678901234567890123456789012345678901234567890123456789
1427</artwork>
1428</figure>
1429<figure><artwork x:indent-with="**********">
1430(IN TEXT OUTPUT INDENTED BY 10)
1431012345678901234567890123456789012345678901234567890123456789012
1432</artwork></figure>
1433</section>
1434
1435<section title="Extensions" anchor="extensions">
1436<t>
1437  These are tests for extensions done in <spanx style="verb">rfc2629.xslt</spanx>.
1438  Do not expect them to work out-of-the-box in <spanx style="verb">xml2rfc</spanx>.
1439</t>
1440
1441<section title="Markup in figure/artwork">
1442<figure>
1443<artwork>
1444Internal References: a test reference to <xref target="RFC2396"/>
1445
1446External References: a test reference to <eref target="http://xml.resource.org"/>
1447
1448<iref item="&lt;iref> in &lt;artwork>"/>a test index entry inside a figure
1449
1450Styling: <spanx>&lt;spanx></spanx> inside artwork
1451</artwork>
1452</figure>
1453</section>
1454
1455<section title="Measuring Lengths">
1456<figure>
1457<artwork type="message/http; msgtype=&#34;request&#34;">
1458PUT / HTTP/1.1
1459Host: example.org
1460Content-Type: application/xml
1461Content-Length: <x:length-of target="req1"/>
1462
1463<x:span anchor="req1">&lt;foo/></x:span></artwork></figure>
1464
1465<figure>
1466<preamble>...without indentation:</preamble>
1467<artwork type="message/http; msgtype=&#34;request&#34;">
1468PUT / HTTP/1.1
1469Host: example.org
1470Content-Type: text/plain
1471Content-Length: <x:length-of target="req2"/>
1472
1473<x:span anchor="req2">Line 1
1474Line 2
1475</x:span></artwork></figure>
1476
1477<figure>
1478<preamble>...with indentation:</preamble>
1479<artwork type="message/http; msgtype=&#34;request&#34;">
1480  PUT / HTTP/1.1
1481  Host: example.org
1482  Content-Type: text/plain
1483  Content-Length: <x:length-of target="req3" indented="2"/>
1484
1485<x:span anchor="req3">  Line 1
1486  Line 2
1487</x:span></artwork></figure>
1488</section>
1489
1490<section title="Quotations">
1491  <t>
1492    Here's a quote:
1493    <x:q>This is a Quote.</x:q>
1494  </t>
1495  <t>
1496    Here's a block level quote:
1497  </t>
1498  <x:blockquote>
1499    <t>
1500      Here's a quote.
1501    </t>
1502    <t>
1503      More text.
1504    </t>
1505  </x:blockquote>
1506</section>
1507
1508<section title="Subsections">
1509  <t>
1510    <x:h>Foo</x:h>
1511  </t>
1512  <t>
1513    The line above should be marked up similar to a subsection heading.
1514  </t>
1515</section>
1516
1517<section title="Box Drawing">
1518<figure>
1519  <preamble>
1520    The figure below should use box drawing characters instead of
1521    "+", "-" and "|".
1522  </preamble>
1523  <artwork>
1524  <x:bt>+----------------+</x:bt>
1525  <x:bc>| This is a Box. |</x:bc>
1526  <x:bb>+----------------+</x:bb>
1527  </artwork>
1528</figure>
1529
1530</section>
1531
1532<section title="Computed Reference Targets" anchor="computed.reference.targets">
1533<t>
1534  Referring to this section by anchor name indirectly through the references:
1535  <xref target="TSTCS" x:fmt="of" x:rel="#computed.reference.targets"/>.
1536</t>
1537<t>
1538  (default formatting):
1539  <xref target="TSTCS" x:rel="#computed.reference.targets"/>.
1540</t>
1541<figure><artwork>
1542  Default inside a figure: <xref target="TSTCS" x:rel="#computed.reference.targets"/>
1543</artwork></figure>
1544<t>
1545  With a broken anchor:
1546  <xref target="TSTCS" x:rel="#a-target-that-isnt-defined"/>.
1547</t>
1548</section>
1549
1550<section title="ABNF Support" anchor="abnf.support">
1551<figure><artwork>
1552case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
1553case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
1554case-sensitive1 = <x:abnf-char-sequence>"abcdefghijlkmnopqrstuvwxyz"</x:abnf-char-sequence>
1555case-sensitive2 = <x:abnf-char-sequence>"ABCDEFGHIJKLMNOPQRSTUVWXYZ"</x:abnf-char-sequence>
1556</artwork></figure>
1557</section>
1558
1559
1560</section>
1561
1562<section title="Blank Lines">
1563<t>
1564Just a forced <vspace/>
1565line break.
1566</t>
1567<t>
1568One <vspace blankLines="1"/>
1569blank line.
1570</t>
1571<t>
1572Seven <vspace blankLines="7"/>
1573blank lines.
1574</t>
1575<t>
1576999 <vspace blankLines="999"/>
1577blank lines (this is likely an attempt to force a pagebreak, thus the
1578generated HTML should <spanx>not</spanx> contain the blank lines, but only
1579one).
1580</t>
1581</section>
1582
1583<section title="Other">
1584
1585<section title="Comments in Text">
1586<t>
1587  First sentence (before XML comment, invisible here).
1588<!-- a comment -->
1589  Second sentence.
1590</t>
1591</section>
1592
1593<section title="Special Characters">
1594<section title="Non-Breaking Space" anchor="nbsp">
1595<t>
1596  Non&nbsp;breaking&nbsp;space.
1597  Non&nbsp;breaking&nbsp;space.
1598  Non&nbsp;breaking&nbsp;space.
1599  Non&nbsp;breaking&nbsp;space.
1600  Non&nbsp;breaking&nbsp;space.
1601  Non&nbsp;breaking&nbsp;space.
1602  Non&nbsp;breaking&nbsp;space.
1603  Non&nbsp;breaking&nbsp;space.
1604  Non&nbsp;breaking&nbsp;space.
1605  Non&nbsp;breaking&nbsp;space.
1606  Non&nbsp;breaking&nbsp;space.
1607  Non&nbsp;breaking&nbsp;space.
1608  Non&nbsp;breaking&nbsp;space.
1609  Non&nbsp;breaking&nbsp;space.
1610  Non&nbsp;breaking&nbsp;space.
1611  Non&nbsp;breaking&nbsp;space.
1612  Non&nbsp;breaking&nbsp;space.
1613  Non&nbsp;breaking&nbsp;space.
1614  Non&nbsp;breaking&nbsp;space.
1615  Non&nbsp;breaking&nbsp;space.
1616  Non&nbsp;breaking&nbsp;space.
1617  Non&nbsp;breaking&nbsp;space.
1618</t>
1619</section>
1620<section title="Non-Breaking Hyphen" anchor="nbhy">
1621<t>
1622  Non&nbhy;breaking&nbhy;hyphen.
1623  Non&nbhy;breaking&nbhy;hyphen.
1624  Non&nbhy;breaking&nbhy;hyphen.
1625  Non&nbhy;breaking&nbhy;hyphen.
1626  Non&nbhy;breaking&nbhy;hyphen.
1627  Non&nbhy;breaking&nbhy;hyphen.
1628  Non&nbhy;breaking&nbhy;hyphen.
1629  Non&nbhy;breaking&nbhy;hyphen.
1630  Non&nbhy;breaking&nbhy;hyphen.
1631  Non&nbhy;breaking&nbhy;hyphen.
1632  Non&nbhy;breaking&nbhy;hyphen.
1633  Non&nbhy;breaking&nbhy;hyphen.
1634  Non&nbhy;breaking&nbhy;hyphen.
1635  Non&nbhy;breaking&nbhy;hyphen.
1636  Non&nbhy;breaking&nbhy;hyphen.
1637  Non&nbhy;breaking&nbhy;hyphen.
1638  Non&nbhy;breaking&nbhy;hyphen.
1639  Non&nbhy;breaking&nbhy;hyphen.
1640  Non&nbhy;breaking&nbhy;hyphen.
1641  Non&nbhy;breaking&nbhy;hyphen.
1642  (wrt Apache FOP, see <eref target="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E"/>)
1643</t>
1644</section>
1645<section title="Dashes" anchor="dashes">
1646<t>
1647  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
1648  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
1649  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
1650  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
1651  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
1652</t>
1653<t>
1654  mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces.
1655  mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces.
1656  mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces.
1657  mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces.
1658  mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces. mdash&mdash;with no spaces.
1659</t>
1660<t>
1661  mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces.
1662  mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces.
1663  mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces.
1664  mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces.
1665  mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces. mdash&thinsp;&mdash;&thinsp;with thin spaces.
1666</t>
1667</section>
1668</section>
1669
1670</section>
1671<section title="Includes">
1672<t>
1673  <xref target="RFC7749"/>.
1674</t>
1675<t>
1676  <xref target="RFC7749">with text content</xref>.
1677</t>
1678</section>
1679
1680    </middle>
1681
1682        <back>
1683  <references>
1684  <reference anchor='RFC2026'>
1685
1686<front>
1687<title abbrev='Internet Standards Process'>The Internet Standards Process -- Revision 3</title>
1688<author initials='S.' surname='Bradner' fullname='Scott O. Bradner'>
1689<organization>Harvard University</organization>
1690<address>
1691<postal>
1692<street>1350 Mass. Ave.</street>
1693<city>Cambridge</city>
1694<region>MA</region>
1695<code>02138</code>
1696<country>US</country></postal>
1697<phone>+1 617 495 3864</phone>
1698<email>sob@harvard.edu</email></address></author>
1699<date month='October' year='1996' />
1700<abstract>
1701<t>This memo documents the process used by the Internet community for the standardization of protocols and procedures.  It defines the stages in the standardization process, the requirements for moving a document between stages and the types of documents used during this process.  It also addresses the intellectual property rights and copyright issues associated with the standards process.</t></abstract></front>
1702
1703<seriesInfo name='BCP' value='9' />
1704<seriesInfo name='RFC' value='2026' />
1705<seriesInfo name='DOI' value='10.17487/RFC2026' />
1706</reference>
1707
1708<reference anchor='RFC10000'>
1709  <front>
1710    <title>FUTURERFC</title>
1711    <author initials='J.' surname='Doe' fullname='John Doe'/>
1712    <date month='October' year='2018' />
1713  </front>
1714  <seriesInfo name='RFC' value='10000' />
1715</reference>
1716
1717<reference anchor="RFC2396">
1718
1719<front>
1720<title abbrev="URI Generic Syntax">Uniform Resource Identifiers (URI): Generic Syntax</title>
1721<author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1722<organization>World Wide Web Consortium</organization>
1723<address>
1724<postal>
1725<street>MIT Laboratory for Computer Science, NE43-356</street>
1726<street>545 Technology Square</street>
1727<city>Cambridge</city>
1728<region>MA</region>
1729<code>02139</code></postal>
1730<facsimile>+1(617)258-8682</facsimile>
1731<email>timbl@w3.org</email></address></author>
1732<author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
1733<organization>Department of Information and Computer Science</organization>
1734<address>
1735<postal>
1736<street>University of California, Irvine</street>
1737<city>Irvine</city>
1738<region>CA</region>
1739<code>92697-3425</code></postal>
1740<facsimile>+1(949)824-1715</facsimile>
1741<email>fielding@ics.uci.edu</email></address></author>
1742<author initials="L." surname="Masinter" fullname="Larry Masinter">
1743<organization>Xerox PARC</organization>
1744<address>
1745<postal>
1746<street>3333 Coyote Hill Road</street>
1747<city>Palo Alto</city>
1748<region>CA</region>
1749<code>94034</code></postal>
1750<facsimile>+1(415)812-4333</facsimile>
1751<email>masinter@parc.xerox.com</email></address></author>
1752<date month="August" year="1998"/>
1753<area>Applications</area>
1754<keyword>uniform resource</keyword>
1755<keyword>URI</keyword>
1756</front>
1757<seriesInfo name="RFC" value="2396"/>
1758<annotation>
1759  This RFC will soon be updated, check
1760  <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html" /> for the latest draft.
1761</annotation>
1762<annotation>
1763  The issues list is at <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html" />.
1764</annotation>
1765
1766</reference>
1767
1768<reference anchor="TSTCS">
1769        <front>
1770        <title>Test cases for RFC2629 formatting</title>
1771
1772        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke"><?rfc multiple-initials="no"?>
1773                <organization abbrev="greenbytes">greenbytes GmbH</organization>
1774        <address>
1775                <postal>
1776                <street>Hafenweg 16</street>
1777            <city>Muenster</city><region>NW</region><code>48155</code>
1778                <country>Germany</country>
1779                </postal>
1780                  <phone>+49 251 2807760</phone>       
1781        <facsimile>+49 251 2807761</facsimile> 
1782                  <email>julian.reschke@greenbytes.de</email>   
1783                  <uri>http://greenbytes.de/tech/webdav/</uri> 
1784                </address>
1785        </author>
1786    <date month="March" year="2008"/>
1787        </front>
1788  <x:source href="testcase.xml"/>
1789</reference>
1790
1791<reference anchor="reference-anchor">
1792        <front>
1793        <title>Test cases for RFC2629 formatting</title>
1794
1795        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
1796                <organization abbrev="greenbytes">greenbytes GmbH</organization>
1797        <address>
1798                <postal>
1799                <street>Hafenweg 16</street>
1800            <city>Muenster</city><region>NW</region><code>48155</code>
1801                <country>Germany</country>
1802                </postal>
1803                  <phone>+49 251 2807760</phone>       
1804        <facsimile>+49 251 2807761</facsimile> 
1805                  <email>julian.reschke@greenbytes.de</email>   
1806                  <uri>http://greenbytes.de/tech/webdav/</uri> 
1807                </address>
1808        </author>
1809    <date month="March" year="2008"/>
1810        </front>
1811  <x:source href="testcase.xml"/>
1812</reference>
1813
1814  <?rfc include="http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7749.xml"?>
1815  <include xmlns="http://www.w3.org/2001/XInclude" href="http://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.reschke-hab.xml"/>
1816  </references>
1817  </back>
1818</rfc>
Note: See TracBrowser for help on using the repository browser.