Re: [Tools-discuss] Why post text and not XML? (was: I-D statistics)

John C Klensin <john-ietf@jck.com> Sun, 17 March 2024 02:36 UTC

Return-Path: <john-ietf@jck.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 14067C14F6FC; Sat, 16 Mar 2024 19:36:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8WCSFMlIscMO; Sat, 16 Mar 2024 19:36:01 -0700 (PDT)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47033C14F5FA; Sat, 16 Mar 2024 19:36:01 -0700 (PDT)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1rlgNI-000070-1E; Sat, 16 Mar 2024 22:35:48 -0400
Date: Sat, 16 Mar 2024 22:35:42 -0400
From: John C Klensin <john-ietf@jck.com>
To: Jay Daley <exec-director@ietf.org>, Carsten Bormann <cabo@tzi.org>
cc: Michael Richardson <mcr+ietf@sandelman.ca>, tools-discuss <tools-discuss@ietf.org>
Message-ID: <71E0BAB63C8103D6CF938A1D@PSB>
In-Reply-To: <8E54167D-4539-433B-8301-21763CA12180@ietf.org>
References: <1952067F-6467-4BEC-9CA5-BB8B16FA662B@tzi.org> <14807.1709682543@obiwan.sandelman.ca> <effb521c-1e20-cff8-acd3-17212a6b3fb9@gmail.com> <447A96F55A3D36851570B3B6@PSB> <60f18950-a2e0-16be-3a05-33f9a637062d@gmail.com> <CABcZeBPzYvscB3yeaRYQg6waR1BvqQMhJ+GpoKAZThoDvREs+w@mail.gmail.com> <ZfYOMEGdrGaz3BXB@faui48e.informatik.uni-erlangen.de> <512D8379-8E25-4FA6-B533-B872003126C2@tzi.org> <8E54167D-4539-433B-8301-21763CA12180@ietf.org>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/KthEGtbWEXWMKmnbXXm8-Lmibp0>
Subject: Re: [Tools-discuss] Why post text and not XML? (was: I-D statistics)
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 17 Mar 2024 02:36:04 -0000


--On Sunday, March 17, 2024 10:13 +1000 Jay Daley
<exec-director@ietf.org> wrote:

>> On 17 Mar 2024, at 07:33, Carsten Bormann <cabo@tzi.org>
>> wrote:
>> 
>> Toerless,
>> 
>> we do have crefs in RFCXML for exactly this purpose: editors'
>> comments, properly highlighted as such (and switchable with
>> comments=no, although the anti-PI crusade may have made this
>> harder in RFCXMLv3; I haven't tried this in RFCXMLv3 yet).
> 
> The <cref> construct is a heavyweight solution and heavyweight
> constructs are often not used.

I agree.  I also somewhat disagree with what I understand to be
Carsten's characterization of editor's comments.  If nothing
else (and as I sort of said earlier in passing) there are
multiple types of editor's comments.  Some are just notes by the
editor to the editor.  When there are multiple editors, they may
be comments to keep each other informed about what is being
done.  One set of comments I didn't mention in my response to
Brian is that, if there are disagreements within a WG about how
a particular issue should be handled, I will often include
comments with pointers to discussion threads or even text of
multiple suggested changes in comments so I can make the shift
quickly if and when the discussion converges on one of them or a
small variation on it.   When it seems useful to include those
pointers in a document, I will try to push them all into a CREF
(an element that, btw, is not particularly well-designed for
that purpose... and yes, there are outstanding tickets are
earlier discussions on this list).  But, more often than not,
keeping them as notes to the editorial team in comments seems
more appropriate.

And then there is the stuff that clearly belongs in <CREF>s,
e.g., issues that an editor wants to call to the attention of
the WG and promote discussion for some reason including known
loose ends.

> I am strongly against PIs because they can only be actioned by
> a custom written tool and will be ignored by all standard XML
> tools.  In this specific case I also consider a PI as the
> wrong solution because it means changing the content of the
> document to choose a specific output format.

I'm not completely sure I understand parts of the issue, but
agree in general with being cautious about the use of PIs unless
they are clearly needed.

> If people want to remove comments (real XML comments or a
> specific element) then that's best left as an operation they
> invoke in their preferred tool.  (If there are well used tools
> that don't do this then we can write some custom XSLT that
> people can run that will remove comments.)

The problem discussed in my response to Brian was not "removing
comments" but "removing selected groups/types of comments".  The
problem there is that we have no established conventions about
groups or types and how to identify them.  For reasons that I
think are very similar to Carsten's arguments for treating the
authoring language differently from the production/publication
one, I don't think we should spend time trying to invent such a
typology or associated syntax.  Even if we were to do so,
retrofitting existing documents, even working drafts, would be a
fairly significant issue in many cases.  So I think we are
talking about author-specific or document-specific tools: not a
big deal for many of us, probably not a big deal for anyone who
is actually working directly in XML, but, as usual, I think the
edge cases are worth worrying about.

> The analog here is for a command line switch to xml2rfc to
> strip comments (real XML comments or a specific element).

Yes.  And with the same observation about types of comments
rather than all comments.   If we were to decide that we simply
did not want comments (any comments) in the posted versions of
RFCXML for I-Ds, such an option might actually make sense (and
would be a good match for some comments made to me offlist).
But I don't think we are there yet and, personally, hope we
don't get there.

best,
  john