Re: [rfc-i] Unicode in xml2rfc v3

Julian Reschke <julian.reschke@gmx.de> Wed, 02 December 2020 11:14 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 F35393A12DC; Wed, 2 Dec 2020 03:14:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.202
X-Spam-Level:
X-Spam-Status: No, score=-2.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" 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 GizdAZ0khkot; Wed, 2 Dec 2020 03:14:33 -0800 (PST)
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 F084F3A128F; Wed, 2 Dec 2020 03:14:32 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 2F220F40761; Wed, 2 Dec 2020 03:14:29 -0800 (PST)
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 4E2DCF40761 for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:14:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 CqsHHPx2Rs-X for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:14:24 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by rfc-editor.org (Postfix) with ESMTPS id C1904F40760 for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:14:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606907663; bh=8YFdhfikattksnpzOynuSEjaFmwvSqY8OEeLFPHkH1c=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=HCp1E5Muj12mSJrbXDsx0eHdtiNat19naBLZLqsuIsLIJYgeL1sFChCHpMpTqiPPH L+MbM4V/8e3Dgg3/F+6VV106/d3Xu7ecWfHGhkdQBw8yAFKH4Kz8tjkMoFVd6NSZpn uVj7sZoMeNcP0BRec2lSXErllrPSFezyd/ofleLE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.51.63]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MoO6M-1kQiTH37JQ-00oqUY for <rfc-interest@rfc-editor.org>; Wed, 02 Dec 2020 12:14:23 +0100
To: rfc-interest@rfc-editor.org
References: <F2E370D6-BCA9-4902-836E-8C5BADFE5209@eggert.org> <4cff4b9c-6464-659d-8b27-32396b59182c@levkowetz.com> <EC333D0C-D024-416B-9CAA-880D3E90368F@eggert.org> <115988ED-68A9-4E99-BB2E-55E0B5B0E96A@tzi.org> <44D623BB-9F0C-41F9-92E3-A39B0FAB8164@eggert.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <318613d1-eb0e-b5d3-d8d8-82e57534fee0@gmx.de>
Date: Wed, 02 Dec 2020 12:14:21 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
MIME-Version: 1.0
In-Reply-To: <44D623BB-9F0C-41F9-92E3-A39B0FAB8164@eggert.org>
X-Provags-ID: V03:K1:S2OIiVcSAFrNyovTM46O8VhPzmK/txa/lQTl1QnyBf2EecsaAo7 Q6bog9v/6IsLK5KMbyZ1t/StE0UqLvTpz9oL2iprG3x45Vskvyo56xCPyaDb3vVWWP6a7xG URos0isS+I0VK6sjcgFuv6qi5Y0cmCY0oB3ieXc7+EQFflVHn4MLgZ1tBMLmmmwDiz1hJ6d FrgFwoY4LKsgNvsZ7ilXQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Z9PmXQpS61M=:8R70lX0MQ0Qkh1aDA/cB/9 oAg4+8LeSVkR05NYNFXVj/N2bh3HYCpQjgcVvyURU70mpK+jh65K9zj4P90/PcJobWWa2CjxZ zZJ+XyDu/YgZxRBR0hwNX//pUpDqpu7q/ZN+miRMiZGywoo0CgY3GrhJ1g6CJAwEtTFWV95IO 7k63zUjSIJzFs+l4ZvYL9901PZSpAqa+lD3yxSXXkYAbvxKI7jjKMtRUWZsfp7IyZy/TvF7Rw R1f9lCU0CYQhA1OiecVzokTfaFyAfaw6EHKNS96qrMF0s1YKN+z9We9XLdJcl+AMC1BQaNXTS pk+0+XMMCh5ig+mXYHKxxVrXsf0ebibBJf1o55+HjRi2gV9Xt6n8Tp505138mfuY4p6wrgsN+ Rjqyki8SSpS7vTXIu8OChLi2iwNZkQQGOObMZAcuZOtKxtSAj21taRfR80Qj5VK09Beg6dsFk T8vpjPy824ATGra6uaDHWVlC2CDl4biSjQW8yYpiqOBYD5xna4NCD9Kh+DVoa+fg65oHc/2T7 0Oib7pnexXPg7j4jogOpCg/j8LJ/Fd4yS2RWgXWGUXy1g+N8qvEUSRtjmPIDJKA2f99GCGXLK 0xnyqxFWzdW7KYNfOBFD1Q3OOrkJlFBHX2jA0UCtwgCZYRyLP1t1MIUiyBDXXTaj3TL9I9bGP 26w13OxiAKr6MEcC2j9RpBoZgisNV0VDB4JFffOSC9z6lhMORzv9+RtIczCX3eW9Pse77QWP6 ZNK8Pj6k2N5VIw2AiwwWqPbPcIDpRjobLeIBpWjz/7yIHtIMYSC3VHr2w6iWSpppJXOsJaE6d lOv1I4tDJMJuAX6DeBWeiLteJvvv4Nl/HnK/yBgnXdLHqkjVcCQPBO46i9KnbgeiXfCw5fq80 AiJXpTb/XidpXw5KBDgw==
Subject: Re: [rfc-i] Unicode in xml2rfc v3
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>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Am 02.12.2020 um 07:35 schrieb Lars Eggert:
> Hi,
>
> On 2020-12-1, at 21:02, Carsten Bormann <cabo@tzi.org> wrote:
>> Well, with the current toolset, you can.
>> https://mailarchive.ietf.org/arch/msg/xml2rfc/48tS5guJqVpjGUkvPeD7K2aViis/
>
> thanks! Could I maybe ask that we start an FAQ or HOWTO for kramdown-rfc2629 to capture some of these not-so-obvious tricks and tips? Or add a canonical example Markdown document that uses them all?
>
> Also, using the {{{α}}} trick doesn't seem to work in a list. This source:
>
> - set {{{α}}}<sub>aimd</sub> to 1 once W<sub>est</sub> reaches W_max (#2)
>
> gets converted to:
>
> <li>set <contact fullname="α"/><sub>aimd</sub> to 1 once W<sub>est</sub> reaches W_max (#2)</li>
>
> and throws this error:
>
> draft-eggert-tcpm-rfc8312bis.xml(2402): Error: Element li has extra content: contact, at /rfc/back/section[2]/section[1]/ul/li[6]/contact
>
> Is there another workaround?

Don't abuse <contact> for things that are not contacts.

If you disagree with the constraints implemented in xml2rfc, by all
means discuss them with the tool author and the RSE.

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