RFC2629 test cases | J. F. Reschke |
greenbytes | |
June 2003 |
Test cases for RFC2629 formatting
1
Lists
1.1
hanging list
1.2
numbered list
1.3
no explicit counters
1.4
with explicit counters
2
spanx
3
Tables
4
Figures
5
References
5.1
xref with no content
5.2
xref with no content
5.3
xref with no auto-formatting
5.4
eref with no content
5.5
eref with content
6
Paragraph formatting
§
References
§
Author's Address
A numbered list:
Example for numbered list with user-defined-format:
Another list:
Next list should continue counting R's:
Same with character-based numbering:
A few requirements:
More requirements:
A few rules:
Explicit counter with name matching it's format string:
Same, without counter:
This is default.
This is emph(asized).
This is strong.
This is verb(atim).
Here is a carriage return inside a spanx element.
The list of valid keywords are:
keyword | default | meaning | not aligned |
---|---|---|---|
strict | no | try to enforce the ID-nits conventions and DTD validity | a |
iprnotified | no | include boilerplate from Section 10.4(d) of [RFC2026] | bb bb |
compact | no | when producing a txt/nroff file, try to conserve vertical whitespace | ccc ccc ccc |
subcompact | compact | if compact is "yes", then setting this to "no" will make things a little less compact | dddd dddd dddd dddd |
needLines | n/a | an integer hint indicating how many contiguous lines are needed at this point in the output | eeeee eeeee eeeee eeeee eeeee |
Remember, that as with everything else in XML, keywords and values are case-sensitive.
with preamble, no title...
+--+ | | +--+
+--+ | | +--+
with postamble and title...
Figure 1: another figure
The figure above has the title "another figure".
We are in Section 5.
Section 5 is the parent section.
So far we have sections 1 ("Lists") through 5 ("References").
See also <http://greenbytes.de/tech/webdav>.
See also greenbytes WebDAV resources.
This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.
This is the second paragraph.
[RFC2026] | Bradner, S., "The Internet Standards Process -- Revision 3", BCP 9, RFC 2026, October 1996. |
[RFC2396] | Berners-Lee, T., Fielding, R.T. and L. Masinter, "Uniform Resource Identifiers (URI): Generic Syntax", RFC 2396, August 1998. This RFC will soon be updated, check <http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html> for the latest draft. The issues list is at <http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html>. |
Julian F. Reschke | |
greenbytes GmbH | |
Salzmannstrasse 152 |
|
Muenster, NW 48159 | |
Germany | |
Phone: | +49 251 2807760 |
Fax: | +49 251 2807761 |
EMail: | julian.reschke@greenbytes.de |
URI: | http://greenbytes.de/tech/webdav/ |