



Network Working Group                                    J. Reschke, Ed.
Internet-Draft                                   Πυθαγόρας ( Pythagoras)
Intended status: Experimental       Εργαστήριο γεωμετρία (Geometry Labs)
Expires: 17 October 2017                                   15 April 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.

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.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

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 "<name>" element, including markup
       2.2.  Title with "xref": Section 2.2
       2.3.  Title with <cref>:id
   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.  "<blockquote>"
   6.  "<aside>"
   7.  "<sourcecode>"
   8.  "SVG"
       8.1.  inline (with @alt attribute)
       8.2.  inline (left)
       8.3.  inline (centered)
       8.4.  inline (right)
       8.5.  included (type svg)
   9.  "<figure>"/"<name>"
   10.  Tables
       10.1.  Bare Table (unnamed, no anchor, with iref)
       10.2.  Bare Table (unnamed, with anchor, not referenced)
       10.3.  Bare Table (unnamed, with anchor, referenced)
       10.4.  Named Table
       10.5.  Aligned Table 1
       10.6.  Colspan 1
       10.7.  Rowspan 1
       10.8.  References
       10.9.  Markup in Table Cells
       10.10.  Examples from existing RFCs
              10.10.1.  RFC 7541
   11.  Section References
       11.1.  By Section Number
       11.2.  By Relative URI
       11.3.  To "References"
       11.4.  To Unnumbered Section
   12.  Some References
   Appendix A.  Change Log
   Appendix BContributors
   Appendix DAuthors' Addresses

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".

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 s_(ubscript).  This is s^(uperscript).
   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 <cref>:id

   Test: a reference to the comment.

3.  Renaming References



   Test: [0REFTEST].

4.  Lists

4.1.  Definition Lists

   hanging=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.

   hanging=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.

   hanging=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.

   hanging=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.

   hanging=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.

   hanging=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.  Two *2*

   3.  Three _3_

   List item 4.2 is "One".

   4.  The quick brown fox jumps over the lazy dog.

       _The quick brown fox jumps over the lazy dog._

   List item 4.2 is the list above.

   1.  list 1 / item 1

   2.  list 1 / item 2

   The items below should continue ordering from above.

   3.  list 1 / item 3

   4.  list 1 / item 4

   The items below should be numbered starting with 17.

   17. list 1 / item 17

   18. list 1 / item 18

   The items below should be numbered starting with 19.

   5.  list 1 / item 19

   6.  list 1 / item 20

4.2.1.  Styles

   1

   1.  1

   2.  2

   3.  3 (check: 4.2.1)

   a

   a.  a

   b.  b

   c.  c (check: 4.2.1)

   A

   A.  A

   B.  B

   C.  C (check: 4.2.1)

   i

   i.    i

   ii.   ii

   iii.  iii (check: 4.2.1)

   I

   I.    I

   II.   II

   III.  III (check: 4.2.1)

   REC%d

   REC1  REC1

   REC2  REC2

   REC3  REC3 (check: 4.2.1)

   REC%c with start=5

   RECe  e

   RECf  f

   RECg  g (check: 4.2.1)

   REC%i grouped

   RECi  i

   REC%i grouped, continued

   RECii ii (check: 4.2.1)

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

      -  A

      -  B

      -  C

4.5.  Unordered Lists (empty=true)

      A

      B

      C

4.6.  Referring to list items

   (default) see Section 4.2.

   (counter) see 4.2.

   (title) see ol1.

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

   (counter, TEXTCONTENT) see TEXTCONTENT.

   (title, TEXTCONTENT) see TEXTCONTENT.

5.  "<blockquote>"

   Let's cite:

   <blockquote>:
   "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.  two
   The parts above have anchors (Section 5 and Section 5), but this one
   does not.

   without block content:

   <blockquote>:
             "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":

   <blockquote>:
           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.

6.  "<aside>"

   <aside>:
   *Note:* this is an "aside".
   A second paragraph.

7.  "<sourcecode>"

   Text before...

   <CODE BEGINS>
   ABC
   <CODE ENDS>

   Text after...

   Inside figure

   <CODE BEGINS>
   DEF
   <CODE ENDS>

8.  "SVG"

8.1.  inline (with @alt attribute)

   Text before...

   (Artwork only available as (unknown type): <None>)

   Text after...

8.2.  inline (left)

   Text before...

   (Artwork only available as (unknown type): <None>)

   Text after...

8.3.  inline (centered)

   Text before...

            (Artwork only available as (unknown type): <None>)

   Text after...

8.4.  inline (right)

   Text before...

                      (Artwork only available as (unknown type): <None>)

   Text after...

8.5.  included (type svg)

                +-----+
                |     |
                +-----+

                     Figure 1: References of [RFC7991]

   This paragraph has the anchor 'Section 8.5' 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)

   +----------+----------+
   | Column 1 | Column 2 |
   +==========+==========+
   | Value 1  | Value 2  |
   +----------+----------+

                                  Table 1

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

   +----------+----------+
   | Column 1 | Column 2 |
   +==========+==========+
   | Value 1  | Value 2  |
   +----------+----------+

                                  Table 2

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

   +----------+----------+
   | Column 1 | Column 2 |
   +==========+==========+
   | Value 1  | Value 2  |
   +----------+----------+

                                  Table 3

   See Table 3.

10.4.  Named Table

   +----------+----------+
   | Column 1 | Column 2 |
   +==========+==========+
   | Value 1  | Value 2  |
   +----------+----------+

                            Table 4: Table Name

10.5.  Aligned Table 1

   +----------+----------+----------+
   | Column 1 | Column 2 | Column 3 |
   +==========+==========+==========+
   | 1        |    2     |        3 |
   +----------+----------+----------+

                                  Table 5

10.6.  Colspan 1

   +----------+----------+----------+
   | Column 1 | Column 2 | Column 3 |
   +==========+==========+==========+
   | 1        |       2 and 3       |
   +----------+---------------------+

                                  Table 6

10.7.  Rowspan 1

   +----------+----------+----------+
   | Column 1 | Column 2 | Column 3 |
   +==========+==========+==========+
   | 1        | 2 and 5  | 3        |
   +----------+          +----------+
   | 4        |          | 6        |
   +----------+----------+----------+

                                  Table 7

10.8.  References

   +----------+----------+
   | Column 1 | Column 2 |
   +==========+==========+
   | 1        | 2        |
   +----------+----------+

                                  Table 8

10.9.  Markup in Table Cells

   +---------------------------------------------------------------------------+--------------+
   +===========================================================================+==============+
   +---------------------------------------------------------------------------+--------------+

                                  Table 9

10.10.  Examples from existing RFCs

10.10.1.  RFC 7541

   (<tfoot> added for testing purposes)

[encoded data, 18980 characters]

                                  Table 10

11.  Section References

11.1.  By Section Number

   "of": See <relref>:.

   "comma": See <relref>:.

   "parens": See <relref>:.

   "bare": See <relref>:.

   (default): See <relref>:.

   With text content: See <relref>:the wonderful Section 2 of RFC 7991.

11.2.  By Relative URI

   "of": See <relref>:.

   "comma": See <relref>:.

   "parens": See <relref>:.

   "bare": See <relref>:.

   (default): See <relref>:.

11.3.  To "References"

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

   See references below (Section 12).

11.4.  To Unnumbered Section

   See Section appendix.b, where the title is "Contributors".

   See contributors below (Section appendix.b).

12.  Some References

   [0REFTEST] Reschke, J., "Reference Test", additional prose goes
              _here_, November 2014.

                 Due to a "<displayreference>" element, this should be
                 listed as "[0REFTEST]".

   [DUP]      Reschke, J., "Reference Duplicate Test", July 2016.

   [DUP]      Reschke, J., "Another Reference Duplicate Test", July
              2016.

                 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, 2001.

                 (In Russian)

   [RFC7991]  Hoffman, P., "The "xml2rfc" Version 3 Vocabulary",
              RFC 7991, December 2016, <https://rfc-editor/info/
              rfc7991>.

   [RFC7996]  Brownlee, N., "SVG Drawings for RFCs: SVG 1.2 RFC",
              RFC 7996, DOI 10.17487/RFC7996, December 2016,
              <https://www.rfc-editor.org/info/rfc7996>.

   [STPETER]  ᏚᎢᎵᎬᎢᎬᏒ Inc., "ᏚᎢᎵᎬᎢᎬᏒ'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., 藤沢, 淳., and D. Jackson, "Scalable Vector
              Graphics (SVG) 1.1 Specification", W3C Recommendation REC-
              SVG11-20030114, 14 January 2003,
              <http://www.w3.org/TR/2003/REC-SVG11-20030114/>.

                 Latest version available at (http://www.w3.org/TR/
                 SVG11/).

   [UNQUOTED] Reschke, J., "Reference Test", March 2015.

                 (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, 26
              November 2008, <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.

Contributors

   Foo bar.

Index

   B (Section appendix.c)M (Section appendix.c)R (Section appendix.c)T
   (Section appendix.c)

   B (Section appendix.c)
      Bare Table
            Bare Table (Table 1)
   M (Section appendix.c)
      Markup in titles
              Markup in titles (Section 2)
   R (Section appendix.c)
      Reference renaming
              Reference renaming (Section 3)
   T (Section appendix.c)
      Text Styles
            Text Styles (Section 1)

Authors' Addresses

   Julian Reschke (editor)
   line 1
   line 2
   line 3


   Πυθαγόρας ὁ Σάμιος
   Εργαστήριο γεωμετρία (Geometry Labs)
   Πυθαγόρειο
   Ελλάδα
