Re: [Xml-sg-cmt] Fwd: [xml2rfc] #548 (v3 vocabulary): Invalid XML entities inserted by v2v3 converter

John R Levine <johnl@taugh.com> Wed, 28 April 2021 15:32 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: xml-sg-cmt@ietfa.amsl.com
Delivered-To: xml-sg-cmt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7E243A107F for <xml-sg-cmt@ietfa.amsl.com>; Wed, 28 Apr 2021 08:32:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.851
X-Spam-Level:
X-Spam-Status: No, score=-1.851 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, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=L+u5YDoS; dkim=pass (2048-bit key) header.d=taugh.com header.b=FWUezniJ
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 Z2iLIp4rmbBL for <xml-sg-cmt@ietfa.amsl.com>; Wed, 28 Apr 2021 08:32:37 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 2E1D03A1075 for <xml-sg-cmt@ietf.org>; Wed, 28 Apr 2021 08:32:37 -0700 (PDT)
Received: (qmail 62185 invoked by uid 100); 28 Apr 2021 15:32:35 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:cleverness; s=f2e7.60898013.k2104; i=johnl@user.iecc.com; bh=AtyPQnqW54hamUDsUq/ypReC7s0Sro3cXpXfXN4USZ0=; b=L+u5YDoSvNlmUlkfu+sZtI/PGFINvfuSUaFoKsvt3So1h5TSwXAYKyyiBgs04/HBRVwi3darDprYpDsHkfHGC/U1swJrN/qNjIpDIaX8bypt+hdMhZliz7S16IsW2eNdrUKkAgYiS8+eRJkMJdLht2ItIpgPqUyr//CTbn6fEruCiJQIG2iMLb23UF/d+hwoiBZC1EBmpUhGw30ELsUNfGU6uPRCy8tKc1rnmeWLq/xUrxT7rCJK/0u0a8paAn0Opo6YuP8/67U+qRjFYzOHyOIuCbcrb0BVbWWqE2YKbW7JwZ5O/UnZ+eVYUaNCh5897+qi9ndpA5L4BFG8wb3b2g==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:cleverness; s=f2e7.60898013.k2104; olt=johnl@user.iecc.com; bh=AtyPQnqW54hamUDsUq/ypReC7s0Sro3cXpXfXN4USZ0=; b=FWUezniJ+HiFqsUEVgW6dwrxb8oXpUlMzt/g0ajxkY7/6C36Pl75PCS2UmaG6oDp6ATEWWdiENlnAp6jW6dX+oUABRYPtUHEzSEURMZZY2gl4rRwUiwD9asC08o5/y/kqa+lHBW3szr+gv7YY3lZhsM7VzbUlOyC0OhCUsJLwNNSU4ll0Fvy63/zE3S1qMtOHss63+FFutOt43d7zJ8AyV+nejTJQUN2tz2Nu5UXuLdEw+WqFwS+S3KFw35X76MnR6RReldzktDqPmUYLVufKZXYMi+MGv+tz0H7ABv/IfEkUoWfNLsH5f3ijvgPYE+ziN8TfA+OC5J+v3MQPKrrzg==
Date: Wed, 28 Apr 2021 11:32:35 -0400
Message-ID: <f87c66b5-f687-ffbc-1489-bf85a425c3bb@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Robert Sparks <rjsparks@nostrum.com>
Cc: XML weed whackers <xml-sg-cmt@ietf.org>
In-Reply-To: <e05bf90d-27ed-3b7b-11c3-66f56aeccae8@nostrum.com>
References: <087.dc9c0b098e8cbdaa2fa7b1150b4e7742@tools.ietf.org> <34ea4980-67df-aaef-312c-ea1ddb44d2a1@nostrum.com> <6c3f3de3-9262-cefb-4cb7-d3079dd9b40@taugh.com> <e05bf90d-27ed-3b7b-11c3-66f56aeccae8@nostrum.com>
Cleverness: None detected
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="3168237118-1742990265-1619623955=:58926"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/iHbIaqkNyzje7xZVY6XNZ0Momrw>
Subject: Re: [Xml-sg-cmt] Fwd: [xml2rfc] #548 (v3 vocabulary): Invalid XML entities inserted by v2v3 converter
X-BeenThere: xml-sg-cmt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Working list for the xml and style guide change management team <xml-sg-cmt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml-sg-cmt/>
List-Post: <mailto:xml-sg-cmt@ietf.org>
List-Help: <mailto:xml-sg-cmt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Apr 2021 15:32:42 -0000

> A handful somethng elses (I thought you were there for this conversation, but 
> maybe I misremember):
>
> https://trac.tools.ietf.org/tools/xml2rfc/trac/browser/trunk/cli/xml2rfc/templates/rfc2629-xhtml.ent

I was, just looked at the notes and remembered.

It seems like it would be pretty easy to do a temporary kludge that runs 
through a XML file and puts the entity definitions at the top.


>
>
>> 
>>> -------- Forwarded Message --------
>>> Subject:     Re: [xml2rfc] #548 (v3 vocabulary): Invalid XML entities 
>>> inserted by v2v3 converter
>>> Date:     Wed, 28 Apr 2021 04:27:15 -0000
>>> From:     xml2rfc issue tracker <trac@tools.ietf.org>
>>> To:     henrik@levkowetz.com, martin.thomson@gmail.com
>>> CC:     rjsparks@nostrum.com
>>> 
>>> 
>>> 
>>> #548: Invalid XML entities inserted by v2v3 converter
>>> 
>>> 
>>> Comment (by martin.thomson@gmail.com):
>>> 
>>> I'm in the process of reviewing QUIC documents for AUTH48 and the presence
>>> of entities is causing significant problems with the post-processing that
>>> is necessary. A standard XML parser cannot process the XML that is
>>> produced.
>>> 
>>> The python XML parser drops these entity references. I understand that
>>> lxml can be taught these, but using lxml would force the use of a
>>> different processing model, which would require that I rewrite a tool
>>> completely. I can't justify that.
>>> 
>>> While I appreciate that the RPC want this feature, it should not be the
>>> case that others are forced to deal with the problems that it causes.
>>> Surely there are other ways that the needs of the RPC can be accommodated.
>>> Inserting the definitions directly rather than referencing a non-existent
>>> file, perhaps.
>>> 
>>> 
>> 
>> Regards,
>> John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
>> "I dropped the toothpaste", said Tom, crestfallenly.
>
>

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
"I dropped the toothpaste", said Tom, crestfallenly.