Re: [xml2rfc-dev] xml2rfc: use of <boilerplate> in preptool step

Julian Reschke <julian.reschke@gmx.de> Fri, 11 October 2019 06:59 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BDC512010D for <xml2rfc-dev@ietfa.amsl.com>; Thu, 10 Oct 2019 23:59:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 udeN5Mt0s-_9 for <xml2rfc-dev@ietfa.amsl.com>; Thu, 10 Oct 2019 23:58:59 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA4FF12008B for <xml2rfc-dev@ietf.org>; Thu, 10 Oct 2019 23:58:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570777126; bh=p44u0YeZ6Hg2FCc/b1WkaFf8f8Kt23zZ3x9/SgNkmBk=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=FdieSYI1IRjF2sBZZ5OOnPBGbDB7NozdwdHaIpzadWqR7ULdCGLGGa/DCZb+J0/MJ 2O4hxAkLMcztCbPBo7KgJ4Jt7ljKaPPS03qnR5g8z0T//0oUFJ5VIZIBJaDf/+pF0g oVtIdUIYmG4IOjh6pi1wd8mPFjEXxAiNyMuT3OXw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.148.137]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N7R1J-1i0aB12x8n-017kZ6; Fri, 11 Oct 2019 08:58:46 +0200
To: Martin Thomson <mt@lowentropy.net>, xml2rfc-dev@ietf.org
References: <6e36282d-c6d2-6031-2002-e4bbc85b3fc0@gmx.de> <6D64EA29-B4A3-4DF7-A5F0-1B6D4B83886D@rfc-editor.org> <4c8e3e4a-b7d8-4c49-a8b4-97435946b91d@www.fastmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <260d53c2-cb36-21e9-1ba8-798dc5163677@gmx.de>
Date: Fri, 11 Oct 2019 08:58:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <4c8e3e4a-b7d8-4c49-a8b4-97435946b91d@www.fastmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:JJsBI7YM0tNFrMAZwjI5G4mJ5lSJrh0s5jdfwc+ruIGwvklFGPF Tqf8NsTX4NJkd9Q/zFPOehEWvHzaqArcFxkoWa66xkoiCl+9c0CRHR8IOGVJZuRCtRZSLRd jiJk+9qc/j0IveEnhB65bPl8qeWvlC2WJgpN2PBRBB9vXuhKfRc1kFY9PYtiR+FHNn7aJVC i3P4pi+BeLv16wQ4co47Q==
X-UI-Out-Filterresults: notjunk:1;V03:K0:ePas//sZMJs=:Y/guseZoyhE8m+6oKV5Jwb AEF90n14Yn6EK0XAb2UtCM/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ft Hi+1BTJhciCH0nyurQ8N1pYPDdiZJseW5Wa2ezZuFa90EGjbbvEigvIVruaSPjmy0im+38b1h 4Iz5jWVdXP5VD0HQMUk4siBStuCyFIRoYjnozH/Od2/g+FmthrH5zh/iOmwdHlH0kBGnnGlvx qK1EFNrEUOEoxxSJocLDbVwBxFhIvWeWkdOovcVlxeK3kMp8e3rXsJQpZVzo=
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/g4mqLy9aB6v1FmNCYVy0_FXOMrw>
Subject: Re: [xml2rfc-dev] xml2rfc: use of <boilerplate> in preptool step
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Oct 2019 06:59:02 -0000

On 11.10.2019 08:37, Martin Thomson wrote:
> On Thu, Oct 10, 2019, at 03:44, Heather Flanagan wrote:
>> I feel fairly strongly that the final XML must be self-contained. While
>> someone can derive the TOC based in section headers, deriving details
>> is not as good as just have the thing available in one place.
>
> I'm struggling to understand this argument.  In what way does having a TOC in the XML make the document more self-contained?  It only seems to add redundancy, which only invites contradiction as far as I can see.  In my view, informed by long experience with DRY (https://en.wikipedia.org/wiki/Don%27t_repeat_yourself), derivations are always far more robust.

Yes.

> Removing the redundancy, all you have is a signal about the desired *location* of the TOC, but I don't see any value in encoding that information.

Oh, that isn't supposed to be variable anyway.

>> You don’t agree. I get that. But I am insisting on this one.
>
> I get the appeal to authority bit (or assertion thereof really), but I don't think we should operate that way, and I hope that you don't expect us to accede to that either.

In particular, I would hope that the principle in question would be
applied everywhere, not just here. (Reminder: there is a least one far
more serious case where the canonical XML is not self-contained, and the
rendering depends on a concrete implementation (parts of which
undocumented), and a third-party database - Unicode - which is not
immutable).

Best regards, Julian