Re: Looking for a grammar/spelling tool for XML I-D

Nico Williams <> Thu, 20 August 2020 18:34 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 47B8C3A129F for <>; Thu, 20 Aug 2020 11:34:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id kb8Wrc9YJgPh for <>; Thu, 20 Aug 2020 11:34:57 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 0D3C13A129C for <>; Thu, 20 Aug 2020 11:34:56 -0700 (PDT)
X-Sender-Id: dreamhost|x-authsender|
Received: from (localhost []) by (Postfix) with ESMTP id E5A393411B3; Thu, 20 Aug 2020 18:34:54 +0000 (UTC)
Received: from (100-96-12-48.trex.outbound.svc.cluster.local []) (Authenticated sender: dreamhost) by (Postfix) with ESMTPA id 798E6340423; Thu, 20 Aug 2020 18:34:54 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by (trex/5.18.8); Thu, 20 Aug 2020 18:34:54 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|
X-MailChannels-Auth-Id: dreamhost
X-Lonely-Desert: 4d0e72943b38a446_1597948494740_571672117
X-MC-Loop-Signature: 1597948494740:3395717849
X-MC-Ingress-Time: 1597948494739
Received: from (localhost []) by (Postfix) with ESMTP id 3BC277F0A7; Thu, 20 Aug 2020 11:34:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed;; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to;; bh=t8L8WOQtZ2xKzB TG9VFTIH8ug1Y=; b=Wt0oUFIwGLF0vvbCWvEGfd7jCAAwLcYfkI1wNgB2sJ3Nq7 EZkuT3BXSDQB+PbRhwO/iwVepJC1TlwfDAV8JKPK5aZgkiP+uStv1MvYCv4InVVW VrF6e05VzHj6h4OQVbhSKeWcMnrfBKBq1YtDUkC4T+CcUYzaix6Xt/7CznsNE=
Received: from localhost (unknown []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: by (Postfix) with ESMTPSA id 6A3657F0A5; Thu, 20 Aug 2020 11:34:53 -0700 (PDT)
Date: Thu, 20 Aug 2020 13:34:50 -0500
X-DH-BACKEND: pdx1-sub0-mail-a71
From: Nico Williams <>
To: "Eric Vyncke (evyncke)" <>
Cc: "" <>
Subject: Re: Looking for a grammar/spelling tool for XML I-D
Message-ID: <20200820183449.GQ3100@localhost>
References: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedruddutddgjedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqeenucggtffrrghtthgvrhhnpefftdektefhueetveeigfefgeejteejvdfhhefgvddtfeeujeehleeguefhgffhgfenucfkphepvdegrddvkedruddtkedrudekfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehlohgtrghlhhhoshhtpdhinhgvthepvdegrddvkedruddtkedrudekfedprhgvthhurhhnqdhprghthheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqedpmhgrihhlfhhrohhmpehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmpdhnrhgtphhtthhopehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhm
Archived-At: <>
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 20 Aug 2020 18:34:58 -0000

On Thu, Aug 20, 2020 at 09:38:42AM +0000, Eric Vyncke (evyncke) wrote:
> The IESG believes that the I-D review (in last call, in IESG telechat,
> ...) could be improved for some documents if the grammar was correct
> and typos absent (and I plead guilty to do typos in my documents).
> Easier said than done of course.
> Most modern word processors have this feature but I know about no
> tools able to do this check on .XML or .TXT...

Well, this isn't what you're looking for, but my now-pretty-much-
abandoned lyx2rfc tool lets you edit I-Ds in LyX, which is a WYSIWYM GUI
editor and has spell checking (though maybe not grammar checking, not
that I recall).

lyx2rfc is/was a hack though -- a working and workable hack, but hacky
anyways -- using custom insets (hack) for xml2rfc metadata and a format
converter/exporter that first converts to LyXML and then uses XSLTs to
convert to xml2rfc (v2) and then xml2rfc to do final rendering.  Better
LyX integration would be nice, but I don't think anyone is going to put
the effort into it.  Still, using LyX is very nice, and the only
downside is the lack of VIM keybindings.

If the tools team wanted to do something truly awesome, it should look
for a suitable, cross-platform, at least free-as-in-$ editor that
supports some sort of structured text and can be extended to do the
kinds of things I did with LyX, then build the necessary integration
with xml2rfc.  LyX might be one such suitable editor.