Re: [TOOLS-DEVELOPMENT] Preview release of Text Submission Converter, id2xml

Megan Ferguson <mferguson@amsl.com> Mon, 26 June 2017 22:48 UTC

Return-Path: <mferguson@amsl.com>
X-Original-To: tools-development@ietfa.amsl.com
Delivered-To: tools-development@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A655812702E for <tools-development@ietfa.amsl.com>; Mon, 26 Jun 2017 15:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K9_vS7zIIbek for <tools-development@ietfa.amsl.com>; Mon, 26 Jun 2017 15:48:47 -0700 (PDT)
Received: from mail.amsl.com (c8a.amsl.com [4.31.198.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A7F0126E3A for <tools-development@ietf.org>; Mon, 26 Jun 2017 15:48:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by c8a.amsl.com (Postfix) with ESMTP id 474451CA55C; Mon, 26 Jun 2017 15:48:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from c8a.amsl.com ([127.0.0.1]) by localhost (c8a.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qPUUrOXKaFwf; Mon, 26 Jun 2017 15:48:25 -0700 (PDT)
Received: from [10.0.1.11] (cpe-76-168-191-223.socal.res.rr.com [76.168.191.223]) by c8a.amsl.com (Postfix) with ESMTPA id 13FB71CA55B; Mon, 26 Jun 2017 15:48:25 -0700 (PDT)
From: Megan Ferguson <mferguson@amsl.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 26 Jun 2017 15:48:46 -0700
Message-Id: <A13449FF-870C-472F-BA94-91AE3D627706@amsl.com>
Cc: tools-development@ietf.org
To: henrik@levkowetz.com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-development/e2-JRy8HwWa_8-JGjP7G6WwO0Bw>
Subject: Re: [TOOLS-DEVELOPMENT] Preview release of Text Submission Converter, id2xml
X-BeenThere: tools-development@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Tools Development list server <tools-development.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-development>, <mailto:tools-development-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-development/>
List-Post: <mailto:tools-development@ietf.org>
List-Help: <mailto:tools-development-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-development>, <mailto:tools-development-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2017 22:48:50 -0000

Hi Henrik,

Input file: draft-ietf-bmwg-ipv6-tran-tech-benchmarking-08
Version: id2xml 1.0.2
Issues: File not originally generated with XML, table-to-figure, lists, numbered sections after References
Files available: 
https://www.rfc-editor.org/rfc/v3test/draft-ietf-bmwg-ipv6-tran-tech-benchmarking-08v3.original
https://www.rfc-editor.org/rfc/v3test/draft-ietf-bmwg-ipv6-tran-tech-benchmarking-08v3.txt
https://www.rfc-editor.org/rfc/v3test/draft-ietf-bmwg-ipv6-tran-tech-benchmarking-08v3.xml
https://www.rfc-editor.org/rfc/v3test/draft-ietf-bmwg-ipv6-tran-tech-benchmarking-08v3-rfcdiff.html

1) The original includes a table that is turned into a figure (instead of vice versa):

Original:
             Table 1. IPv6 Transition Technologies Categories
      +---+--------------------+------------------------------------+
      |   | Generic category   | IPv6 Transition Technology         |
      +---+--------------------+------------------------------------+
      | 1 | Dual-stack         | Dual IP Layer Operations [RFC4213] |
      +---+--------------------+------------------------------------+
      | 2 | Single translation | NAT64 [RFC6146],  IVI [RFC6219]    |
      +---+--------------------+------------------------------------+
      | 3 | Double translation | 464XLAT [RFC6877], MAP-T [RFC7599] |
      +---+--------------------+------------------------------------+
      | 4 | Encapsulation      | DSLite[RFC6333], MAP-E [RFC7597]   |
      |   |                    | Lightweight 4over6 [RFC7596]       |
      |   |                    | 6RD [RFC5569], 6PE [RFC4798], 6VPE |
      |   |                    | 6VPE [RFC4659]                     |
      +---+--------------------+------------------------------------+


id2xml output:
             Figure 1: IPv6 Transition Technologies Categories
    +---+--------------------+------------------------------------+ | |
              Generic category | IPv6 Transition Technology |
   +---+--------------------+------------------------------------+ | 1 |
             Dual-stack | Dual IP Layer Operations [RFC4213] |
   +---+--------------------+------------------------------------+ | 2 |
          Single translation | NAT64 [RFC6146], IVI [RFC6219]  |
   +---+--------------------+------------------------------------+ | 3 |
         Double translation | 464XLAT [RFC6877], MAP-T [RFC7599] |
   +---+--------------------+------------------------------------+ | 4 |
   Encapsulation | DSLite[RFC6333], MAP-E [RFC7597]  | | | | Lightweight
   4over6 [RFC7596]  | | | | 6RD [RFC5569], 6PE [RFC4798], 6VPE | | | |
                             6VPE [RFC4659]  |
      +---+--------------------+——————————————————+


2) FYI - It appears that the Acknowledgements section was removed — probably because it appeared as 
a numbered section after the references.

3) There is a bit of a spacing oddity after “Throughput”.  This is not highlighted in the diff.

Original:

3. Terminology

   A number of terms used in this memo have been defined in other RFCs.
   Please refer to those RFCs for definitions, testing procedures and
   reporting formats.

   Throughput (Benchmark)  - [RFC2544]

   Frame Loss Rate (Benchmark) - [RFC2544]

   Back-to-back Frames (Benchmark) - [RFC2544]

   System Recovery (Benchmark) - [RFC2544]

   Reset (Benchmark) - [RFC6201]

   Concurrent TCP Connection Capacity (Benchmark) - [RFC3511]

   Maximum TCP Connection Establishment Rate (Benchmark) - [RFC3511]


id2xml output:

3.  Terminology

   A number of terms used in this memo have been defined in other RFCs.
   Please refer to those RFCs for definitions, testing procedures and
   reporting formats.

   Throughput (Benchmark)  - [RFC2544]


   Frame Loss Rate (Benchmark) - [RFC2544]

   Back-to-back Frames (Benchmark) - [RFC2544]

   System Recovery (Benchmark) - [RFC2544]

   Reset (Benchmark) - [RFC6201]

   Concurrent TCP Connection Capacity (Benchmark) - [RFC3511]

   Maximum TCP Connection Establishment Rate (Benchmark) - [RFC3511]


4) Numbering started up again with 1 instead of the expected 6:

Original:

   The test traffic SHOULD follow the following steps.

   1. Query for the AAAA record of a domain name (from client to DNS64
   server)

   2. Query for the AAAA record of the same domain name (from DNS64
   server to authoritative DNS server)

   3. Empty AAAA record answer (from authoritative DNS server to DNS64
   server)

   4. Query for the A record of the same domain name (from DNS64 server
   to authoritative DNS server)

   5. Valid A record answer (from authoritative DNS server to DNS64
   server)

   6. Synthesized AAAA record answer (from DNS64 server to client)

id2xml output:

   1.  Query for the AAAA record of a domain name (from client to DNS64
   server)

   2.  Query for the AAAA record of the same domain name (from DNS64
   server to authoritative DNS server)

   3.  Empty AAAA record answer (from authoritative DNS server to DNS64
   server)

   4.  Query for the A record of the same domain name (from DNS64 server
   to authoritative DNS server)

   5.  Valid A record answer (from authoritative DNS server to DNS64
   server)

   1.  Synthesized AAAA record answer (from DNS64 server to client)

5) This list is interesting as it would probably require the use of the “counter” mentioned at 
https://xml2rfc.tools.ietf.org/xml2rfcFAQ.html#anchor23.

It looks like id2xml turned it into artwork because there was no space between the numbered item 
and the following text.  

If we update to add a space between the numbered item and the following text, we get renumbering.  
Not sure how id2xml could detect such a case.

id2xml:

   Details and parameters:

   1. Caching
   First, all the DNS queries MUST contain different domain names (or
   domain names MUST NOT be repeated before the cache of the DUT is
   exhausted). Then new tests MAY be executed with domain names, 20%,
   40%, 60%, 80% and 100% of which are cached. We note that ensuring a
   record being cached requires repeating it both "late enough" after
   the first query to be already resolved and be present in the cache
   and "early enough" to be still present in the cache.

   2. Existence of AAAA record
   First, all the DNS queries MUST contain domain names which do not
   have an AAAA record and have exactly one A record.

xml:
   Details and parameters:</t>

	<figure><artwork><![CDATA[
1. Caching
First, all the DNS queries MUST contain different domain names (or
domain names MUST NOT be repeated before the cache of the DUT is
exhausted). Then new tests MAY be executed with domain names, 20%,
40%, 60%, 80% and 100% of which are cached. We note that ensuring a
record being cached requires repeating it both "late enough" after
the first query to be already resolved and be present in the cache
and "early enough" to be still present in the cache.

2. Existence of AAAA record
First, all the DNS queries MUST contain domain names which do not
have an AAAA record and have exactly one A record.
]]></artwork>
	</figure>

Thank you.

RFC Editor/mf