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 <> Tue, 05 November 2019 16:22 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C559A12022A for <>; Tue, 5 Nov 2019 08:22:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.899
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 ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id anLY_cCcV_d8 for <>; Tue, 5 Nov 2019 08:22:52 -0800 (PST)
Received: from ( [IPv6:2001:1900:3001:11::3d]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id E8C00120124 for <>; Tue, 5 Nov 2019 08:22:51 -0800 (PST)
Received: from ([]:52572 helo=tannat.localdomain) by with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <>) id 1iS1bX-00045d-CD; Tue, 05 Nov 2019 08:22:51 -0800
To: Daniel Kahn Gillmor <>,
References: <> <> <> <>
From: Henrik Levkowetz <>
Message-ID: <>
Date: Tue, 5 Nov 2019 17:22:43 +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: <>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ekUA690GWjnua460urlfFqwa7CrxgSLiv"
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <>
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-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 05 Nov 2019 16:22:54 -0000

Hi Daniel,


On 2019-11-05 17:01, Henrik Levkowetz wrote:
> 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 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
> 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:

Mmm.  That lacked the necessary version number, so was incorrect.  I also
see that the XML file is not pure v3, so HTML won't be generated by the
submission tool.

If you run the current XML file through 'xml2rfc --v2v3 ...' you should get
a pure v3 file you can use for future work.

Best regards,