Re: [xml2rfc] Insufficiency of txt format

Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 01 February 2021 16:34 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1F53A12BD for <xml2rfc@ietfa.amsl.com>; Mon, 1 Feb 2021 08:34:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level:
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-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=alum.mit.edu
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 Eh6giblQqwbu for <xml2rfc@ietfa.amsl.com>; Mon, 1 Feb 2021 08:34:36 -0800 (PST)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2081.outbound.protection.outlook.com [40.107.237.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CBA53A12BC for <xml2rfc@ietf.org>; Mon, 1 Feb 2021 08:34:36 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PJyB6cJJEFTjbIv/uLi8Qrop54vjU5UJiP+wmLVBe/oFU2nnhYAWU/dC5DQC/cJuh7FCWIUHgXxDBVmQAFUQ4OPlNhI2D9J4a2Qf35KnBfm0nHdffxC983h2kJ/G/AK6z6Vp/izLg5X6pEXDXFTue7Z1Xy3PkSoLKHTvU4u2WLqsNx63WhN6RdeepLcr2cIpLBFeUxlFzIbyafkb1bcBXDT86/WBpDKwZIhAEDh6UYPxKVGqPoo+g0Buj71FVhKDQUWesaqpm9LDgtzIDN54Wm9didusdedW9DmdGnAyFREicGVO01YUQ/y3dXqPiEdTQB1nG2prqsVDeHZ6mYvaSQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e1snvZYi7NFDsVzZkaXPf6cm9IxgrVu4/g7wufa9W5M=; b=ktneI91qqXMYeJ51Yk1cM6wd8K+dEk2x6OcG492DQqTzf0lRUd8PR+PBT1M/EHCOoqtQ0XVb0ZUycvgSuKunPAdKd4Wkr4ZzIWN4DjPhNkuISFwvveMsasMsRsZGbviEl9rG8Ch+ekgcLxgoJr/DWEeDxl5rfUKWFmY8NyUC3/JV7mtFY10ZpUvzLEq0hr56FHHocQI9NfEstJMKY9oIkdpmBW5cR9bo5fFkQ73lGvoXxYez64ykG5B26t5xLuU8GVcZq8B97iQqm9dtkIrqaLK/Gc0GveCrwP3cXo2yqnGneqJ9RXz6qCaXaeClOkRj5BZdLWnqMIs9GC58KRBqHg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=ietf.org smtp.mailfrom=alum.mit.edu; dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e1snvZYi7NFDsVzZkaXPf6cm9IxgrVu4/g7wufa9W5M=; b=NLhYiqJ1/CfZZjsLP/vGVu3IOa1g3Wq5nil3qaQvT1Eb6pOk10WVZMDxGSKM3qbE11LiyBFFZ0aBLw/xLO3e6pKWdqjbx+oHMrvX8+rERqrETAovliwanycaZkf+z4M0MdDIetlIdpAQFa+LMzq1OWTrUfZzM/LRkLLCHypJo8U=
Received: from BL1PR13CA0461.namprd13.prod.outlook.com (2603:10b6:208:2c4::16) by DM6PR12MB4827.namprd12.prod.outlook.com (2603:10b6:5:1d6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.22; Mon, 1 Feb 2021 16:34:34 +0000
Received: from BL2NAM02FT006.eop-nam02.prod.protection.outlook.com (2603:10b6:208:2c4:cafe::84) by BL1PR13CA0461.outlook.office365.com (2603:10b6:208:2c4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.16 via Frontend Transport; Mon, 1 Feb 2021 16:34:34 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=bestguesspass action=none header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
Received: from outgoing-alum.mit.edu (18.7.68.33) by BL2NAM02FT006.mail.protection.outlook.com (10.152.76.239) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12 via Frontend Transport; Mon, 1 Feb 2021 16:34:34 +0000
Received: from MacBook-Air.localdomain (c-24-62-227-142.hsd1.ma.comcast.net [24.62.227.142]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 111GYXON010861 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <xml2rfc@ietf.org>; Mon, 1 Feb 2021 11:34:33 -0500
To: xml2rfc@ietf.org
References: <20210130190821.7504E6D02AD4@ary.qy> <fcf04c37-7d63-337f-a434-92bb26aa27cd@alum.mit.edu> <rv7pcs$fv0$1@gal.iecc.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <9739f26c-30d2-7b04-e866-b556c05ce07a@alum.mit.edu>
Date: Mon, 1 Feb 2021 11:34:32 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <rv7pcs$fv0$1@gal.iecc.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f55fe4dc-5498-4247-2683-08d8c6cf422c
X-MS-TrafficTypeDiagnostic: DM6PR12MB4827:
X-Microsoft-Antispam-PRVS: <DM6PR12MB4827838952A597F720333A5DF9B69@DM6PR12MB4827.namprd12.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: RqF7X2Lu0JQj/lAifUKNqhw//P4UZlu0/NoqprarTChqMPa76ThVeW1kxVN+tcmpDcja/pP2ALX6OSW6F+o9obM2GZhvw54krebR31shPTnfoWYyTWmqGOWEiXYOYdCUNPsH2kI6YpKVzoENVUy1ibfD22QtFzjfSggmBIHZTPUgY0vhtJccemJhN8jd8/llawlpIbNtJ3Ov/2UGOMDI1898icwYf9OVnOrYPCqIiycR9texq5yuVakE7QAxB2Oi1I6WsIRaa07vAqh7FqL3ulcuVG/e6vW+VQRp44C8h/plVl+gUJTUOybDr2J/0V4SrN7YTIdXQ2iyC6V14pQsTAMwTeRLkShkb74XOEtQ2oC/smVovKpptHptbXd32OUK1KKXHwwsSszk+3Jn9vv5pBjPp0bsNXfDis23RTxpFD7vQZa0mtyztEEIGaxAxwGzHTCc2g8ieRFv7mBRDSRjl7Y7e/sGt7xwki2dBWdeVU9PiIARiTvOlYi3WHYIpL4L2yuFVIhj8KyVHIbpvna2OFsBqM9a/KorGVR3ftJIAgQYoDBES+6OBc/l7UtTxfDMsVoTPn1OdWKwVwFGYllx6xVPrEegPGA+Bj9GqDmNc9NVcI0A9TsT1VDHbfRquxvO
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(376002)(39860400002)(136003)(396003)(346002)(46966006)(316002)(53546011)(83380400001)(31696002)(2616005)(786003)(336012)(70586007)(956004)(6916009)(82310400003)(36906005)(70206006)(2906002)(186003)(7596003)(31686004)(478600001)(8936002)(47076005)(86362001)(82740400003)(356005)(5660300002)(75432002)(8676002)(26005)(43740500002); DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 16:34:34.3065 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f55fe4dc-5498-4247-2683-08d8c6cf422c
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: BL2NAM02FT006.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4827
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/gtIcaXciykFI4F9pBnADm6s0BLI>
Subject: Re: [xml2rfc] Insufficiency of txt format
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Feb 2021 16:34:39 -0000

On 1/31/21 9:35 PM, John Levine wrote:
> In article <fcf04c37-7d63-337f-a434-92bb26aa27cd@alum.mit.edu>du>,
> Paul Kyzivat  <pkyzivat@alum.mit.edu> wrote:
>> Of more concern, AFAIK the only reasonable diff tools work on the txt
>> version. IIRC there was once talk of creating a diff tool that worked on
>> the xml, but I haven't heard of any such thing materialized.
> 
> Jim Schaad was working on it, but the stuff he wrote wasn't close to done.
> 
>> I think
>> that would present great challenges, especially if the xml is
>> aesthetically revised while preserving the look. And I would still want
>> to see the diff results in side-by-side form. Also that won't work when
>> one of the versions being diffed predates v3 xml.
> 
> I agree there's no plausible way to do XML diffs on documents using
> different XML vocabularies, but eventually v2 will die out. Our
> tooling is a problem and we underestimated what we'd need beyond
> xml2rfc to create a productive v3 xml environment.

I'll be dead before v2 xml is.

I worked on rfc4566bis for a long time, and it was just published as 
rfc8866. Is is very informative to look at the diff between the two.

And the txt diff will remain an important tool as long as there are 
pre-v3 documents that get bis versions.

>> The only way I have seen to reasonably manage differences in documents
>> with fancier formatting is with change history, such as provided by
>> MSWord. We clearly don't have that with v3 xml.
> 
> Well, we do if we store them in github but that's its own can of worms.

That will only show the changes in the xml. That isn't generally what I 
want to see when reviewing a new revision of a document. The 
side-by-side txt diff usually gives me exactly what I want to see when 
commenting on a new version. It would be nice if I could get comparable 
functionality between html or pdf renderings of the document, but I 
can't imagine how that would work. (Hopefully this is just a statement 
about my lack of imagination.)

	Thanks,
	Paul