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

Megan Ferguson <mferguson@amsl.com> Tue, 19 December 2017 21:47 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 DFE3D12D85F for <tools-development@ietfa.amsl.com>; Tue, 19 Dec 2017 13:47:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=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 2Wj88tM4j3Ys for <tools-development@ietfa.amsl.com>; Tue, 19 Dec 2017 13:47:48 -0800 (PST)
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 B37E71200FC for <tools-development@ietf.org>; Tue, 19 Dec 2017 13:47:48 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by c8a.amsl.com (Postfix) with ESMTP id 418781CAC60; Tue, 19 Dec 2017 13:47:46 -0800 (PST)
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 Wh8E0ADAuXt3; Tue, 19 Dec 2017 13:47:46 -0800 (PST)
Received: from [10.0.1.20] (cpe-76-168-191-223.socal.res.rr.com [76.168.191.223]) by c8a.amsl.com (Postfix) with ESMTPA id 160401C416D; Tue, 19 Dec 2017 13:47:46 -0800 (PST)
From: Megan Ferguson <mferguson@amsl.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 Dec 2017 13:47:48 -0800
Message-Id: <ED7FD9D2-169F-4329-B883-E8455938E936@amsl.com>
Cc: tools-development@ietf.org
To: Henrik Levkowetz <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/fqoRzgrhlKQJTrkjj_15-75niWc>
Subject: [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: Tue, 19 Dec 2017 21:47:50 -0000

Hi Henrik,

Input file: draft-ietf-curdle-ssh-ext-info-15
id2xml version: 1.4.0
Issue: “Updates" truncation
Level: Minor
Files available: 
https://www.rfc-editor.org/rfc/v3test/draft-ietf-curdle-ssh-ext-info-15.original
https://www.rfc-editor.org/rfc/v3test/draft-ietf-curdle-ssh-ext-info-15.original.xml

Just an FYI that it looks like there is some trouble translating the “Updates” field when it contains a comma-separated list.

From .original
Updates: 4252, 4253, 4254 (if approved) 

From .xml
<rfc submissionType=“IETF" docName="draft-ietf-curdle-ssh-ext-info-15.txt" category="std" updates="4254”>

[Note - this also occurs if there is an “and” before the final value or if there is a different number of updated RFCs.]

When we removed the commas (as in the following), the xml output was correct:

Updates: 4252 4253 4254 (if approved)
or
Updates: 4252 4253 and 4254 (if approved)

Translated in xml to:

<rfc submissionType="IETF" docName="draft-ietf-curdle-ssh-ext-info-15.txt" category="std" updates="4252, 4253, 4254”>

Note - we get correct output for each of the following:

Updates: 4252 and 4253
Updates: 4252 & 4253

We will continue to manually update the comma-separated versions unless we hear from you that it can be addressed with the tool.

Happy holidays!

Megan