Re: [rfc-i] line wrapping in XML

Mark Nottingham <mnot@mnot.net> Sun, 01 November 2020 02:21 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CB403A0DEC; Sat, 31 Oct 2020 19:21:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=mnot.net header.b=ER33Tj1s; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=messagingengine.com header.b=kvVqI7X5
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 EbFK7a1u37KA; Sat, 31 Oct 2020 19:21:32 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DE1D3A0DEB; Sat, 31 Oct 2020 19:21:32 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 9F90FF406CC; Sat, 31 Oct 2020 19:21:15 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 3A9BDF406CC for <rfc-interest@rfc-editor.org>; Sat, 31 Oct 2020 19:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=ER33Tj1s; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=kvVqI7X5
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40cHznMDDuaW for <rfc-interest@rfc-editor.org>; Sat, 31 Oct 2020 19:21:10 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by rfc-editor.org (Postfix) with ESMTPS id D4616F40542 for <rfc-interest@rfc-editor.org>; Sat, 31 Oct 2020 19:21:09 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5D6EC5C0061; Sat, 31 Oct 2020 22:21:25 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 31 Oct 2020 22:21:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=1 GDFTJmEZx/HY5IWNzQxrYjvjABg6wHZrLjPol2shR0=; b=ER33Tj1snriCX9Tie FYPiRCrxK4ROMh6BINl4voQJdN89rUFXMz/YMvYhH2C/EchlEgGRfv55Nvwavsu/ +0JS6nG3z9xJqsFoef63VIfX32NmABYpom2rYHny6hY3WUSnGnjpM0eJNN/UkDNi Df3uIm3K9LGhfjw/a1U8SIhjmtwmngod+64Td+D/vzlo3F/rfufLdvXRcf8H42Va Rrgt7k+k+6kAeGXJ9IU/u0XflO7eNUXobZQhv3xuEFggnEwbt6cz3n/5kev0TQd+ xYkZyfuh0E3Qg+aWUTzb4mbfP79aj0joJ3tJdjUsFfW1fMur1BK56b+rmi7QpcWJ ScNOw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=1GDFTJmEZx/HY5IWNzQxrYjvjABg6wHZrLjPol2sh R0=; b=kvVqI7X5DJn1nZCfxAm4JQHo+MmiaiV9ew6IBPvDnu4GMWkC2nkpAq5mH bDptHCKf8jLVdeiGMX5HjD0IW8qk6B9UHynHBYKJ6I/xAdIJ0ekjqGw1sZIU3dZL WqGGseUzV7ANyaS6yDJ5y9jDFDugUJhxtyX7JLbzNfkrz4F2TvMwja+olLaKtikh sOVAKlNOaa5glZwwzjT2+VWSRIcAyLf0sblvpSMut7sYto9ZALat+YCAlvu9VCEW Kea76lQZsj/Nv+RF4BJrQYyOzh3TDkQDm9Hnr7tHmF+YO/hJMKaA2owSuBeCHr28 ujrBR/pF6tAWD46MoA7DdcgDGC1Rg==
X-ME-Sender: <xms:pBueX0Wo8Y3o4TCPAVKz4iMpIyX3MTPhGP6rkOU4eAZjlztFv8ybFg> <xme:pBueX4m_pMrnkaGyU-lBt2972xvBVzUCYvmM4WMsUxk9hB8hAr7PrqxyIV8oIOsHf uwEkAYxaHAL_-53vQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleekgdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghrkhcu pfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnhgvtheqnecuggftrfgrthhtvg hrnhepvefffffhudetveevhfeuffeigedtuedtheffleetffeftddtgeegjeehieeuteet necuffhomhgrihhnpehmnhhothdrnhgvthenucfkphepudduledrudejrdduheekrddvhe dunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhn ohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:pBueX4b75qNXuu5cG6TALOT3xt0vrKfxJnccxCxTeo4ADhZ1p4guKg> <xmx:pBueXzXovqdEgnt7XZc8nahr6Z3u01YiCIMCj9_304d-QVdpQrZ-kw> <xmx:pBueX-lACDRDtNxoDYvSBPD7LMmf4G94fpMGHzN8WV26ywt1iOZzBg> <xmx:pRueXwiFhHlL3kT4tILQ8Vn5QZ9bf7DznXhXWJdz32ayCXF7Ndn4GA>
Received: from [192.168.7.30] (119-17-158-251.77119e.mel.static.aussiebb.net [119.17.158.251]) by mail.messagingengine.com (Postfix) with ESMTPA id F41AB3280064; Sat, 31 Oct 2020 22:21:22 -0400 (EDT)
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <849CF568-BCAC-4A25-8AB9-104F99F11935@tzi.org>
Date: Sun, 01 Nov 2020 13:21:19 +1100
Message-Id: <5857A5A1-5334-43AA-80B7-8C448FD79274@mnot.net>
References: <ac2a7cfd-d51c-5803-21dc-4fefa5ecf235@nthpermutation.com> <F75DF553-AD3E-47E1-AD95-319D28806A11@fugue.com> <4489975b-1e7c-e869-217e-9ebae3651056@nthpermutation.com> <086c01d6aead$ca98e000$5fcaa000$@olddog.co.uk> <8024C105-0E02-43A5-A27C-6A6A397E2C62@mnot.net> <849CF568-BCAC-4A25-8AB9-104F99F11935@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Subject: Re: [rfc-i] line wrapping in XML
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Cc: rfc-interest@rfc-editor.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>


> On 1 Nov 2020, at 7:41 am, Carsten Bormann <cabo@tzi.org> wrote:
> 
> The obvious fix is to normalize both sides to be compared and do a diff on the normalized versions.
> 
> An imperfect normalizer such as tidy may be good enough for this.
> (Assuming that there also will be some proofreading and not just diff checking.)

I don't think that will work; if we use Tidy pre-submission, it's going to introduce errors that have to be manually corrected at some point. if we use Tidy to create a version of the XML to facilitate comparison, it's of little utility, because the RPC will very likely break lines at different places (since they do it by hand, AIUI).

Cheers,

--
Mark Nottingham   https://www.mnot.net/

_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest