Re: [Tools-discuss] idnits 2.16.02 counts line length using bytes and not characters (but xml2rfc 2.34.0 line-wraps counting chars, not bytes)

Henrik Levkowetz <henrik@levkowetz.com> Tue, 05 November 2019 16:01 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A26F91200E6 for <tools-discuss@ietfa.amsl.com>; Tue, 5 Nov 2019 08:01:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 xBNVipF00HBk for <tools-discuss@ietfa.amsl.com>; Tue, 5 Nov 2019 08:01:46 -0800 (PST)
Received: from durif.tools.ietf.org (durif.tools.ietf.org [IPv6:2001:1900:3001:11::3d]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08CF312013A for <tools-discuss@ietf.org>; Tue, 5 Nov 2019 08:01:46 -0800 (PST)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:52449 helo=tannat.localdomain) by durif.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1iS1H7-0007PQ-5v; Tue, 05 Nov 2019 08:01:45 -0800
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, tools-discuss@ietf.org
References: <87h83jpdp1.fsf@fifthhorseman.net> <b045766b-ef0b-7dbd-cf34-b1f2f332c151@levkowetz.com> <87woceo61e.fsf@fifthhorseman.net>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <7072e27a-e214-ff30-a6de-93f26796c706@levkowetz.com>
Date: Tue, 5 Nov 2019 17:01:37 +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: <87woceo61e.fsf@fifthhorseman.net>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uKsF1mTsINER821I1R5xI5uct7GToeeJD"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: tools-discuss@ietf.org, dkg@fifthhorseman.net
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 durif.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/heSnZlmnymyJy8L0pFiMpyyQ5c4>
Subject: Re: [Tools-discuss] idnits 2.16.02 counts line length using bytes and not characters (but xml2rfc 2.34.0 line-wraps counting chars, not bytes)
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Nov 2019 16:01:48 -0000

Hi Daniel,

On 2019-11-05 13:34, Daniel Kahn Gillmor wrote:
> On Mon 2019-11-04 22:07:00 +0100, Henrik Levkowetz wrote:
> 
>> Agreed.  A rewrite of idnits which will do better in this respect is
>> in progress.
> 
> great, thanks!
> 
> By the way, the incluson of UTF-8 characters has been really helpful for
> this specific draft, as it permits pretty diagrams of MIME structure
> that would be tedious to explain in text, or harder to follow visually
> if we left out edges between parent and child nodes.
> 
> I really appreciate the work that goes into modernizing the IETF toolchain
> to permit these improvements.
> 
> My only regret is that the htmlizer on tools.ietf.org seems to work from
> the uploaded .txt variant, rather than building the html directly from
> the .xml source.  "xml2rfc --html --v3" produces a document that is
> *much* nicer to read (and better structured from an HTML point of view)
> than the htmlized txt source.
> 
> Is there any plan to generate the HTML from the uploaded xml in this way
> for future documents?

If you submit v3 XML, HTML is already being generated from the XML.

Right at the moment, it looks like the net (or wider area?) that
datatracker.ietf.org lives on is unreachable (I see this for multiple
machines in the same geographic area) but when it's reachable again,
you should see a link to the generated html on the datatracker page
for the document, and you should also find it next to the .txt and
.xml files in the repository:

  http://www.ietf.org/id/draft-autocrypt-lamps-protected-headers.html

Best regards,

	Henrik