diff --git a/pyproject.toml b/pyproject.toml index 8ac17d9a..f3a40f82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ dependencies = [ "intervaltree>=3.1.0", "jinja2>=3.1.2", "lxml>=5.3.0", + "natsort>=8.4.0", "pycountry>=22.3.5", "pyyaml>=5.3.1", "requests>=2.5.0", diff --git a/tests/input/rfc99999.xml b/tests/input/rfc99999.xml index 239ddc2a..27b65ebc 100644 --- a/tests/input/rfc99999.xml +++ b/tests/input/rfc99999.xml @@ -27,6 +27,22 @@
Section 31 redacted + More references: + + + + + + + + + + + + + + +
@@ -34,6 +50,42 @@ References Normative References + + + General Order 24 + + + + Fake reference + + + + + + + + General Order 7 + + + + Fake reference + + + + + + + + General Order 0 + + + + Fake reference + + + + + Prime Directive @@ -46,6 +98,144 @@ + + + General Order 99 + + + + Fake reference + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + + Fake Title + + + + Fake reference + + + + + + + + + + FOOBAR + + FOOBAR + + + + + + + ZULU + + ZULU + + + + + + + RFCed + + RFCed + + + + + + + ACME + + ACME + + + + diff --git a/tests/valid/draft-miek-test.html b/tests/valid/draft-miek-test.html index 6ba3bdff..73be2cf2 100644 --- a/tests/valid/draft-miek-test.html +++ b/tests/valid/draft-miek-test.html @@ -33,6 +33,7 @@ intervaltree 3.2.1 Jinja2 3.1.6 lxml 6.1.1 + natsort 8.4.0 platformdirs 4.10.0 pycountry 26.2.16 pypdf 6.12.2 diff --git a/tests/valid/draft-template.html b/tests/valid/draft-template.html index f9963bce..316ec80f 100644 --- a/tests/valid/draft-template.html +++ b/tests/valid/draft-template.html @@ -22,6 +22,7 @@ intervaltree 3.2.1 Jinja2 3.1.6 lxml 6.1.1 + natsort 8.4.0 platformdirs 4.10.0 pycountry 26.2.16 pypdf 6.12.2 diff --git a/tests/valid/draft-v3-features.prepped.html b/tests/valid/draft-v3-features.prepped.html new file mode 100644 index 00000000..8572e301 --- /dev/null +++ b/tests/valid/draft-v3-features.prepped.html @@ -0,0 +1,5309 @@ + + + + + + +xml2rfc V3 Feature Tests + + + + + + + + + + + + + + + + + + + + + + + + +
Internet-Draftxml2rfc V3 Feature TestsApril 2017
Reschke, et al.Expires October 17, 2017[Page]
+
+
+
+
Workgroup:
+
Network Working Group
+
Internet-Draft:
+
draft-v3-features
+
Published:
+
+ +
+
Intended Status:
+
Experimental
+
Expires:
+
+
Authors:
+
+
+
J. Reschke, Ed. +
+
+
+
+Πυθαγόρας ὁ Σάμιος (P. O. Samos)
+
+Εργαστήριο γεωμετρία (Geometry Labs)
+
+
+
A. Bergström
+
+
+
+
+

xml2rfc V3 Feature Tests

+
+

Abstract

+

+ This document tests features introduced in xml2rfc v3 vocabulary.

+
+
+

+Note to Readers +

+

This note is to be removed before publishing as an RFC.

+

+ Something important about this document.

+
+
+

This note is to be removed before publishing as an RFC.

+

+ Something else important, this time with no <name>.

+
+
+

This note is to be removed before publishing as an RFC.

+

The warning in this note should not be doubled.

+
+
+

+Another Note +

+

This note is to be removed before publishing as an RFC.

+

The warning in this note should not be doubled either.

+
+
+

+Yet Another Note +

+

This note is to be removed before publishing as an RFC.

+

The removeInRFC warning is only ever the first paragraph, so if a paragraph like this:

+

This note is to be removed before publishing as an RFC.

+

appears but is not the first paragraph, the warning should be added again.

+
+
+
+

+Status of This Memo +

+

+ This Internet-Draft is submitted in full conformance with the + provisions of BCP 78 and BCP 79.

+

+ Internet-Drafts are working documents of the Internet Engineering Task + Force (IETF). Note that other groups may also distribute working + documents as Internet-Drafts. The list of current Internet-Drafts is + at http://datatracker.ietf.org/drafts/current/.

+

+ Internet-Drafts are draft documents valid for a maximum of six months + and may be updated, replaced, or obsoleted by other documents at any + time. It is inappropriate to use Internet-Drafts as reference + material or to cite them other than as "work in progress."

+

+ This Internet-Draft will expire on 17 October 2017.

+
+
+ +
+
+

+Table of Contents +

+ +
+
+
+

+1. Text Styles +

+ +
+

+1.1. em/strong +

+

+ This is emphasized. This is strong. + This is both. + So is this.

+
+
+

+1.2. tt +

+

+ This is monospaced. Standard 78: [STD78].

+
+
+

+1.3. bcp14 +

+

+ This is a BCP14 MUST.

+
+
+

+1.4. sup/sub +

+

+ This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is subscript. + This is superscript. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text. + This is regular text.

+
+
+
+

+2. Section Titles +

+ +
+
+

+2.1. Title in <name> element, including markup +

+

+ Test.

+

+ The title of this section is "Title in <name> element, including markup".

+
+
+
+
+

+2.2. Title with xref: Section 2.2 +

+

+ Test.

+
+
+
+
+

+2.3. Title with id +

+

+ Test: a reference to the comment (Comment titleidid).

+
+
+
+
+

+2.4. Test: Comment +

+

+ cref + Text after comment

+

More text after comment

+
+
+
+
+

+3. Renaming References +

+ +

+ Test: [0REFTEST].

+
+
+
+

+4. Lists +

+
+

+4.1. Definition Lists +

+

newline=default/spacing=default

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

newline=true/spacing=default

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

newline=false/spacing=default

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

newline=default/spacing=compact

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

newline=false/spacing=compact

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

newline=true/spacing=compact

+
+
Term1
+
Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. +
+
+
Term2
+
Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. +
+
+
+

markup

+
+
+
Term1
+
+
Description1. Description1. Description1. Description1. +
+
+
+

multi-paragraph

+
+
Term1
+
+

Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1.

+

Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2. Description2.

+
+
+
+

nested list

+
+
Term1
+
+

Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1. Description1.

+
+
Term1b
+
Description 1b. +
+
+
+
+
+
Term2
+
+
+
Term2b
+
Description 2b. +
+
+
+
+
+
+
+
+

+4.2. Ordered Lists +

+
    +
  1. +
    One +
    +
  2. +
  3. Two 2 +
  4. +
  5. Three 3 +
  6. +
+

+ List item 1 is "One".

+
    +
  1. +
    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
  2. +
+

+ List item 4 is the list above.

+
+
    +
  1. list 1 / item 1 +
  2. +
  3. list 1 / item 2 +
  4. +
+
+

The items below should continue ordering from above.

+
+
    +
  1. list 1 / item 3 +
  2. +
  3. list 1 / item 4 +
  4. +
+
+

The items below should be numbered starting with 17.

+
+
    +
  1. list 1 / item 17 +
  2. +
  3. list 1 / item 18 +
  4. +
+
+

The items below should be numbered starting with 19.

+
+
    +
  1. list 1 / item 19 +
  2. +
  3. list 1 / item 20 +
  4. +
+
+
+

+4.2.1. Styles +

+

1

+
    +
  1. 1 +
  2. +
  3. 2 +
  4. +
  5. +
    3 (check: 3) +
    +
  6. +
+

a

+
    +
  1. a +
  2. +
  3. b +
  4. +
  5. +
    c (check: c) +
    +
  6. +
+

A

+
    +
  1. A +
  2. +
  3. B +
  4. +
  5. +
    C (check: C) +
    +
  6. +
+

i

+
    +
  1. i +
  2. +
  3. ii +
  4. +
  5. +
    iii (check: iii) +
    +
  6. +
+

I

+
    +
  1. I +
  2. +
  3. II +
  4. +
  5. +
    III (check: III) +
    +
  6. +
+

REC%d

+
+
REC1
+
REC1 +
+
+
REC2
+
REC2 +
+
+
REC3
+
+
REC3 (check: REC3) +
+
+
+
+

REC%c with start=5

+
+
RECe
+
e +
+
+
RECf
+
f +
+
+
RECg
+
+
g (check: RECg) +
+
+
+
+

REC%i grouped

+
+
RECi
+
i +
+
+
+

REC%i grouped, continued

+
+
RECii
+
+
ii (check: RECii) +
+
+
+
+
+
+
+

+4.3. Unordered Lists +

+
    +
  • One +
  • +
  • Two 2 +
  • +
  • Three 3 +
  • +
+
+
+

+4.4. Unordered Lists (multi-paragraph / nested) +

+
    +
  • +

    The quick brown fox jumps over the lazy dog.

    +

    + The quick brown fox jumps over the lazy dog.

    +
  • +
  • +

    Two 2

    +
  • +
  • +

    Three 3

    +
  • +
  • +

    sub list

    + +
  • +
+
+
+

+4.5. Unordered Lists (empty=true) +

+ +
+
+

+4.6. Referring to list items +

+

(default) see Section 4.1.

+

(counter) see Section 4.1.

+

(title) see listitem.

+

(default, TEXTCONTENT) see TEXTCONTENT (Section 4.1).

+

(counter, TEXTCONTENT) see TEXTCONTENT (4.1).

+

(title, TEXTCONTENT) see TEXTCONTENT (listitem).

+

(none, TEXTCONTENT) see TEXTCONTENT.

+
+
+
+
+

+5. <blockquote> +

+
+

+ Let's cite:

+
+
+
+
+

+ "The quick brown fox jumps over the lazy dog" is an English-language pangram - a phrase that contains all of the letters of the alphabet. It is used to show fonts and to test typewriters and computer keyboards, and in other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

+
+
+
    +
  1. one +
  2. +
  3. two +
  4. +
+
+

+ The parts above have anchors (Section 5, Paragraph 2.1 and Section 5, Paragraph 2.2), but this one does not.

+
+
+

without block content:

+
+
+ "The quick brown fox jumps over the lazy dog" is an English-language pangram - a phrase that contains all of the letters of the alphabet. It is used to show fonts and to test typewriters and computer keyboards, and in other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known. +
+
+

with "quotedFrom":

+
+
+ Four score and seven years ago our fathers + brought forth on this continent, a new nation, conceived + in Liberty, and dedicated to the proposition that all men + are created equal.Abraham Lincoln +
+
+
+
+

+6. <aside> +

+
+ +
+
+
+

+7. <sourcecode> +

+

Text before...

+
+
ABC
+
+

Text after...

+

Inside figure

+
+
DEF
+
+

ABNF

+
+
+foo = bar
+
+
+
+
+

+8. SVG +

+
+

+8.1. inline (with @alt attribute) +

+

Text before...

+
+ + + + + +
+

Text after...

+
+
+

+8.2. inline (left) +

+

Text before...

+
+ + + + + +
+

Text after...

+
+
+

+8.3. inline (centered) +

+

Text before...

+
+ + + + + +
+

Text after...

+
+
+

+8.4. inline (right) +

+

Text before...

+
+ + + + + +
+

Text after...

+
+
+

+8.5. included (type svg) +

+
+
+ + (external file) + + + + +
+
+
+ + (external file with internal ascii art) + + + + +
+
+
Figure 1: +References of [RFC7991] +
+
+

+ This paragraph has the anchor 'Section 8.5, Paragraph 2' + which will be in conflict with an id attribute in the included SVG.

+
+
+
+
+

+9. <figure>/<name> +

+
+
+
ABC
+
+
Figure 2: +<figure>/<name> +
+
+
+

+10. Tables +

+
+

+10.1. Bare Table (unnamed, no anchor, with iref) +

+ + + + + + + + + + + + + + + +
Table 1
Column 1Column 2
Value 1Value 2
+
+
+

+10.2. Bare Table (unnamed, with anchor, not referenced) +

+
+ + + + + + + + + + + + + + +
Table 2
Column 1Column 2
Value 1Value 2
+
+
+
+

+10.3. Bare Table (unnamed, with anchor, referenced) +

+
+ + + + + + + + + + + + + + +
Table 3
Column 1Column 2
Value 1Value 2
+
+

+ See Table 3.

+
+
+

+10.4. Named Table +

+ + + + + + + + + + + + + + +
+Table 4: +Table Name +
Column 1Column 2
Value 1Value 2
+
+
+

+10.5. Aligned Table 1 +

+ + + + + + + + + + + + + + + + +
Table 5
Column 1Column 2Column 3
123
+
+
+

+10.6. Colspan 1 +

+ + + + + + + + + + + + + + + +
Table 6
Column 1Column 2Column 3
12 and 3
+
+
+

+10.7. Rowspan 1 +

+ + + + + + + + + + + + + + + + + + + + +
Table 7
Column 1Column 2Column 3
12 and 53
46
+
+
+

+10.8. References +

+
+ + + + + + + + + + + + + + +
Table 8
Column 1Column 2
12
+
+
+
+

+10.9. Markup in Table Cells +

+
+ + + + + + + + + + + + + + +
Table 9
Column 1Line 1
Line 2
The quick brown fox jumps over the lazy OPTIONAL dog. Table 9 https://en.wikipedia.org/wiki/The_quick_brown_fox_jumps_over_the_lazy_dog comment + +

+ Paragraph 1

+

+ Paragraph 2

+
+
Source code
+
+
    +
  1. Ordered List +
  2. +
+
    +
  • Unordered List +
  • +
+
+
Definition
+
List +
+
+
+
+
+
+
+

+10.10. Examples from existing RFCs +

+
+

+10.10.1. RFC 7541 +

+

+ (<tfoot> added for testing purposes)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 10
symcode as bits
aligned to MSB
code
as hex
aligned
to LSB
len
in
bits
+ ( 0) + + |11111111|11000 + + 1ff8 + + [13] +
+ ( 1) + + |11111111|11111111|1011000 + + 7fffd8 + + [23] +
+ ( 2) + + |11111111|11111111|11111110|0010 + + fffffe2 + + [28] +
+ ( 3) + + |11111111|11111111|11111110|0011 + + fffffe3 + + [28] +
+ ( 4) + + |11111111|11111111|11111110|0100 + + fffffe4 + + [28] +
+ ( 5) + + |11111111|11111111|11111110|0101 + + fffffe5 + + [28] +
+ ( 6) + + |11111111|11111111|11111110|0110 + + fffffe6 + + [28] +
+ ( 7) + + |11111111|11111111|11111110|0111 + + fffffe7 + + [28] +
+ ( 8) + + |11111111|11111111|11111110|1000 + + fffffe8 + + [28] +
+ ( 9) + + |11111111|11111111|11101010 + + ffffea + + [24] +
+ ( 10) + + |11111111|11111111|11111111|111100 3 + + 3ffffffc + + [30] +
+ ( 11) + + |11111111|11111111|11111110|1001 + + fffffe9 + + [28] +
+ ( 12) + + |11111111|11111111|11111110|1010 + + fffffea + + [28] +
+ ( 13) + + |11111111|11111111|11111111|111101 3 + + 3ffffffd + + [30] +
+ ( 14) + + |11111111|11111111|11111110|1011 + + fffffeb + + [28] +
+ ( 15) + + |11111111|11111111|11111110|1100 + + fffffec + + [28] +
+ ( 16) + + |11111111|11111111|11111110|1101 + + fffffed + + [28] +
+ ( 17) + + |11111111|11111111|11111110|1110 + + fffffee + + [28] +
+ ( 18) + + |11111111|11111111|11111110|1111 + + fffffef + + [28] +
+ ( 19) + + |11111111|11111111|11111111|0000 + + ffffff0 + + [28] +
+ ( 20) + + |11111111|11111111|11111111|0001 + + ffffff1 + + [28] +
+ ( 21) + + |11111111|11111111|11111111|0010 + + ffffff2 + + [28] +
+ ( 22) + + |11111111|11111111|11111111|111110 3 + + 3ffffffe + + [30] +
+ ( 23) + + |11111111|11111111|11111111|0011 + + ffffff3 + + [28] +
+ ( 24) + + |11111111|11111111|11111111|0100 + + ffffff4 + + [28] +
+ ( 25) + + |11111111|11111111|11111111|0101 + + ffffff5 + + [28] +
+ ( 26) + + |11111111|11111111|11111111|0110 + + ffffff6 + + [28] +
+ ( 27) + + |11111111|11111111|11111111|0111 + + ffffff7 + + [28] +
+ ( 28) + + |11111111|11111111|11111111|1000 + + ffffff8 + + [28] +
+ ( 29) + + |11111111|11111111|11111111|1001 + + ffffff9 + + [28] +
+ ( 30) + + |11111111|11111111|11111111|1010 + + ffffffa + + [28] +
+ ( 31) + + |11111111|11111111|11111111|1011 + + ffffffb + + [28] +
+ ' ' ( 32) + + |010100 + + 14 + + [ 6] +
+ '!' ( 33) + + |11111110|00 + + 3f8 + + [10] +
+ '"' ( 34) + + |11111110|01 + + 3f9 + + [10] +
+ '#' ( 35) + + |11111111|1010 + + ffa + + [12] +
+ '$' ( 36) + + |11111111|11001 + + 1ff9 + + [13] +
+ '%' ( 37) + + |010101 + + 15 + + [ 6] +
+ '&' ( 38) + + |11111000 + + f8 + + [ 8] +
+ ''' ( 39) + + |11111111|010 + + 7fa + + [11] +
+ '(' ( 40) + + |11111110|10 + + 3fa + + [10] +
+ ')' ( 41) + + |11111110|11 + + 3fb + + [10] +
+ '*' ( 42) + + |11111001 + + f9 + + [ 8] +
+ '+' ( 43) + + |11111111|011 + + 7fb + + [11] +
+ ',' ( 44) + + |11111010 + + fa + + [ 8] +
+ '-' ( 45) + + |010110 + + 16 + + [ 6] +
+ '.' ( 46) + + |010111 + + 17 + + [ 6] +
+ '/' ( 47) + + |011000 + + 18 + + [ 6] +
+ '0' ( 48) + + |00000 + + 0 + + [ 5] +
+ '1' ( 49) + + |00001 + + 1 + + [ 5] +
+ '2' ( 50) + + |00010 + + 2 + + [ 5] +
+ '3' ( 51) + + |011001 + + 19 + + [ 6] +
+ '4' ( 52) + + |011010 + + 1a + + [ 6] +
+ '5' ( 53) + + |011011 + + 1b + + [ 6] +
+ '6' ( 54) + + |011100 + + 1c + + [ 6] +
+ '7' ( 55) + + |011101 + + 1d + + [ 6] +
+ '8' ( 56) + + |011110 + + 1e + + [ 6] +
+ '9' ( 57) + + |011111 + + 1f + + [ 6] +
+ ':' ( 58) + + |1011100 + + 5c + + [ 7] +
+ ';' ( 59) + + |11111011 + + fb + + [ 8] +
+ '<' ( 60) + + |11111111|1111100 + + 7ffc + + [15] +
+ '=' ( 61) + + |100000 + + 20 + + [ 6] +
+ '>' ( 62) + + |11111111|1011 + + ffb + + [12] +
+ '?' ( 63) + + |11111111|00 + + 3fc + + [10] +
+ '@' ( 64) + + |11111111|11010 + + 1ffa + + [13] +
+ 'A' ( 65) + + |100001 + + 21 + + [ 6] +
+ 'B' ( 66) + + |1011101 + + 5d + + [ 7] +
+ 'C' ( 67) + + |1011110 + + 5e + + [ 7] +
+ 'D' ( 68) + + |1011111 + + 5f + + [ 7] +
+ 'E' ( 69) + + |1100000 + + 60 + + [ 7] +
+ 'F' ( 70) + + |1100001 + + 61 + + [ 7] +
+ 'G' ( 71) + + |1100010 + + 62 + + [ 7] +
+ 'H' ( 72) + + |1100011 + + 63 + + [ 7] +
+ 'I' ( 73) + + |1100100 + + 64 + + [ 7] +
+ 'J' ( 74) + + |1100101 + + 65 + + [ 7] +
+ 'K' ( 75) + + |1100110 + + 66 + + [ 7] +
+ 'L' ( 76) + + |1100111 + + 67 + + [ 7] +
+ 'M' ( 77) + + |1101000 + + 68 + + [ 7] +
+ 'N' ( 78) + + |1101001 + + 69 + + [ 7] +
+ 'O' ( 79) + + |1101010 + + 6a + + [ 7] +
+ 'P' ( 80) + + |1101011 + + 6b + + [ 7] +
+ 'Q' ( 81) + + |1101100 + + 6c + + [ 7] +
+ 'R' ( 82) + + |1101101 + + 6d + + [ 7] +
+ 'S' ( 83) + + |1101110 + + 6e + + [ 7] +
+ 'T' ( 84) + + |1101111 + + 6f + + [ 7] +
+ 'U' ( 85) + + |1110000 + + 70 + + [ 7] +
+ 'V' ( 86) + + |1110001 + + 71 + + [ 7] +
+ 'W' ( 87) + + |1110010 + + 72 + + [ 7] +
+ 'X' ( 88) + + |11111100 + + fc + + [ 8] +
+ 'Y' ( 89) + + |1110011 + + 73 + + [ 7] +
+ 'Z' ( 90) + + |11111101 + + fd + + [ 8] +
+ '[' ( 91) + + |11111111|11011 + + 1ffb + + [13] +
+ '' ( 92) + + 11111111|11111110|000 + + 7fff0 + + 19] +
+ ']' ( 93) + + |11111111|11100 + + 1ffc + + [13] +
+ '^' ( 94) + + |11111111|111100 + + 3ffc + + [14] +
+ '_' ( 95) + + |100010 + + 22 + + [ 6] +
+ '`' ( 96) + + |11111111|1111101 + + 7ffd + + [15] +
+ 'a' ( 97) + + |00011 + + 3 + + [ 5] +
+ 'b' ( 98) + + |100011 + + 23 + + [ 6] +
+ 'c' ( 99) + + |00100 + + 4 + + [ 5] +
+ 'd' (100) + + |100100 + + 24 + + [ 6] +
+ 'e' (101) + + |00101 + + 5 + + [ 5] +
+ 'f' (102) + + |100101 + + 25 + + [ 6] +
+ 'g' (103) + + |100110 + + 26 + + [ 6] +
+ 'h' (104) + + |100111 + + 27 + + [ 6] +
+ 'i' (105) + + |00110 + + 6 + + [ 5] +
+ 'j' (106) + + |1110100 + + 74 + + [ 7] +
+ 'k' (107) + + |1110101 + + 75 + + [ 7] +
+ 'l' (108) + + |101000 + + 28 + + [ 6] +
+ 'm' (109) + + |101001 + + 29 + + [ 6] +
+ 'n' (110) + + |101010 + + 2a + + [ 6] +
+ 'o' (111) + + |00111 + + 7 + + [ 5] +
+ 'p' (112) + + |101011 + + 2b + + [ 6] +
+ 'q' (113) + + |1110110 + + 76 + + [ 7] +
+ 'r' (114) + + |101100 + + 2c + + [ 6] +
+ 's' (115) + + |01000 + + 8 + + [ 5] +
+ 't' (116) + + |01001 + + 9 + + [ 5] +
+ 'u' (117) + + |101101 + + 2d + + [ 6] +
+ 'v' (118) + + |1110111 + + 77 + + [ 7] +
+ 'w' (119) + + |1111000 + + 78 + + [ 7] +
+ 'x' (120) + + |1111001 + + 79 + + [ 7] +
+ 'y' (121) + + |1111010 + + 7a + + [ 7] +
+ 'z' (122) + + |1111011 + + 7b + + [ 7] +
+ '{' (123) + + |11111111|1111110 + + 7ffe + + [15] +
+ '|' (124) + + |11111111|100 + + 7fc + + [11] +
+ '}' (125) + + |11111111|111101 + + 3ffd + + [14] +
+ '~' (126) + + |11111111|11101 + + 1ffd + + [13] +
+ (127) + + |11111111|11111111|11111111|1100 + + ffffffc + + [28] +
+ (128) + + |11111111|11111110|0110 + + fffe6 + + [20] +
+ (129) + + |11111111|11111111|010010 + + 3fffd2 + + [22] +
+ (130) + + |11111111|11111110|0111 + + fffe7 + + [20] +
+ (131) + + |11111111|11111110|1000 + + fffe8 + + [20] +
+ (132) + + |11111111|11111111|010011 + + 3fffd3 + + [22] +
+ (133) + + |11111111|11111111|010100 + + 3fffd4 + + [22] +
+ (134) + + |11111111|11111111|010101 + + 3fffd5 + + [22] +
+ (135) + + |11111111|11111111|1011001 + + 7fffd9 + + [23] +
+ (136) + + |11111111|11111111|010110 + + 3fffd6 + + [22] +
+ (137) + + |11111111|11111111|1011010 + + 7fffda + + [23] +
+ (138) + + |11111111|11111111|1011011 + + 7fffdb + + [23] +
+ (139) + + |11111111|11111111|1011100 + + 7fffdc + + [23] +
+ (140) + + |11111111|11111111|1011101 + + 7fffdd + + [23] +
+ (141) + + |11111111|11111111|1011110 + + 7fffde + + [23] +
+ (142) + + |11111111|11111111|11101011 + + ffffeb + + [24] +
+ (143) + + |11111111|11111111|1011111 + + 7fffdf + + [23] +
+ (144) + + |11111111|11111111|11101100 + + ffffec + + [24] +
+ (145) + + |11111111|11111111|11101101 + + ffffed + + [24] +
+ (146) + + |11111111|11111111|010111 + + 3fffd7 + + [22] +
+ (147) + + |11111111|11111111|1100000 + + 7fffe0 + + [23] +
+ (148) + + |11111111|11111111|11101110 + + ffffee + + [24] +
+ (149) + + |11111111|11111111|1100001 + + 7fffe1 + + [23] +
+ (150) + + |11111111|11111111|1100010 + + 7fffe2 + + [23] +
+ (151) + + |11111111|11111111|1100011 + + 7fffe3 + + [23] +
+ (152) + + |11111111|11111111|1100100 + + 7fffe4 + + [23] +
+ (153) + + |11111111|11111110|11100 + + 1fffdc + + [21] +
+ (154) + + |11111111|11111111|011000 + + 3fffd8 + + [22] +
+ (155) + + |11111111|11111111|1100101 + + 7fffe5 + + [23] +
+ (156) + + |11111111|11111111|011001 + + 3fffd9 + + [22] +
+ (157) + + |11111111|11111111|1100110 + + 7fffe6 + + [23] +
+ (158) + + |11111111|11111111|1100111 + + 7fffe7 + + [23] +
+ (159) + + |11111111|11111111|11101111 + + ffffef + + [24] +
+ (160) + + |11111111|11111111|011010 + + 3fffda + + [22] +
+ (161) + + |11111111|11111110|11101 + + 1fffdd + + [21] +
+ (162) + + |11111111|11111110|1001 + + fffe9 + + [20] +
+ (163) + + |11111111|11111111|011011 + + 3fffdb + + [22] +
+ (164) + + |11111111|11111111|011100 + + 3fffdc + + [22] +
+ (165) + + |11111111|11111111|1101000 + + 7fffe8 + + [23] +
+ (166) + + |11111111|11111111|1101001 + + 7fffe9 + + [23] +
+ (167) + + |11111111|11111110|11110 + + 1fffde + + [21] +
+ (168) + + |11111111|11111111|1101010 + + 7fffea + + [23] +
+ (169) + + |11111111|11111111|011101 + + 3fffdd + + [22] +
+ (170) + + |11111111|11111111|011110 + + 3fffde + + [22] +
+ (171) + + |11111111|11111111|11110000 + + fffff0 + + [24] +
+ (172) + + |11111111|11111110|11111 + + 1fffdf + + [21] +
+ (173) + + |11111111|11111111|011111 + + 3fffdf + + [22] +
+ (174) + + |11111111|11111111|1101011 + + 7fffeb + + [23] +
+ (175) + + |11111111|11111111|1101100 + + 7fffec + + [23] +
+ (176) + + |11111111|11111111|00000 + + 1fffe0 + + [21] +
+ (177) + + |11111111|11111111|00001 + + 1fffe1 + + [21] +
+ (178) + + |11111111|11111111|100000 + + 3fffe0 + + [22] +
+ (179) + + |11111111|11111111|00010 + + 1fffe2 + + [21] +
+ (180) + + |11111111|11111111|1101101 + + 7fffed + + [23] +
+ (181) + + |11111111|11111111|100001 + + 3fffe1 + + [22] +
+ (182) + + |11111111|11111111|1101110 + + 7fffee + + [23] +
+ (183) + + |11111111|11111111|1101111 + + 7fffef + + [23] +
+ (184) + + |11111111|11111110|1010 + + fffea + + [20] +
+ (185) + + |11111111|11111111|100010 + + 3fffe2 + + [22] +
+ (186) + + |11111111|11111111|100011 + + 3fffe3 + + [22] +
+ (187) + + |11111111|11111111|100100 + + 3fffe4 + + [22] +
+ (188) + + |11111111|11111111|1110000 + + 7ffff0 + + [23] +
+ (189) + + |11111111|11111111|100101 + + 3fffe5 + + [22] +
+ (190) + + |11111111|11111111|100110 + + 3fffe6 + + [22] +
+ (191) + + |11111111|11111111|1110001 + + 7ffff1 + + [23] +
+ (192) + + |11111111|11111111|11111000|00 + + 3ffffe0 + + [26] +
+ (193) + + |11111111|11111111|11111000|01 + + 3ffffe1 + + [26] +
+ (194) + + |11111111|11111110|1011 + + fffeb + + [20] +
+ (195) + + |11111111|11111110|001 + + 7fff1 + + [19] +
+ (196) + + |11111111|11111111|100111 + + 3fffe7 + + [22] +
+ (197) + + |11111111|11111111|1110010 + + 7ffff2 + + [23] +
+ (198) + + |11111111|11111111|101000 + + 3fffe8 + + [22] +
+ (199) + + |11111111|11111111|11110110|0 + + 1ffffec + + [25] +
+ (200) + + |11111111|11111111|11111000|10 + + 3ffffe2 + + [26] +
+ (201) + + |11111111|11111111|11111000|11 + + 3ffffe3 + + [26] +
+ (202) + + |11111111|11111111|11111001|00 + + 3ffffe4 + + [26] +
+ (203) + + |11111111|11111111|11111011|110 + + 7ffffde + + [27] +
+ (204) + + |11111111|11111111|11111011|111 + + 7ffffdf + + [27] +
+ (205) + + |11111111|11111111|11111001|01 + + 3ffffe5 + + [26] +
+ (206) + + |11111111|11111111|11110001 + + fffff1 + + [24] +
+ (207) + + |11111111|11111111|11110110|1 + + 1ffffed + + [25] +
+ (208) + + |11111111|11111110|010 + + 7fff2 + + [19] +
+ (209) + + |11111111|11111111|00011 + + 1fffe3 + + [21] +
+ (210) + + |11111111|11111111|11111001|10 + + 3ffffe6 + + [26] +
+ (211) + + |11111111|11111111|11111100|000 + + 7ffffe0 + + [27] +
+ (212) + + |11111111|11111111|11111100|001 + + 7ffffe1 + + [27] +
+ (213) + + |11111111|11111111|11111001|11 + + 3ffffe7 + + [26] +
+ (214) + + |11111111|11111111|11111100|010 + + 7ffffe2 + + [27] +
+ (215) + + |11111111|11111111|11110010 + + fffff2 + + [24] +
+ (216) + + |11111111|11111111|00100 + + 1fffe4 + + [21] +
+ (217) + + |11111111|11111111|00101 + + 1fffe5 + + [21] +
+ (218) + + |11111111|11111111|11111010|00 + + 3ffffe8 + + [26] +
+ (219) + + |11111111|11111111|11111010|01 + + 3ffffe9 + + [26] +
+ (220) + + |11111111|11111111|11111111|1101 + + ffffffd + + [28] +
+ (221) + + |11111111|11111111|11111100|011 + + 7ffffe3 + + [27] +
+ (222) + + |11111111|11111111|11111100|100 + + 7ffffe4 + + [27] +
+ (223) + + |11111111|11111111|11111100|101 + + 7ffffe5 + + [27] +
+ (224) + + |11111111|11111110|1100 + + fffec + + [20] +
+ (225) + + |11111111|11111111|11110011 + + fffff3 + + [24] +
+ (226) + + |11111111|11111110|1101 + + fffed + + [20] +
+ (227) + + |11111111|11111111|00110 + + 1fffe6 + + [21] +
+ (228) + + |11111111|11111111|101001 + + 3fffe9 + + [22] +
+ (229) + + |11111111|11111111|00111 + + 1fffe7 + + [21] +
+ (230) + + |11111111|11111111|01000 + + 1fffe8 + + [21] +
+ (231) + + |11111111|11111111|1110011 + + 7ffff3 + + [23] +
+ (232) + + |11111111|11111111|101010 + + 3fffea + + [22] +
+ (233) + + |11111111|11111111|101011 + + 3fffeb + + [22] +
+ (234) + + |11111111|11111111|11110111|0 + + 1ffffee + + [25] +
+ (235) + + |11111111|11111111|11110111|1 + + 1ffffef + + [25] +
+ (236) + + |11111111|11111111|11110100 + + fffff4 + + [24] +
+ (237) + + |11111111|11111111|11110101 + + fffff5 + + [24] +
+ (238) + + |11111111|11111111|11111010|10 + + 3ffffea + + [26] +
+ (239) + + |11111111|11111111|1110100 + + 7ffff4 + + [23] +
+ (240) + + |11111111|11111111|11111010|11 + + 3ffffeb + + [26] +
+ (241) + + |11111111|11111111|11111100|110 + + 7ffffe6 + + [27] +
+ (242) + + |11111111|11111111|11111011|00 + + 3ffffec + + [26] +
+ (243) + + |11111111|11111111|11111011|01 + + 3ffffed + + [26] +
+ (244) + + |11111111|11111111|11111100|111 + + 7ffffe7 + + [27] +
+ (245) + + |11111111|11111111|11111101|000 + + 7ffffe8 + + [27] +
+ (246) + + |11111111|11111111|11111101|001 + + 7ffffe9 + + [27] +
+ (247) + + |11111111|11111111|11111101|010 + + 7ffffea + + [27] +
+ (248) + + |11111111|11111111|11111101|011 + + 7ffffeb + + [27] +
+ (249) + + |11111111|11111111|11111111|1110 + + ffffffe + + [28] +
+ (250) + + |11111111|11111111|11111101|100 + + 7ffffec + + [27] +
+ (251) + + |11111111|11111111|11111101|101 + + 7ffffed + + [27] +
+ (252) + + |11111111|11111111|11111101|110 + + 7ffffee + + [27] +
+ (253) + + |11111111|11111111|11111101|111 + + 7ffffef + + [27] +
+ (254) + + |11111111|11111111|11111110|000 + + 7fffff0 + + [27] +
+ (255) + + |11111111|11111111|11111011|10 + + 3ffffee + + [26] +
+ EOS (256) + + |11111111|11111111|11111111|111111 + + 3fffffff + + [30] +
symcode as bits
aligned to MSB
code
as hex
aligned
to LSB
len
in
bits
+
+
+
+
+

+11. Section References +

+
+

+11.1. By Section Number +

+

+ "of": + See Section 1 of [RFC7991].

+

+ "comma": + See [RFC7991], Section 2.2.

+

+ "parens": + See [RFC7991] (Appendix A).

+

+ "bare": + See B.

+

+ (default): + See Section 1 of [RFC7991].

+

+ With text content: + See Section 2 of the wonderful Section 2 of RFC 7991 [RFC7991].

+
+
+

+11.2. By Relative URI +

+

+ "of": + See Section 1 of [SVG11].

+

+ "comma": + See [SVG11], Section 1.

+

+ "parens": + See [SVG11] (Section 1).

+

+ "bare": + See 1.

+

+ (default): + See Section 1 of [SVG11].

+
+
+

+11.3. To "References" +

+

+ See Section 12, where the title is "Some References".

+

+ See references below (Section 12).

+

+ We might also link to references below without perturbing text.

+
+
+

+11.4. To Unnumbered Section +

+

+ See Appendix "Contributors", where the title is "Contributors".

+

+ See contributors below (Appendix "Contributors").

+

+ We might also link to contributors without perturbing text.

+
+
+
+
+

+12. Some References +

+
+
[0REFTEST]
+
+Reschke, J., "Reference Test", additional prose goes here, . Due to a <displayreference> element, this should be listed as "[0REFTEST]". +
+
+
[BCP45]
+
+
Best Current Practice 45, <https://www.rfc-editor.org/info/bcp45>.
At the time of writing, this BCP comprises the following: +
+
+ Eggert, L. and S. Harris, "IETF Discussion List Charter", BCP 45, RFC 9245, DOI 10.17487/RFC9245, , <https://www.rfc-editor.org/info/rfc9245>.
+
+
+
[DUP]
+
+Reschke, J., "Reference Duplicate Test", .
+
+
[DUP]
+
+Reschke, J., "Another Reference Duplicate Test", . Oops. +
+
+
[GOST3410]
+
+"Information technology. Cryptographic data security. Signature and verification processes of [electronic] digital signature.", Gosudarstvennyi Standard of Russian Federation, Правительственная комиссия России по стандартам (Government Committee of Russia for Standards), GOST R 34.10-2001, . (In Russian) +
+
+
[RFC7991]
+
+Hoffman, P., "The "xml2rfc" Version 3 Vocabulary", RFC 7991, , <https://www.rfc-editor.org/rfc/rfc7991>.
+
+
[RFC7996]
+
+Brownlee, N., "SVG Drawings for RFCs: SVG 1.2 RFC", RFC 7996, DOI 10.17487/RFC7996, , <https://www.rfc-editor.org/info/rfc7996>.
+
+
[STD78]
+
+
Internet Standard 78, <https://www.rfc-editor.org/info/std78>.
At the time of writing, this STD comprises the following: +
+
+ Schoenwaelder, J., "Simple Network Management Protocol (SNMP) Context EngineID Discovery", STD 78, RFC 5343, DOI 10.17487/RFC5343, , <https://www.rfc-editor.org/info/rfc5343>.
+
+ Harrington, D. and J. Schoenwaelder, "Transport Subsystem for the Simple Network Management Protocol (SNMP)", STD 78, RFC 5590, DOI 10.17487/RFC5590, , <https://www.rfc-editor.org/info/rfc5590>.
+
+ Harrington, D. and W. Hardaker, "Transport Security Model for the Simple Network Management Protocol (SNMP)", STD 78, RFC 5591, DOI 10.17487/RFC5591, , <https://www.rfc-editor.org/info/rfc5591>.
+
+ Hardaker, W., "Transport Layer Security (TLS) Transport Model for the Simple Network Management Protocol (SNMP)", STD 78, RFC 6353, DOI 10.17487/RFC6353, , <https://www.rfc-editor.org/info/rfc6353>.
+
+
+
[STPETER]
+
+ᏚᎢᎵᎬᎢᎬᏒ Inc. (STPETER Inc.), "ᏚᎢᎵᎬᎢᎬᏒ's document" ("STPETER's document"). A document where the author element specifies just an organization, and both title and organization name have an ASCII equivalent. +
+
+
[SVG11]
+
+Ferraiolo, J., 藤沢, 淳 (Fujisawa, J.), and D. Jackson, "Scalable Vector Graphics (SVG) 1.1 Specification", W3C Recommendation REC-SVG11-20030114, , <http://www.w3.org/TR/2003/REC-SVG11-20030114/>. + Latest version available at + http://www.w3.org/TR/SVG11/. + +
+
+
[UNQUOTED]
+
+Reschke, J., Reference Test, . (The title above should not be quoted) +
+
+
[XML]
+
+Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fifth Edition)", W3C Recommendation REC-xml-20081126, , <http://www.w3.org/TR/2008/REC-xml-20081126/>. + Latest version available at + http://www.w3.org/TR/xml. + +
+
+
+
+
+
+

+Appendix A. Change Log +

+

This section is to be removed before publishing as an RFC.

+

+ Foo bar.

+

+ + + +

+
+
+

+Appendix B. Another Change Log only containing Subsections +

+

This section is to be removed before publishing as an RFC.

+
+

+B.1. Test +

+

Foo

+
+
+
+

+Appendix C. Test removeInRFC duplication +

+

This section is to be removed before publishing as an RFC.

+

The above note should NOT appear twice.

+
+
+

+Appendix D. Test removeInRFC duplication again +

+

This section is to be removed before publishing as an RFC.

+

Since it is not the first paragraph in the source XML,

+

This section is to be removed before publishing as an RFC.

+

should appear twice this time.

+
+
+

+Appendix E. Test removeInRFC without name +

+

This section is to be removed before publishing as an RFC.

+
+

+E.1. section as first child +

+

The warning should still appear.

+
+
+
+
+

+Contributors +

+

+ Foo bar.

+
+
+
+

+Index +

+
+

+ $ + % + [ + \ + B + M + R + T

+
+ +
+
+
+

+Authors' Addresses +

+
+
Julian Reschke (editor)
+
line 1
line 2
line 3
+
+
+
+
Pythagoras of Samos
+
Geometry Labs
+
+831 03 Pythagoreio +
+
Greece
+
+
Additional contact information:
+
+
Πυθαγόρας ὁ Σάμιος
+
Εργαστήριο γεωμετρία
+
+831 03 Πυθαγόρειο +
+
Ελλάδα
+
+
+
+
Armin Bergström
+
+
+
+ + + diff --git a/tests/valid/draft-v3-features.prepped.text b/tests/valid/draft-v3-features.prepped.text new file mode 100644 index 00000000..a4b78313 --- /dev/null +++ b/tests/valid/draft-v3-features.prepped.text @@ -0,0 +1,1536 @@ + + + + +Network Working Group J. Reschke, Ed. +Internet-Draft +Intended status: Experimental Πυθαγόρας ὁ Σάμιος (P. O. Samos) +Expires: October 17, 2017 Εργαστήριο γεωμετρία (Geometry Labs) + A. Bergström + April 15, 2017 + + + xml2rfc V3 Feature Tests + draft-v3-features + +Abstract + + This document tests features introduced in xml2rfc v3 vocabulary. + +Note to Readers + + This note is to be removed before publishing as an RFC. + + Something important about this document. + +Note + + This note is to be removed before publishing as an RFC. + + Something else important, this time with no . + +Note + + This note is to be removed before publishing as an RFC. + + The warning in this note should not be doubled. + +Another Note + + This note is to be removed before publishing as an RFC. + + The warning in this note should not be doubled either. + +Yet Another Note + + This note is to be removed before publishing as an RFC. + + The removeInRFC warning is only ever the first paragraph, so if a + paragraph like this: + + This note is to be removed before publishing as an RFC. + + appears but is not the first paragraph, the warning should be added + again. + +Status of This Memo + + This Internet-Draft is submitted in full conformance with the + provisions of BCP 78 and BCP 79. + + Internet-Drafts are working documents of the Internet Engineering + Task Force (IETF). Note that other groups may also distribute + working documents as Internet-Drafts. The list of current Internet- + Drafts is at http://datatracker.ietf.org/drafts/current/. + + Internet-Drafts are draft documents valid for a maximum of six months + and may be updated, replaced, or obsoleted by other documents at any + time. It is inappropriate to use Internet-Drafts as reference + material or to cite them other than as "work in progress." + + This Internet-Draft will expire on 17 October 2017. + +Copyright Notice + + Copyright (c) 2017 IETF Trust and the persons identified as the + document authors. All rights reserved. + + This document is subject to BCP 78 and the IETF Trust's Legal + Provisions Relating to IETF Documents (http://trustee.ietf.org/ + license-info) in effect on the date of publication of this document. + Please review these documents carefully, as they describe your rights + and restrictions with respect to this document. + +Table of Contents + + 1. Text Styles + 1.1. em/strong + 1.2. tt + 1.3. bcp14 + 1.4. sup/sub + 2. Section Titles + 2.1. Title in element, including markup + 2.2. Title with xref: Section 2.2 + 2.3. Title with id + 2.4. Test: Comment + 3. Renaming References + 4. Lists + 4.1. Definition Lists + 4.2. Ordered Lists + 4.2.1. Styles + 4.3. Unordered Lists + 4.4. Unordered Lists (multi-paragraph / nested) + 4.5. Unordered Lists (empty=true) + 4.6. Referring to list items + 5.
+ 6.