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 para-anchors="yes" ?> |
---|
11 | <?rfc private="RFC2629 test cases"?> |
---|
12 | <!DOCTYPE rfc |
---|
13 | SYSTEM "rfc2629.dtd"> |
---|
14 | <rfc xmlns:x="http://purl.org/net/xml2rfc/ext"> |
---|
15 | <front> |
---|
16 | <title>Test cases for RFC2629 formatting</title> |
---|
17 | |
---|
18 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke"> |
---|
19 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
20 | <address> |
---|
21 | <postal> |
---|
22 | <street>Hafenweg 16</street> |
---|
23 | <city>Muenster</city><region>NW</region><code>48155</code> |
---|
24 | <country>Germany</country> |
---|
25 | </postal> |
---|
26 | <phone>+49 251 2807760</phone> |
---|
27 | <facsimile>+49 251 2807761</facsimile> |
---|
28 | <email>julian.reschke@greenbytes.de</email> |
---|
29 | <uri>http://greenbytes.de/tech/webdav/</uri> |
---|
30 | </address> |
---|
31 | </author> |
---|
32 | |
---|
33 | <date month="March" year="2008"/> |
---|
34 | <keyword>RFC2629</keyword> |
---|
35 | <keyword>test case</keyword> |
---|
36 | <keyword>xml2rfc</keyword> |
---|
37 | </front> |
---|
38 | |
---|
39 | <middle> |
---|
40 | |
---|
41 | <section title="Lists" anchor="lists"> |
---|
42 | <section title="hanging list"> |
---|
43 | <t><list style="hanging"> |
---|
44 | <t hangText="Name:">timeout</t> |
---|
45 | <t hangText="Namespace:">DAV:</t> |
---|
46 | <t hangText="Purpose:">The timeout associated with a lock</t> |
---|
47 | <t hangText="Value:">TimeType ;Defined in section 9.8</t> |
---|
48 | </list></t></section> |
---|
49 | |
---|
50 | <section title="numbered list"> |
---|
51 | <t> |
---|
52 | A numbered list: |
---|
53 | <list style="numbers"> |
---|
54 | <t>one</t> |
---|
55 | <t>two</t> |
---|
56 | <t>three</t> |
---|
57 | </list> |
---|
58 | </t> |
---|
59 | </section> |
---|
60 | |
---|
61 | <section title="ordered list (letters)" anchor="ordered.list.letters"> |
---|
62 | <t> |
---|
63 | An ordered list using letters: |
---|
64 | <list style="letters"> |
---|
65 | <t>one</t> |
---|
66 | <t>two</t> |
---|
67 | <t>three</t> |
---|
68 | <t>one</t> |
---|
69 | <t>two</t> |
---|
70 | <t>three</t> |
---|
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 anchor="ordered.list.letters.last">three</t> |
---|
95 | </list> |
---|
96 | </t> |
---|
97 | </section> |
---|
98 | |
---|
99 | <section title="no explicit counters"> |
---|
100 | <t> |
---|
101 | Example for numbered list with user-defined-format: |
---|
102 | <list style="format R%d:"> |
---|
103 | <t>R1</t> |
---|
104 | <t>R2</t> |
---|
105 | </list> |
---|
106 | </t> |
---|
107 | <t> |
---|
108 | Another list: |
---|
109 | <list style="format S%d:"> |
---|
110 | <t>S1</t> |
---|
111 | <t>S2</t> |
---|
112 | </list> |
---|
113 | </t> |
---|
114 | <t> |
---|
115 | Next list should continue counting R's: |
---|
116 | <list style="format R%d:"> |
---|
117 | <t>R3</t> |
---|
118 | <t>R4</t> |
---|
119 | </list> |
---|
120 | </t> |
---|
121 | <t> |
---|
122 | Same with character-based numbering: |
---|
123 | <list style="format c-%c:"> |
---|
124 | <t>c-a</t> |
---|
125 | <t>c-b</t> |
---|
126 | </list> |
---|
127 | </t> |
---|
128 | </section> |
---|
129 | |
---|
130 | <section title="with explicit counters"> |
---|
131 | <t> |
---|
132 | A few requirements: |
---|
133 | <list style="format R%d:" counter="requirements"> |
---|
134 | <t>req R1</t> |
---|
135 | <t>req R2</t> |
---|
136 | </list> |
---|
137 | </t> |
---|
138 | <t> |
---|
139 | More requirements: |
---|
140 | <list style="format R%d:" counter="requirements"> |
---|
141 | <t>req R3</t> |
---|
142 | <t>req R4</t> |
---|
143 | </list> |
---|
144 | </t> |
---|
145 | <t> |
---|
146 | A few rules: |
---|
147 | <list style="format R%d:" counter="rules"> |
---|
148 | <t>rule R1</t> |
---|
149 | <t>rule R2</t> |
---|
150 | <t>rule R3</t> |
---|
151 | </list> |
---|
152 | </t> |
---|
153 | <t> |
---|
154 | Explicit counter with name matching it's format string: |
---|
155 | <list style="format c-%c:" counter="c-%c:"> |
---|
156 | <t>c-c</t> |
---|
157 | <t>c-d</t> |
---|
158 | </list> |
---|
159 | </t> |
---|
160 | <t> |
---|
161 | Same, without counter: |
---|
162 | <list style="format c-%c:"> |
---|
163 | <t>c-e</t> |
---|
164 | <t>c-f</t> |
---|
165 | </list> |
---|
166 | </t> |
---|
167 | </section> |
---|
168 | |
---|
169 | <section title="Nested list"> |
---|
170 | <t> |
---|
171 | <list style="numbers"> |
---|
172 | <t>One</t> |
---|
173 | <t>Two |
---|
174 | <list style="letters"> |
---|
175 | <t>17</t> |
---|
176 | <t>42</t> |
---|
177 | </list> |
---|
178 | </t> |
---|
179 | <t>Three</t> |
---|
180 | </list> |
---|
181 | </t> |
---|
182 | </section> |
---|
183 | |
---|
184 | <section title="list without style"> |
---|
185 | <t><list> |
---|
186 | <t>One</t> |
---|
187 | <t>Two</t> |
---|
188 | <t>Three</t> |
---|
189 | </list></t></section> |
---|
190 | |
---|
191 | <section title="list with multiple paragraphs in a single list item"> |
---|
192 | <t><list style="numbers"> |
---|
193 | <x:lt><t>Simple list item.</t></x:lt> |
---|
194 | <x:lt> |
---|
195 | <t>This one has two paragraphs. This is the first one.</t> |
---|
196 | <t>This one has two paragraphs. This is the second one.</t> |
---|
197 | </x:lt> |
---|
198 | <x:lt><t>Another simple list item.</t></x:lt> |
---|
199 | </list></t></section> |
---|
200 | |
---|
201 | </section> |
---|
202 | |
---|
203 | <section title="spanx"> |
---|
204 | <t> |
---|
205 | This is <spanx>default</spanx>. |
---|
206 | </t> |
---|
207 | <t> |
---|
208 | This is <spanx style="emph">emph(asized)</spanx>. |
---|
209 | </t> |
---|
210 | <t> |
---|
211 | This is <spanx style="strong">strong</spanx>. |
---|
212 | </t> |
---|
213 | <t> |
---|
214 | This is <spanx style="verb">verb(atim)</spanx>. |
---|
215 | </t> |
---|
216 | <t> |
---|
217 | Here is <spanx style="verb">a carriage return |
---|
218 | inside</spanx> a spanx element. |
---|
219 | </t> |
---|
220 | </section> |
---|
221 | |
---|
222 | <section title="Tables"> |
---|
223 | <texttable> |
---|
224 | <preamble>The list of valid keywords are:</preamble> |
---|
225 | <ttcol width="20%" align="right">keyword</ttcol> |
---|
226 | <ttcol width="20%" align="center">default</ttcol> |
---|
227 | <ttcol align="left">meaning</ttcol> |
---|
228 | <ttcol>not aligned</ttcol> |
---|
229 | |
---|
230 | <c>strict</c> |
---|
231 | <c>no</c> |
---|
232 | <c>try to enforce the ID-nits conventions and DTD validity</c> |
---|
233 | <c>a</c> |
---|
234 | |
---|
235 | <c>iprnotified</c> |
---|
236 | <c>no</c> |
---|
237 | <c>include boilerplate from Section 10.4(d) of <xref target="RFC2026"/></c> |
---|
238 | <c>bb bb</c> |
---|
239 | |
---|
240 | <c>compact</c> |
---|
241 | <c>no</c> |
---|
242 | <c>when producing a txt/nroff file, try to conserve vertical whitespace</c> |
---|
243 | <c>ccc ccc ccc</c> |
---|
244 | |
---|
245 | <c>subcompact</c> |
---|
246 | <c>compact</c> |
---|
247 | <c>if compact is "yes", then setting this to "no" will make things a little less |
---|
248 | compact</c> |
---|
249 | <c>dddd dddd dddd dddd</c> |
---|
250 | |
---|
251 | <!-- |
---|
252 | ... ... |
---|
253 | |
---|
254 | --> |
---|
255 | |
---|
256 | <c>needLines</c> |
---|
257 | <c>n/a</c> |
---|
258 | <c>an integer hint indicating how many contiguous lines are needed at this point |
---|
259 | in the output</c> |
---|
260 | <c>eeeee eeeee eeeee eeeee eeeee </c> |
---|
261 | |
---|
262 | <c>here come empty cells</c> |
---|
263 | <c></c> |
---|
264 | <c/> |
---|
265 | <c/> |
---|
266 | |
---|
267 | <postamble>Remember, |
---|
268 | that as with everything else in XML, |
---|
269 | keywords and values are case-sensitive.</postamble> |
---|
270 | </texttable> |
---|
271 | |
---|
272 | <section title="no borders"> |
---|
273 | <texttable style="none" anchor="tablenoborder" title="a table with no borders"> |
---|
274 | <preamble>The table below should appear with no borders.</preamble> |
---|
275 | <ttcol>C1</ttcol> |
---|
276 | <ttcol>C2</ttcol> |
---|
277 | <c>11</c> |
---|
278 | <c>12</c> |
---|
279 | <c>21</c> |
---|
280 | <c>22</c> |
---|
281 | </texttable> |
---|
282 | </section> |
---|
283 | |
---|
284 | <section title="borders around headers"> |
---|
285 | <texttable style="headers"> |
---|
286 | <preamble>The table below should appear with borders just around the headers.</preamble> |
---|
287 | <ttcol>C1</ttcol> |
---|
288 | <ttcol>C2</ttcol> |
---|
289 | <c>11</c> |
---|
290 | <c>12</c> |
---|
291 | <c>21</c> |
---|
292 | <c>22</c> |
---|
293 | </texttable> |
---|
294 | </section> |
---|
295 | |
---|
296 | <section title="referencing tables"> |
---|
297 | <t> |
---|
298 | <xref target="tablenoborder"/> shows a table with no borders. |
---|
299 | </t> |
---|
300 | <t> |
---|
301 | <xref target="tablenoborder">The table above</xref> shows a table with no borders. |
---|
302 | </t> |
---|
303 | </section> |
---|
304 | |
---|
305 | <section title="table captions"> |
---|
306 | <texttable> |
---|
307 | <preamble>No anchor, no title</preamble> |
---|
308 | <ttcol>Anchor</ttcol> |
---|
309 | <ttcol>Title</ttcol> |
---|
310 | <c>-</c> |
---|
311 | <c>-</c> |
---|
312 | </texttable> |
---|
313 | |
---|
314 | <texttable anchor="texttable1"> |
---|
315 | <preamble>Anchor (not being referenced), no title</preamble> |
---|
316 | <ttcol>Anchor</ttcol> |
---|
317 | <ttcol>Title</ttcol> |
---|
318 | <c>yes</c> |
---|
319 | <c>-</c> |
---|
320 | </texttable> |
---|
321 | |
---|
322 | <texttable title="title"> |
---|
323 | <preamble>No anchor, with title</preamble> |
---|
324 | <ttcol>Anchor</ttcol> |
---|
325 | <ttcol>Title</ttcol> |
---|
326 | <c>-</c> |
---|
327 | <c>"title"</c> |
---|
328 | </texttable> |
---|
329 | |
---|
330 | <texttable anchor="texttable2" title="title"> |
---|
331 | <preamble>Both anchor and title</preamble> |
---|
332 | <ttcol>Anchor</ttcol> |
---|
333 | <ttcol>Title</ttcol> |
---|
334 | <c>yes</c> |
---|
335 | <c>"title"</c> |
---|
336 | </texttable> |
---|
337 | |
---|
338 | </section> |
---|
339 | |
---|
340 | </section> |
---|
341 | |
---|
342 | |
---|
343 | <section title="Figures"> |
---|
344 | <section title="with preamble, no title..."> |
---|
345 | <figure> |
---|
346 | <preamble>with preamble, no title...</preamble> |
---|
347 | <artwork> |
---|
348 | +--+ |
---|
349 | | | |
---|
350 | +--+ |
---|
351 | </artwork> |
---|
352 | </figure> |
---|
353 | </section> |
---|
354 | |
---|
355 | <section title="with postamble and title..."> |
---|
356 | <figure title="another figure" anchor="testfig"> |
---|
357 | <artwork> |
---|
358 | +--+ |
---|
359 | | | |
---|
360 | +--+ |
---|
361 | </artwork> |
---|
362 | <postamble>with postamble and title...</postamble> |
---|
363 | </figure> |
---|
364 | <t> |
---|
365 | The figure above has the title "<xref target="testfig" format="title" />". |
---|
366 | </t> |
---|
367 | </section> |
---|
368 | |
---|
369 | <section title="Whitespace handling"> |
---|
370 | <t> |
---|
371 | Para... |
---|
372 | </t> |
---|
373 | <figure> |
---|
374 | <preamble>Leading whitespace</preamble> |
---|
375 | <artwork> |
---|
376 | test test (leading ws)</artwork> |
---|
377 | </figure> |
---|
378 | <t> |
---|
379 | Para... |
---|
380 | </t> |
---|
381 | <figure> |
---|
382 | <preamble>Trailing whitespace</preamble> |
---|
383 | <artwork>test test (trailing ws) |
---|
384 | </artwork> |
---|
385 | </figure> |
---|
386 | <t> |
---|
387 | Para... |
---|
388 | </t> |
---|
389 | <figure> |
---|
390 | <preamble>No whitespace</preamble> |
---|
391 | <artwork>test test (no ws)</artwork> |
---|
392 | </figure> |
---|
393 | <t> |
---|
394 | Para... |
---|
395 | </t> |
---|
396 | </section> |
---|
397 | |
---|
398 | <!-- as proposed by Bill F --> |
---|
399 | <section title="Whitespace around figures"> |
---|
400 | <t>spacing paragraph</t> |
---|
401 | <figure><artwork>ART</artwork></figure> |
---|
402 | <t>spacing paragraph</t> |
---|
403 | <figure><preamble>preamble, then</preamble><artwork>ART</artwork></figure> |
---|
404 | <t>spacing paragraph</t> |
---|
405 | <figure><artwork>ART</artwork><postamble>then postamble</postamble></figure> |
---|
406 | <t>spacing paragraph</t> |
---|
407 | </section> |
---|
408 | |
---|
409 | </section> |
---|
410 | |
---|
411 | <section title="References" anchor="refs"> |
---|
412 | |
---|
413 | <section title="xref with no content"> |
---|
414 | <t> |
---|
415 | We are in <xref target="refs" />. |
---|
416 | </t> |
---|
417 | </section> |
---|
418 | |
---|
419 | <section title="xref with no content" anchor="xref.with.no.content"> |
---|
420 | <t anchor="xref.with.no.content.first.sentence"> |
---|
421 | <xref target="refs" /> is the parent section. |
---|
422 | </t> |
---|
423 | </section> |
---|
424 | |
---|
425 | <section title="xref to named <t> element"> |
---|
426 | <t> |
---|
427 | See <xref target="xref.with.no.content.first.sentence" format="none">first sentence</xref> |
---|
428 | of previous section. |
---|
429 | </t> |
---|
430 | </section> |
---|
431 | |
---|
432 | <section title="xref to named <t> element inside list"> |
---|
433 | <t> |
---|
434 | See <xref target="ordered.list.letters.last" format="none">last entry</xref> in |
---|
435 | <xref target="ordered.list.letters"/>. |
---|
436 | </t> |
---|
437 | </section> |
---|
438 | |
---|
439 | <section title="xref with no auto-formatting"> |
---|
440 | <t> |
---|
441 | So far we have sections <xref target="lists" format="counter" /> ("<xref target="lists" format="title" />") through <xref target="refs" format="counter"/> |
---|
442 | ("<xref target="refs" format="title"/>"). |
---|
443 | </t> |
---|
444 | </section> |
---|
445 | |
---|
446 | <section title="xref with content and auto-formatting"> |
---|
447 | <t> |
---|
448 | This is a subsection of <xref target="refs">References</xref>. |
---|
449 | </t> |
---|
450 | </section> |
---|
451 | |
---|
452 | <section title="xref with content and no formatting"> |
---|
453 | <t> |
---|
454 | This is a subsection of <xref target="refs" x:fmt="none">References</xref>. |
---|
455 | Here we are referring to <xref target="RFC2026" x:fmt="none">RFC 2026</xref>, |
---|
456 | without emitting extra formatting. |
---|
457 | </t> |
---|
458 | </section> |
---|
459 | |
---|
460 | <section title="xref with no content and anchor formatting"> |
---|
461 | <t> |
---|
462 | See [<xref target="RFC2026" x:fmt="anchor"/>, <xref target="RFC2396" x:fmt="anchor"/>]. |
---|
463 | </t> |
---|
464 | </section> |
---|
465 | |
---|
466 | <section title="eref with no content"> |
---|
467 | <t> |
---|
468 | See also <eref target="http://greenbytes.de/tech/webdav" />. Here's another |
---|
469 | one 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? |
---|
470 | </t> |
---|
471 | </section> |
---|
472 | |
---|
473 | <section title="eref with content"> |
---|
474 | <t> |
---|
475 | See also <eref target="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</eref>. |
---|
476 | </t> |
---|
477 | </section> |
---|
478 | |
---|
479 | <section title="iref inside paragraph"> |
---|
480 | <t> |
---|
481 | This paragraph contains an <iref item="inline iref"/>inline iref. |
---|
482 | </t> |
---|
483 | </section> |
---|
484 | |
---|
485 | </section> |
---|
486 | |
---|
487 | <section title="Paragraph formatting"> |
---|
488 | <t> |
---|
489 | This is the first sentence of the paragraph. This is the second sentence of |
---|
490 | the paragraph (with two leading blanks). |
---|
491 | Here's another sentence that was started on a separate line in the input |
---|
492 | file. |
---|
493 | </t> |
---|
494 | <t> |
---|
495 | This is the second paragraph. |
---|
496 | </t> |
---|
497 | </section> |
---|
498 | |
---|
499 | <section title="Sections"> |
---|
500 | |
---|
501 | <section title="Subsection with TOC entry"> |
---|
502 | </section> |
---|
503 | |
---|
504 | <section title="Subsection without TOC entry" toc="exclude"> |
---|
505 | |
---|
506 | <section title="Sub-subsection with TOC entry"> |
---|
507 | </section> |
---|
508 | |
---|
509 | </section> |
---|
510 | |
---|
511 | </section> |
---|
512 | |
---|
513 | <section title="Comments"> |
---|
514 | <t> |
---|
515 | This line contains a few comments. |
---|
516 | <cref source="JRE">No anchor, source given.</cref> |
---|
517 | This line contains a few comments. |
---|
518 | <cref anchor="comment1">Anchor given, no source.</cref> |
---|
519 | This line contains a few comments. |
---|
520 | <cref anchor="comment2" source="JRE">Both specified.</cref> |
---|
521 | This line contains a few comments. |
---|
522 | <cref>No anchor, no source.</cref> |
---|
523 | This line contains a few comments. |
---|
524 | </t> |
---|
525 | </section> |
---|
526 | |
---|
527 | <section title="Artwork width"> |
---|
528 | <figure> |
---|
529 | <preamble> |
---|
530 | This should fit (69 characters plus three spaces of indentation in text output). |
---|
531 | </preamble> |
---|
532 | <artwork> |
---|
533 | 012345678901234567890123456789012345678901234567890123456789012345678 |
---|
534 | </artwork> |
---|
535 | </figure> |
---|
536 | <figure> |
---|
537 | <preamble> |
---|
538 | This shouldn't. |
---|
539 | </preamble> |
---|
540 | <artwork> |
---|
541 | 0123456789012345678901234567890123456789012345678901234567890123456789 |
---|
542 | </artwork> |
---|
543 | </figure> |
---|
544 | </section> |
---|
545 | |
---|
546 | <section title="Extensions" anchor="extensions"> |
---|
547 | <t> |
---|
548 | These are tests for extensions done in <spanx style="verb">rfc2629.xslt</spanx>. |
---|
549 | Do not expect them to work out-of-the-box in <spanx style="verb">xml2rfc</spanx>. |
---|
550 | </t> |
---|
551 | |
---|
552 | <section title="Markup in figure/artwork"> |
---|
553 | <figure> |
---|
554 | <artwork> |
---|
555 | Internal References: a test reference to <xref target="RFC2396"/> |
---|
556 | |
---|
557 | External References: a test reference to <eref target="http://xml.resource.org"/> |
---|
558 | |
---|
559 | <iref item="<iref> in <artwork>"/>a test index entry inside a figure |
---|
560 | |
---|
561 | Styling: <spanx><spanx></spanx> inside artwork |
---|
562 | </artwork> |
---|
563 | </figure> |
---|
564 | </section> |
---|
565 | |
---|
566 | <section title="Measuring Lengths"> |
---|
567 | <figure> |
---|
568 | <artwork type="message/http; msgtype="request""> |
---|
569 | PUT / HTTP/1.1 |
---|
570 | Host: example.org |
---|
571 | Content-Type: application/xml |
---|
572 | Content-Length: <x:length-of target="req1"/> |
---|
573 | |
---|
574 | <x:span anchor="req1"><foo/></x:span></artwork></figure> |
---|
575 | |
---|
576 | <figure> |
---|
577 | <preamble>...without indentation:</preamble> |
---|
578 | <artwork type="message/http; msgtype="request""> |
---|
579 | PUT / HTTP/1.1 |
---|
580 | Host: example.org |
---|
581 | Content-Type: text/plain |
---|
582 | Content-Length: <x:length-of target="req2"/> |
---|
583 | |
---|
584 | <x:span anchor="req2">Line 1 |
---|
585 | Line 2 |
---|
586 | </x:span></artwork></figure> |
---|
587 | |
---|
588 | <figure> |
---|
589 | <preamble>...with indentation:</preamble> |
---|
590 | <artwork type="message/http; msgtype="request""> |
---|
591 | PUT / HTTP/1.1 |
---|
592 | Host: example.org |
---|
593 | Content-Type: text/plain |
---|
594 | Content-Length: <x:length-of target="req3" indented="2"/> |
---|
595 | |
---|
596 | <x:span anchor="req3"> Line 1 |
---|
597 | Line 2 |
---|
598 | </x:span></artwork></figure> |
---|
599 | </section> |
---|
600 | |
---|
601 | <section title="Quotations"> |
---|
602 | <t> |
---|
603 | Here's a quote: |
---|
604 | <x:q>This is a Quote.</x:q> |
---|
605 | </t> |
---|
606 | <t> |
---|
607 | Here's a block level quote: |
---|
608 | </t> |
---|
609 | <x:blockquote> |
---|
610 | <t> |
---|
611 | Here's a quote. |
---|
612 | </t> |
---|
613 | <t> |
---|
614 | More text. |
---|
615 | </t> |
---|
616 | </x:blockquote> |
---|
617 | </section> |
---|
618 | |
---|
619 | <section title="Subsections"> |
---|
620 | <t> |
---|
621 | <x:h>Foo</x:h> |
---|
622 | </t> |
---|
623 | <t> |
---|
624 | The line above should be marked up similar to a subsection heading. |
---|
625 | </t> |
---|
626 | </section> |
---|
627 | |
---|
628 | <section title="Box Drawing"> |
---|
629 | <figure> |
---|
630 | <preamble> |
---|
631 | The figure below should use box drawing characters instead of |
---|
632 | "+", "-" and "|". |
---|
633 | </preamble> |
---|
634 | <artwork> |
---|
635 | <x:bt>+----------------+</x:bt> |
---|
636 | <x:bc>| This is a Box. |</x:bc> |
---|
637 | <x:bb>+----------------+</x:bb> |
---|
638 | </artwork> |
---|
639 | </figure> |
---|
640 | |
---|
641 | </section> |
---|
642 | |
---|
643 | <section title="Computed Reference Targets" anchor="computed.reference.targets"> |
---|
644 | <t> |
---|
645 | Referring to this section by anchor name indirectly through the references: |
---|
646 | <xref target="TSTCS" x:fmt="of" x:rel="#computed.reference.targets"/>. |
---|
647 | </t> |
---|
648 | <t> |
---|
649 | (default formatting): |
---|
650 | <xref target="TSTCS" x:rel="#computed.reference.targets"/>. |
---|
651 | </t> |
---|
652 | <figure><artwork> |
---|
653 | Default inside a figure: <xref target="TSTCS" x:rel="#computed.reference.targets"/> |
---|
654 | </artwork></figure> |
---|
655 | <t> |
---|
656 | With a broken anchor: |
---|
657 | <xref target="TSTCS" x:rel="#a-target-that-isnt-defined"/>. |
---|
658 | </t> |
---|
659 | </section> |
---|
660 | |
---|
661 | |
---|
662 | </section> |
---|
663 | |
---|
664 | <section title="Blank Lines"> |
---|
665 | <t> |
---|
666 | Just a forced <vspace/> |
---|
667 | line break. |
---|
668 | </t> |
---|
669 | <t> |
---|
670 | One <vspace blankLines="1"/> |
---|
671 | blank line. |
---|
672 | </t> |
---|
673 | <t> |
---|
674 | Seven <vspace blankLines="7"/> |
---|
675 | blank lines. |
---|
676 | </t> |
---|
677 | </section> |
---|
678 | |
---|
679 | |
---|
680 | |
---|
681 | </middle> |
---|
682 | |
---|
683 | <back> |
---|
684 | <references> |
---|
685 | <reference anchor='RFC2026'> |
---|
686 | |
---|
687 | <front> |
---|
688 | <title abbrev='Internet Standards Process'>The Internet Standards Process -- Revision 3</title> |
---|
689 | <author initials='S.' surname='Bradner' fullname='Scott O. Bradner'> |
---|
690 | <organization>Harvard University</organization> |
---|
691 | <address> |
---|
692 | <postal> |
---|
693 | <street>1350 Mass. Ave.</street> |
---|
694 | <city>Cambridge</city> |
---|
695 | <region>MA</region> |
---|
696 | <code>02138</code> |
---|
697 | <country>US</country></postal> |
---|
698 | <phone>+1 617 495 3864</phone> |
---|
699 | <email>sob@harvard.edu</email></address></author> |
---|
700 | <date month='October' year='1996' /> |
---|
701 | <abstract> |
---|
702 | <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> |
---|
703 | |
---|
704 | <seriesInfo name='BCP' value='9' /> |
---|
705 | <seriesInfo name='RFC' value='2026' /> |
---|
706 | <format type='TXT' octets='86731' target='ftp://ftp.isi.edu/in-notes/rfc2026.txt' /> |
---|
707 | </reference> |
---|
708 | |
---|
709 | <reference anchor="RFC2396"> |
---|
710 | |
---|
711 | <front> |
---|
712 | <title abbrev="URI Generic Syntax">Uniform Resource Identifiers (URI): Generic Syntax</title> |
---|
713 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
714 | <organization>World Wide Web Consortium</organization> |
---|
715 | <address> |
---|
716 | <postal> |
---|
717 | <street>MIT Laboratory for Computer Science, NE43-356</street> |
---|
718 | <street>545 Technology Square</street> |
---|
719 | <city>Cambridge</city> |
---|
720 | <region>MA</region> |
---|
721 | <code>02139</code></postal> |
---|
722 | <facsimile>+1(617)258-8682</facsimile> |
---|
723 | <email>timbl@w3.org</email></address></author> |
---|
724 | <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding"> |
---|
725 | <organization>Department of Information and Computer Science</organization> |
---|
726 | <address> |
---|
727 | <postal> |
---|
728 | <street>University of California, Irvine</street> |
---|
729 | <city>Irvine</city> |
---|
730 | <region>CA</region> |
---|
731 | <code>92697-3425</code></postal> |
---|
732 | <facsimile>+1(949)824-1715</facsimile> |
---|
733 | <email>fielding@ics.uci.edu</email></address></author> |
---|
734 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
735 | <organization>Xerox PARC</organization> |
---|
736 | <address> |
---|
737 | <postal> |
---|
738 | <street>3333 Coyote Hill Road</street> |
---|
739 | <city>Palo Alto</city> |
---|
740 | <region>CA</region> |
---|
741 | <code>94034</code></postal> |
---|
742 | <facsimile>+1(415)812-4333</facsimile> |
---|
743 | <email>masinter@parc.xerox.com</email></address></author> |
---|
744 | <date month="August" year="1998"/> |
---|
745 | <area>Applications</area> |
---|
746 | <keyword>uniform resource</keyword> |
---|
747 | <keyword>URI</keyword> |
---|
748 | </front> |
---|
749 | <seriesInfo name="RFC" value="2396"/> |
---|
750 | <annotation> |
---|
751 | This RFC will soon be updated, check |
---|
752 | <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html" /> for the latest draft. |
---|
753 | </annotation> |
---|
754 | <annotation> |
---|
755 | The issues list is at <eref target="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html" />. |
---|
756 | </annotation> |
---|
757 | |
---|
758 | </reference> |
---|
759 | |
---|
760 | <reference anchor="TSTCS"> |
---|
761 | <front> |
---|
762 | <title>Test cases for RFC2629 formatting</title> |
---|
763 | |
---|
764 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke"> |
---|
765 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
766 | <address> |
---|
767 | <postal> |
---|
768 | <street>Hafenweg 16</street> |
---|
769 | <city>Muenster</city><region>NW</region><code>48155</code> |
---|
770 | <country>Germany</country> |
---|
771 | </postal> |
---|
772 | <phone>+49 251 2807760</phone> |
---|
773 | <facsimile>+49 251 2807761</facsimile> |
---|
774 | <email>julian.reschke@greenbytes.de</email> |
---|
775 | <uri>http://greenbytes.de/tech/webdav/</uri> |
---|
776 | </address> |
---|
777 | </author> |
---|
778 | <date month="March" year="2008"/> |
---|
779 | </front> |
---|
780 | <x:source href="testcase.xml"/> |
---|
781 | </reference> |
---|
782 | |
---|
783 | </references> |
---|
784 | </back> |
---|
785 | </rfc> |
---|