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

Henrik Levkowetz <henrik@levkowetz.com> Thu, 02 November 2017 15:07 UTC

Return-Path: <henrik@levkowetz.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 0B2B813F92E for <tools-development@ietfa.amsl.com>; Thu, 2 Nov 2017 08:07:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 xJE05OlmsRlz for <tools-development@ietfa.amsl.com>; Thu, 2 Nov 2017 08:07:40 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF85813FAA4 for <tools-development@ietf.org>; Thu, 2 Nov 2017 08:07:40 -0700 (PDT)
Received: from h-99-61.a357.priv.bahnhof.se ([82.196.99.61]:65051 helo=[192.168.1.120]) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1eAH5n-0001gf-4A; Thu, 02 Nov 2017 08:07:40 -0700
To: Megan Ferguson <mferguson@amsl.com>
References: <14FDCC69-673E-426B-BCD2-EE438596E5EE@amsl.com>
Cc: tools-development@ietf.org
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <d1906647-85e2-38e5-b4ab-613fe214d1dc@levkowetz.com>
Date: Thu, 02 Nov 2017 16:07:31 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <14FDCC69-673E-426B-BCD2-EE438596E5EE@amsl.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="iXFpAN6gOV3ux2VkFmppeA3dc1742WCnf"
X-SA-Exim-Connect-IP: 82.196.99.61
X-SA-Exim-Rcpt-To: tools-development@ietf.org, mferguson@amsl.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-development/ir1muNSFAuehRDzNEEa4H_kIUfo>
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: Thu, 02 Nov 2017 15:07:42 -0000

Hi Megan,

On 2017-11-02 15:18, Megan Ferguson wrote:
> Hi Henrik,
> 
> Input file: draft-ietf-nfsv4-xattrs-06
> Version: 1.3.0 (we still need to update to 1.3.1)
> Issue: Table markup in xml
> Files available:
> https://www.rfc-editor.org/rfc/v3test/draft-ietf-nfsv4-xattrs-06.original
> https://www.rfc-editor.org/rfc/v3test/draft-ietf-nfsv4-xattrs-06.txt
> https://www.rfc-editor.org/rfc/v3test/draft-ietf-nfsv4-xattrs-06.xml
> 
> Note: I didn’t include a diff as the text output is the same as the
> .original version.

Ack, right.

> Section 8.4.5. includes a table that is marked up in xml a bit
> differently than we expected.
> 
> The text output is the same when using the current version of
> xml2rfc, but instead of creating a continuous comma-separated list in
> <c> tags, it has generated <c> tags for each line.

Hmm, right.

> We are concerned
> about how this table would be handled by v3 as well as other formats
> (html for example). To try to work around, we added blank lines above
> and below and tried separating the entries using +— lines between
> them (to no avail). Is there another way to make this table work
> (other than copying the figure in as <artwork>)?

I see the problem.  I'm not sure there's a way for the converter to know
for sure whether the lines should be part of one single cell, or should
be separate cells (the way it's done now).

Handling this as <artwork/> would not be good.  It's possible that the
only really good handling would be to manually remove all the extra
<c> and </c> tags from the xml.

I'll see if I can tweak id2xml somehow, though.


Best regards,

	Henrik