source: rfc2629xslt/testcase.xml @ 2499

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

update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 28.0 KB
RevLine 
[6]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" ?>
[1099]10<?rfc-ext vspace-pagebreak="999" ?>
[2280]11<?rfc multiple-initials="yes"?>
[2461]12<?rfc private="XML2RFC Test Cases"?>
[1103]13<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
14  <!ENTITY nbsp "&#160;">
15  <!ENTITY thinsp "&#8202;">
16  <!ENTITY nbhy "&#8209;">
17  <!ENTITY ndash "&#8211;">
18  <!ENTITY mdash "&#8212;">
19]>
[6]20<rfc xmlns:x="http://purl.org/net/xml2rfc/ext">
21        <front>
[2461]22        <title>Test cases for XML2RFC formatting</title>
[6]23
24        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
25                <organization abbrev="greenbytes">greenbytes GmbH</organization>
26        <address>
27                <postal>
28                <street>Hafenweg 16</street>
29            <city>Muenster</city><region>NW</region><code>48155</code>
30                <country>Germany</country>
31                </postal>
32                  <phone>+49 251 2807760</phone>       
33        <facsimile>+49 251 2807761</facsimile> 
34                  <email>julian.reschke@greenbytes.de</email>   
35                  <uri>http://greenbytes.de/tech/webdav/</uri> 
36                </address>
37        </author>
38     
[2461]39    <date year="2013"/>
[6]40    <keyword>RFC2629</keyword>
41    <keyword>test case</keyword>
42    <keyword>xml2rfc</keyword>
43        </front>
44
45        <middle>
46
47<section title="Lists" anchor="lists">
48<section title="hanging list">
49<t><list style="hanging">
50  <t hangText="Name:">timeout</t>
51  <t hangText="Namespace:">DAV:</t>
52  <t hangText="Purpose:">The timeout associated with a lock</t>
53  <t hangText="Value:">TimeType ;Defined in section 9.8</t>
54</list></t></section>
55
[2272]56<section title="numbered list" anchor="ordered.list.numbers">
[6]57<t>
58A numbered list:
59<list style="numbers">
60  <t>one</t>
61  <t>two</t>
[2272]62  <t anchor="ordered.list.numbers.last">>three</t>
[6]63</list>
64</t>
65</section>
66
67<section title="ordered list (letters)" anchor="ordered.list.letters">
68<t>
69An ordered list using letters:
70<list style="letters">
71  <t>one</t>
72  <t>two</t>
73  <t>three</t>
74  <t>one</t>
75  <t>two</t>
76  <t>three</t>
77  <t>one</t>
78  <t>two</t>
79  <t>three</t>
80  <t>one</t>
81  <t>two</t>
82  <t>three</t>
83  <t>one</t>
84  <t>two</t>
85  <t>three</t>
86  <t>one</t>
87  <t>two</t>
88  <t>three</t>
89  <t>one</t>
90  <t>two</t>
91  <t>three</t>
92  <t>one</t>
93  <t>two</t>
94  <t>three</t>
95  <t>one</t>
96  <t>two</t>
97  <t>three</t>
98  <t>one</t>
99  <t>two</t>
100  <t anchor="ordered.list.letters.last">three</t>
101</list>
102</t>
103</section>
104
105<section title="no explicit counters">
106<t>
107  Example for numbered list with user-defined-format:
108  <list style="format R%d:">
109    <t>R1</t>
110    <t>R2</t>
111  </list>
112</t>
113<t>
114  Another list:
115  <list style="format S%d:">
116    <t>S1</t>
117    <t>S2</t>
118  </list>
119</t>
120<t>
121  Next list should continue counting R's:
122  <list style="format R%d:">
123    <t>R3</t>
124    <t>R4</t>
125  </list>
126</t>
127<t>
128  Same with character-based numbering:
129  <list style="format c-%c:">
130    <t>c-a</t>
131    <t>c-b</t>
132  </list>
133</t>
134</section>
135
136<section title="with explicit counters">
137<t>
138  A few requirements:
139  <list style="format R%d:" counter="requirements">
140    <t>req R1</t>
141    <t>req R2</t>
142  </list>
143</t>
144<t>
145  More requirements:
146  <list style="format R%d:" counter="requirements">
147    <t>req R3</t>
148    <t>req R4</t>
149  </list>
150</t>
151<t>
152  A few rules:
153  <list style="format R%d:" counter="rules">
154    <t>rule R1</t>
155    <t>rule R2</t>
156    <t>rule R3</t>
157  </list>
158</t>
159<t>
160  Explicit counter with name matching it's format string:
161  <list style="format c-%c:" counter="c-%c:">
162    <t>c-c</t>
163    <t>c-d</t>
164  </list>
165</t>
166<t>
167  Same, without counter:
168  <list style="format c-%c:">
169    <t>c-e</t>
170    <t>c-f</t>
171  </list>
172 </t>
173</section>
174
175<section title="Nested list">
176  <t>
177    <list style="numbers">
178      <t>One</t>
179      <t>Two
180        <list style="letters">
181          <t>17</t>
182          <t>42</t>
183        </list>
184      </t>
185      <t>Three</t>
186    </list>
187  </t>
188</section>
189
190<section title="list without style">
191<t><list>
192  <t>One</t>
193  <t>Two</t>
194  <t>Three</t>
195</list></t></section>
196
197<section title="list with multiple paragraphs in a single list item">
198<t><list style="numbers">
199  <x:lt><t>Simple list item.</t></x:lt>
200  <x:lt>
201    <t>This one has two paragraphs. This is the first one.</t>
202    <t>This one has two paragraphs. This is the second one.</t>
203  </x:lt>
204  <x:lt><t>Another simple list item.</t></x:lt>
205</list></t></section>
206
[2499]207<section title="lists with fancy formats: %c">
208<t><list style="format %c">
209  <t>test</t>
210</list></t></section>
211
212<section title="lists with fancy formats: %C">
213<t><list style="format %C">
214  <t>test</t>
215</list></t></section>
216
217<section title="lists with fancy formats: %d">
218<t><list style="format %d">
219  <t>test</t>
220</list></t></section>
221
222<section title="lists with fancy formats: %i">
223<t><list style="format %i">
224  <t>test</t>
225</list></t></section>
226
227<section title="lists with fancy formats: %I">
228<t><list style="format %I">
229  <t>test</t>
230</list></t></section>
231
232<section title="lists with fancy formats: %x">
233<t><list style="format %x">
234  <t>test</t>
235</list></t></section>
236
237<section title="lists with fancy formats: %X">
238<t><list style="format %X">
239  <t>test</t>
240</list></t></section>
[6]241</section>
242
243<section title="spanx">
244<t>
245This is <spanx>default</spanx>.
246</t>
247<t>
248This is <spanx style="emph">emph(asized)</spanx>.
249</t>
250<t>
251This is <spanx style="strong">strong</spanx>.
252</t>
253<t>
254This is <spanx style="verb">verb(atim)</spanx>.
255</t>
256<t>
257Here is <spanx style="verb">a carriage return
258inside</spanx> a spanx element.
259</t>
260</section>
261
262<section title="Tables">
263<texttable>
264<preamble>The list of valid keywords are:</preamble>
265<ttcol width="20%" align="right">keyword</ttcol>
266<ttcol width="20%" align="center">default</ttcol>
267<ttcol align="left">meaning</ttcol>
268<ttcol>not aligned</ttcol>
269
270<c>strict</c>
271<c>no</c>
272<c>try to enforce the ID-nits conventions and DTD validity</c>
273<c>a</c>
274
275<c>iprnotified</c>
276<c>no</c>
277<c>include boilerplate from Section 10.4(d) of <xref target="RFC2026"/></c>
278<c>bb bb</c>
279
280<c>compact</c>
281<c>no</c>
282<c>when producing a txt/nroff file, try to conserve vertical whitespace</c>
283<c>ccc ccc ccc</c>
284   
285<c>subcompact</c>
286<c>compact</c>
287<c>if compact is "yes", then setting this to "no" will make things a little less
288compact</c>
289<c>dddd dddd dddd dddd</c>
290   
291<!--
292    ...                                                          ...
293   
294  -->
295   
296<c>needLines</c>
297<c>n/a</c>
298<c>an integer hint indicating how many contiguous lines are needed at this point
299in the output</c>
300<c>eeeee eeeee eeeee eeeee eeeee </c>
301
302<c>here come empty cells</c>
303<c></c>
304<c/>
305<c/>
306
307<postamble>Remember,
308that as with everything else in XML,
309keywords and values are case-sensitive.</postamble>
310</texttable>
311
312<section title="no borders">
313<texttable style="none" anchor="tablenoborder" title="a table with no borders">
314<preamble>The table below should appear with no borders.</preamble>
315<ttcol>C1</ttcol>
316<ttcol>C2</ttcol>
317<c>11</c>
318<c>12</c>
319<c>21</c>
320<c>22</c>
321</texttable>
322</section>
323
324<section title="borders around headers">
325<texttable style="headers">
326<preamble>The table below should appear with borders just around the headers.</preamble>
327<ttcol>C1</ttcol>
328<ttcol>C2</ttcol>
329<c>11</c>
330<c>12</c>
331<c>21</c>
332<c>22</c>
333</texttable>
334</section>
335
[285]336<section title="example from xml2rc README">
337       <texttable anchor='table_example'>
338           <preamble>So,
339           putting it all together, we have, e.g.,</preamble>
340           <ttcol align='center'>ttcol #1</ttcol>
341           <ttcol align='center'>ttcol #2</ttcol>
342           <c>c #1</c>
343           <c>c #2</c>
344           <c>c #3</c>
345           <c>c #4</c>
346           <c>c #5</c>
347           <c>c #6</c>
348           <postamble>which is a very simple example.</postamble>
349       </texttable>
350</section>
351
[329]352<section title="no column titles">
353<texttable anchor="tablenotitles" title="a table with no column titles">
354<preamble>The table below should appear with no titles.</preamble>
355<ttcol></ttcol>
356<ttcol></ttcol>
357<c>11</c>
358<c>12</c>
359<c>21</c>
360<c>22</c>
361</texttable>
362<texttable anchor="tableonetitle" title="a table with a single column title">
363<preamble>The table below should appear with column titles (one being non-empty).</preamble>
364<ttcol>FOO</ttcol>
365<ttcol></ttcol>
366<c>11</c>
367<c>12</c>
368<c>21</c>
369<c>22</c>
370</texttable>
371</section>
372
[6]373<section title="referencing tables">
374  <t>
375    <xref target="tablenoborder"/> shows a table with no borders.
376  </t>
377  <t>
378    <xref target="tablenoborder">The table above</xref> shows a table with no borders.
379  </t>
380</section>
381
[189]382<section title="table captions">
383<texttable>
384<preamble>No anchor, no title</preamble>
385<ttcol>Anchor</ttcol>
386<ttcol>Title</ttcol>
387<c>-</c>
388<c>-</c>
389</texttable>
390
391<texttable anchor="texttable1">
392<preamble>Anchor (not being referenced), no title</preamble>
393<ttcol>Anchor</ttcol>
394<ttcol>Title</ttcol>
395<c>yes</c>
396<c>-</c>
397</texttable>
398
399<texttable title="title">
400<preamble>No anchor, with title</preamble>
401<ttcol>Anchor</ttcol>
402<ttcol>Title</ttcol>
403<c>-</c>
404<c>"title"</c>
405</texttable>
406
407<texttable anchor="texttable2" title="title">
408<preamble>Both anchor and title</preamble>
409<ttcol>Anchor</ttcol>
410<ttcol>Title</ttcol>
411<c>yes</c>
412<c>"title"</c>
413</texttable>
414
[6]415</section>
416
[662]417
418<section title="single column">
419<texttable>
420<ttcol>title</ttcol>
421<c>1</c>
422<c>2</c>
423</texttable>
[189]424</section>
[6]425
[662]426<section title="table alignment">
427<texttable align="left">
428<ttcol>left</ttcol>
429<c>1</c>
430</texttable>
431<texttable align="center">
432<ttcol>center</ttcol>
433<c>1</c>
434</texttable>
435<texttable align="right">
436<ttcol>right</ttcol>
437<c>1</c>
438</texttable>
439<texttable>
440<ttcol>default</ttcol>
441<c>1</c>
442</texttable>
443</section>
[189]444
[662]445</section>
446
447
[6]448<section title="Figures">
449<section title="with preamble, no title...">
450<figure>
451  <preamble>with preamble, no title...</preamble>
452  <artwork>
453  +--+
454  |  |
455  +--+
456</artwork>
457</figure>
458</section>
459
460<section title="with postamble and title...">
461<figure title="another figure" anchor="testfig">
462  <artwork>
463  +--+
464  |  |
465  +--+
466</artwork>
467<postamble>with postamble and title...</postamble>
468</figure>
469<t>
470  The figure above has the title "<xref target="testfig" format="title" />".
471</t>
472</section>
473
474<section title="Whitespace handling">
475<t>
476  Para...
477</t> 
478<figure>
479  <preamble>Leading whitespace</preamble>
480  <artwork>
481test test (leading ws)</artwork>
482</figure>
483<t>
484  Para...
485</t> 
486<figure>
487  <preamble>Trailing whitespace</preamble>
488  <artwork>test test (trailing ws)
489   </artwork>
490</figure>
491<t>
492  Para...
493</t> 
494<figure>
495  <preamble>No whitespace</preamble>
496  <artwork>test test (no ws)</artwork>
497</figure>
498<t>
499  Para...
500</t> 
501</section>
502
503<!-- as proposed by Bill F -->
504<section title="Whitespace around figures">
505<t>spacing paragraph</t>
506<figure><artwork>ART</artwork></figure>
507<t>spacing paragraph</t>
508<figure><preamble>preamble, then</preamble><artwork>ART</artwork></figure>
509<t>spacing paragraph</t>
510<figure><artwork>ART</artwork><postamble>then postamble</postamble></figure>
511<t>spacing paragraph</t>
512</section>
513
[329]514<section title="SVG">
515<t>
516  Inclusion of SVG:
517</t>
518<figure><artwork src="testcase.svg" type="image/svg+xml">
519  Fallback content for UAs that do not support SVG.
520</artwork></figure>
[6]521</section>
522
[704]523<section title="Code Components" anchor="code.components">
524<t>
525  Marking up Code Components according to the
526  <eref target="http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf">Legal Provisions Relating to IETF Documents</eref>:
527</t>
[2461]528<figure><artwork type="code" x:is-code-component="yes">
[704]529int main(int argc, char **argv) {
530  return -1;
531}
532</artwork></figure>
[329]533</section>
534
[704]535</section>
536
[6]537<section title="References" anchor="refs">
538
539<section title="xref with no content" anchor="xref.with.no.content">
540<t anchor="xref.with.no.content.first.sentence">
[588]541  <xref target="refs" /> is the parent section.
[6]542</t>
543</section>
544
545<section title="xref to named &lt;t> element">
546<t>
[588]547  With content: see <xref target="xref.with.no.content.first.sentence" format="none">first sentence</xref>
[6]548  of previous section.
549</t>
[588]550<t>
551  Without content: see <xref target="xref.with.no.content.first.sentence"/>.
552</t>
[6]553</section>
554
[588]555<section title="xref to named &lt;spanx> element">
556<t>
557  <spanx anchor="spanx.anchor">With content</spanx>: see <xref target="spanx.anchor" format="none">this sentence</xref>.
558</t>
559</section>
560
[6]561<section title="xref to named &lt;t> element inside list">
562<t>
[588]563  With content: see <xref target="listelement.anchor" format="none">first element in list below</xref>.
564</t>
565<t>
566  <list style="hanging">
567    <t anchor="listelement.anchor" hangText="test">Test</t>
568  </list>
569</t>
570</section>
571
572<section title="xref to named &lt;cref> element">
573<t>
574  With content: see <xref target="comment-test" format="none">test comment</xref>.
575</t>
576<t>
577  Without content: see <xref target="comment-test"/>.
578</t>
579</section>
580
581<section title="xref to named &lt;t> element inside list">
582<t>
[6]583  See <xref target="ordered.list.letters.last" format="none">last entry</xref> in
[2272]584  <xref target="ordered.list.letters"/> (format=none).
[6]585</t>
[2272]586<t>
587  See item <xref target="ordered.list.letters.last" format="counter"/> in
588  <xref target="ordered.list.letters"/> (format=counter, letters).
589</t>
590<t>
591  See item <xref target="ordered.list.numbers.last" format="counter"/> in
592  <xref target="ordered.list.numbers"/> (format=counter, numbers).
593</t>
[6]594</section>
595
596<section title="xref with no auto-formatting">
597<t>
598So far we have sections <xref target="lists" format="counter" /> ("<xref target="lists" format="title" />") through <xref target="refs" format="counter"/>
599("<xref target="refs" format="title"/>").
600</t>
601</section>
602
603<section title="xref with content and auto-formatting">
604<t>
605This is a subsection of <xref target="refs">References</xref>.
606</t>
607</section>
608
609<section title="xref with content and no formatting">
610<t>
611This is a subsection of <xref target="refs" x:fmt="none">References</xref>.
612Here we are referring to <xref target="RFC2026" x:fmt="none">RFC 2026</xref>,
613without emitting extra formatting.
614</t>
615</section>
616
[662]617<section title="xref with content and 'none' formatting" anchor="formatting.none">
[329]618<t>
619Here we are referring to <xref target="RFC2026" format="none">RFC 2026</xref>,
620without emitting extra formatting.
621</t>
[662]622<t>
623Here we are referring to <xref target="formatting.none" format="none">this Section</xref>,
624without emitting extra formatting.
625</t>
[329]626</section>
627
[6]628<section title="xref with no content and anchor formatting">
629<t>
630See [<xref target="RFC2026" x:fmt="anchor"/>, <xref target="RFC2396" x:fmt="anchor"/>].
631</t>
632</section>
633
634<section title="eref with no content">
635<t>
636See also <eref target="http://greenbytes.de/tech/webdav" />. Here's another
637one 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?
638</t>
639</section>
640
641<section title="eref with content">
642<t>
643See also <eref target="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</eref>.
644</t>
645</section>
646
[246]647<section title="iref inside paragraph">
648<t>
649This paragraph contains an <iref item="inline iref"/>inline iref.
650</t>
[6]651</section>
652
[2418]653<section title="iref before paragraph">
654<iref item="section iref"/>
655<t>
656This paragraph follows an iref.
657</t>
[246]658</section>
659
[2461]660<section title="xref with pageno attribute" anchor="xref.pageno">
661<t>
662A reference to <xref target="xref.pageno" pageno="true"/>.
663</t>
[2418]664</section>
665
[2461]666</section>
667
[6]668<section title="Paragraph formatting">
669<t>
670  This is the first sentence of the paragraph.  This is the second sentence of
671  the paragraph (with two leading blanks).
672  Here's another sentence that was started on a separate line in the input
673  file.
674</t>
675<t>
676  This is the second paragraph.
677</t>
678</section>
679
680<section title="Sections">
681
682<section title="Subsection with TOC entry">
683</section>
684
685<section title="Subsection without TOC entry" toc="exclude">
686
687<section title="Sub-subsection with TOC entry">
688</section>
689
690</section>
691
692</section>
693
694<section title="Comments">
695<t>
696  This line contains a few comments.
[588]697  <cref anchor="comment-test" source="JRE">No anchor, source given.</cref>
[6]698  This line contains a few comments.
699  <cref anchor="comment1">Anchor given, no source.</cref>
700  This line contains a few comments.
701  <cref anchor="comment2" source="JRE">Both specified.</cref>
702  This line contains a few comments.
703  <cref>No anchor, no source.</cref>
704  This line contains a few comments.
[272]705  <cref>No anchor, no source, but embedded markup: <eref target="http://xml.resource.org"/>.</cref>
706  This line contains a few comments.
[6]707</t>
708</section>
709
[1103]710<section title="Artwork Width">
[6]711<figure>
712<preamble>
713This should fit (69 characters plus three spaces of indentation in text output).
714</preamble>
715<artwork>
716012345678901234567890123456789012345678901234567890123456789012345678
717</artwork>
718</figure>
719<figure>
720<preamble>
721This shouldn't.
722</preamble>
723<artwork>
7240123456789012345678901234567890123456789012345678901234567890123456789
725</artwork>
726</figure>
[329]727<figure><artwork x:indent-with="**********">
728(IN TEXT OUTPUT INDENTED BY 10)
729012345678901234567890123456789012345678901234567890123456789012
730</artwork></figure>
[6]731</section>
732
733<section title="Extensions" anchor="extensions">
734<t>
735  These are tests for extensions done in <spanx style="verb">rfc2629.xslt</spanx>.
736  Do not expect them to work out-of-the-box in <spanx style="verb">xml2rfc</spanx>.
737</t>
[213]738
[6]739<section title="Markup in figure/artwork">
740<figure>
741<artwork>
742Internal References: a test reference to <xref target="RFC2396"/>
743
744External References: a test reference to <eref target="http://xml.resource.org"/>
745
746<iref item="&lt;iref> in &lt;artwork>"/>a test index entry inside a figure
747
748Styling: <spanx>&lt;spanx></spanx> inside artwork
749</artwork>
750</figure>
751</section>
752
[213]753<section title="Measuring Lengths">
754<figure>
755<artwork type="message/http; msgtype=&#34;request&#34;">
756PUT / HTTP/1.1
757Host: example.org
758Content-Type: application/xml
759Content-Length: <x:length-of target="req1"/>
760
761<x:span anchor="req1">&lt;foo/></x:span></artwork></figure>
762
763<figure>
764<preamble>...without indentation:</preamble>
765<artwork type="message/http; msgtype=&#34;request&#34;">
766PUT / HTTP/1.1
767Host: example.org
768Content-Type: text/plain
769Content-Length: <x:length-of target="req2"/>
770
771<x:span anchor="req2">Line 1
772Line 2
773</x:span></artwork></figure>
774
775<figure>
776<preamble>...with indentation:</preamble>
777<artwork type="message/http; msgtype=&#34;request&#34;">
778  PUT / HTTP/1.1
779  Host: example.org
780  Content-Type: text/plain
781  Content-Length: <x:length-of target="req3" indented="2"/>
782
783<x:span anchor="req3">  Line 1
784  Line 2
785</x:span></artwork></figure>
786</section>
787
[6]788<section title="Quotations">
789  <t>
790    Here's a quote:
791    <x:q>This is a Quote.</x:q>
792  </t>
793  <t>
794    Here's a block level quote:
795  </t>
796  <x:blockquote>
797    <t>
798      Here's a quote.
799    </t>
800    <t>
801      More text.
802    </t>
803  </x:blockquote>
804</section>
805
806<section title="Subsections">
807  <t>
808    <x:h>Foo</x:h>
809  </t>
810  <t>
811    The line above should be marked up similar to a subsection heading.
812  </t>
813</section>
814
815<section title="Box Drawing">
816<figure>
817  <preamble>
818    The figure below should use box drawing characters instead of
819    "+", "-" and "|".
820  </preamble>
821  <artwork>
822  <x:bt>+----------------+</x:bt>
823  <x:bc>| This is a Box. |</x:bc>
824  <x:bb>+----------------+</x:bb>
825  </artwork>
826</figure>
827
828</section>
829
830<section title="Computed Reference Targets" anchor="computed.reference.targets">
831<t>
832  Referring to this section by anchor name indirectly through the references:
833  <xref target="TSTCS" x:fmt="of" x:rel="#computed.reference.targets"/>.
834</t>
835<t>
836  (default formatting):
837  <xref target="TSTCS" x:rel="#computed.reference.targets"/>.
838</t>
839<figure><artwork>
840  Default inside a figure: <xref target="TSTCS" x:rel="#computed.reference.targets"/>
841</artwork></figure>
842<t>
843  With a broken anchor:
844  <xref target="TSTCS" x:rel="#a-target-that-isnt-defined"/>.
845</t>
846</section>
847
[272]848<section title="ABNF Support" anchor="abnf.support">
849<figure><artwork>
850case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
851case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
852case-sensitive1 = <x:abnf-char-sequence>"abcdefghijlkmnopqrstuvwxyz"</x:abnf-char-sequence>
853case-sensitive2 = <x:abnf-char-sequence>"ABCDEFGHIJKLMNOPQRSTUVWXYZ"</x:abnf-char-sequence>
854</artwork></figure>
855</section>
[6]856
[272]857
[6]858</section>
859
860<section title="Blank Lines">
861<t>
862Just a forced <vspace/>
863line break.
864</t>
865<t>
866One <vspace blankLines="1"/>
867blank line.
868</t>
869<t>
870Seven <vspace blankLines="7"/>
871blank lines.
872</t>
[1099]873<t>
874999 <vspace blankLines="999"/>
875blank lines (this is likely an attempt to force a pagebreak, thus the
876generated HTML should <spanx>not</spanx> contain the blank lines, but only
877one).
878</t>
[6]879</section>
880
[329]881<section title="Other">
[6]882
[329]883<section title="Comments in Text">
884<t>
885  First sentence (before XML comment, invisible here).
886<!-- a comment -->
887  Second sentence.
888</t>
889</section>
[6]890
[1103]891<section title="Special Characters">
892<section title="Non-Breaking Space" anchor="nbsp">
893<t>
894  Non&nbsp;breaking&nbsp;space.
895  Non&nbsp;breaking&nbsp;space.
896  Non&nbsp;breaking&nbsp;space.
897  Non&nbsp;breaking&nbsp;space.
898  Non&nbsp;breaking&nbsp;space.
899  Non&nbsp;breaking&nbsp;space.
900  Non&nbsp;breaking&nbsp;space.
901  Non&nbsp;breaking&nbsp;space.
902  Non&nbsp;breaking&nbsp;space.
903  Non&nbsp;breaking&nbsp;space.
904  Non&nbsp;breaking&nbsp;space.
905  Non&nbsp;breaking&nbsp;space.
906  Non&nbsp;breaking&nbsp;space.
907  Non&nbsp;breaking&nbsp;space.
908  Non&nbsp;breaking&nbsp;space.
909  Non&nbsp;breaking&nbsp;space.
910  Non&nbsp;breaking&nbsp;space.
911  Non&nbsp;breaking&nbsp;space.
912  Non&nbsp;breaking&nbsp;space.
913  Non&nbsp;breaking&nbsp;space.
914  Non&nbsp;breaking&nbsp;space.
915  Non&nbsp;breaking&nbsp;space.
916</t>
[329]917</section>
[1103]918<section title="Non-Breaking Hyphen" anchor="nbhy">
919<t>
920  Non&nbhy;breaking&nbhy;hyphen.
921  Non&nbhy;breaking&nbhy;hyphen.
922  Non&nbhy;breaking&nbhy;hyphen.
923  Non&nbhy;breaking&nbhy;hyphen.
924  Non&nbhy;breaking&nbhy;hyphen.
925  Non&nbhy;breaking&nbhy;hyphen.
926  Non&nbhy;breaking&nbhy;hyphen.
927  Non&nbhy;breaking&nbhy;hyphen.
928  Non&nbhy;breaking&nbhy;hyphen.
929  Non&nbhy;breaking&nbhy;hyphen.
930  Non&nbhy;breaking&nbhy;hyphen.
931  Non&nbhy;breaking&nbhy;hyphen.
932  Non&nbhy;breaking&nbhy;hyphen.
933  Non&nbhy;breaking&nbhy;hyphen.
934  Non&nbhy;breaking&nbhy;hyphen.
935  Non&nbhy;breaking&nbhy;hyphen.
936  Non&nbhy;breaking&nbhy;hyphen.
937  Non&nbhy;breaking&nbhy;hyphen.
938  Non&nbhy;breaking&nbhy;hyphen.
939  Non&nbhy;breaking&nbhy;hyphen.
940  (wrt Apache FOP, see <eref target="http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200905.mbox/%3C4A035745.10601@freemail.gr%3E"/>)
941</t>
942</section>
943<section title="Dashes" anchor="dashes">
944<t>
945  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
946  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
947  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
948  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
949  mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces. mdash &mdash; with regular spaces.
950</t>
951<t>
952  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.
953  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.
954  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.
955  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.
956  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.
957</t>
958<t>
959  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.
960  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.
961  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.
962  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.
963  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.
964</t>
965</section>
966</section>
[329]967
[1103]968</section>
969
[6]970    </middle>
971
972        <back>
973  <references>
974  <reference anchor='RFC2026'>
975
976<front>
977<title abbrev='Internet Standards Process'>The Internet Standards Process -- Revision 3</title>
978<author initials='S.' surname='Bradner' fullname='Scott O. Bradner'>
979<organization>Harvard University</organization>
980<address>
981<postal>
982<street>1350 Mass. Ave.</street>
983<city>Cambridge</city>
984<region>MA</region>
985<code>02138</code>
986<country>US</country></postal>
987<phone>+1 617 495 3864</phone>
988<email>sob@harvard.edu</email></address></author>
989<date month='October' year='1996' />
990<abstract>
991<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>
992
993<seriesInfo name='BCP' value='9' />
994<seriesInfo name='RFC' value='2026' />
995<format type='TXT' octets='86731' target='ftp://ftp.isi.edu/in-notes/rfc2026.txt' />
996</reference>
997
998<reference anchor="RFC2396">
999
1000<front>
1001<title abbrev="URI Generic Syntax">Uniform Resource Identifiers (URI): Generic Syntax</title>
1002<author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1003<organization>World Wide Web Consortium</organization>
1004<address>
1005<postal>
1006<street>MIT Laboratory for Computer Science, NE43-356</street>
1007<street>545 Technology Square</street>
1008<city>Cambridge</city>
1009<region>MA</region>
1010<code>02139</code></postal>
1011<facsimile>+1(617)258-8682</facsimile>
1012<email>timbl@w3.org</email></address></author>
1013<author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
1014<organization>Department of Information and Computer Science</organization>
1015<address>
1016<postal>
1017<street>University of California, Irvine</street>
1018<city>Irvine</city>
1019<region>CA</region>
1020<code>92697-3425</code></postal>
1021<facsimile>+1(949)824-1715</facsimile>
1022<email>fielding@ics.uci.edu</email></address></author>
1023<author initials="L." surname="Masinter" fullname="Larry Masinter">
1024<organization>Xerox PARC</organization>
1025<address>
1026<postal>
1027<street>3333 Coyote Hill Road</street>
1028<city>Palo Alto</city>
1029<region>CA</region>
1030<code>94034</code></postal>
1031<facsimile>+1(415)812-4333</facsimile>
1032<email>masinter@parc.xerox.com</email></address></author>
1033<date month="August" year="1998"/>
1034<area>Applications</area>
1035<keyword>uniform resource</keyword>
1036<keyword>URI</keyword>
1037</front>
1038<seriesInfo name="RFC" value="2396"/>
1039<annotation>
1040  This RFC will soon be updated, check
1041  <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html" /> for the latest draft.
1042</annotation>
1043<annotation>
1044  The issues list is at <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html" />.
1045</annotation>
1046
1047</reference>
1048
1049<reference anchor="TSTCS">
1050        <front>
1051        <title>Test cases for RFC2629 formatting</title>
1052
1053        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
1054                <organization abbrev="greenbytes">greenbytes GmbH</organization>
1055        <address>
1056                <postal>
1057                <street>Hafenweg 16</street>
1058            <city>Muenster</city><region>NW</region><code>48155</code>
1059                <country>Germany</country>
1060                </postal>
1061                  <phone>+49 251 2807760</phone>       
1062        <facsimile>+49 251 2807761</facsimile> 
1063                  <email>julian.reschke@greenbytes.de</email>   
1064                  <uri>http://greenbytes.de/tech/webdav/</uri> 
1065                </address>
1066        </author>
[246]1067    <date month="March" year="2008"/>
[6]1068        </front>
1069  <x:source href="testcase.xml"/>
1070</reference>
1071
1072  </references>
1073  </back>
1074</rfc>
Note: See TracBrowser for help on using the repository browser.