Re: [rfc-i] Unicode in xml2rfc v3

Julian Reschke <julian.reschke@gmx.de> Wed, 02 December 2020 11:17 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 BC4493A1114; Wed, 2 Dec 2020 03:17:11 -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 rrg_g3w8ayQy; Wed, 2 Dec 2020 03:17:09 -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 A888C3A10D4; Wed, 2 Dec 2020 03:17:09 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 92E4FF40761; Wed, 2 Dec 2020 03:17:06 -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 5B2C1F40761 for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:17:05 -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 plgm7AaXjAUu for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:17:01 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by rfc-editor.org (Postfix) with ESMTPS id AF87DF40760 for <rfc-interest@rfc-editor.org>; Wed, 2 Dec 2020 03:17:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606907822; bh=r5+tybXW32za6UErlQ4+ZFMErkrzXv/fcAsrZUZrhjM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=DqBmI4SKn0T/Aw/k3MflicI5uHS9c5JqzVU9vfhhpzDUDkxubwP1dzAQ+FDKcP7rx qEr7fhe5gU/0Lubetif4eljTBE4eMuB2l1cmu0ge2dctokr5B+nH8bQTbDgy4tpGNJ hTJZFvgnDtkkAxs04YlK9E8NeQDL+D+bgMNMIyl0=
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 1N2E1M-1k30df3aQg-013cSQ for <rfc-interest@rfc-editor.org>; Wed, 02 Dec 2020 12:17:01 +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> <C1E69941-33B2-41D4-84A1-3B621F67E292@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <5129aae3-d14b-23ee-43b0-ad7a0cf44bee@gmx.de>
Date: Wed, 02 Dec 2020 12:17:02 +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: <C1E69941-33B2-41D4-84A1-3B621F67E292@tzi.org>
X-Provags-ID: V03:K1:p39KBnUbjQ5aKMOA4k0+0vQwMWaGOCo4dHSXicjW7+ox7khAzho 0xPT0VZJZXFW8owlgZrhkdEZgUv6OXQJs5uvfUi2KfeZZqSD9kHm0g0fAuJaTWcSObwq2Pk yDrFLB5XSTmvZEsFhuy0Ldei8Vq8UAiyWN2xfrmkqjWNeWzTgZ7Dh1XG1xmvFzmzcgZLAXG hJV3AVYC6e4aeRlvQQ76Q==
X-UI-Out-Filterresults: notjunk:1;V03:K0:w0V1Ipn2iW8=:b0HUqnuDm4XzGbIqEdrZ00 R0V4IOXnqNR+8MiFud98kEmA6/BB4nGlOvIGg32RbBmP2E6k5/rCJ9+nGytLTyTsDcTx8LBU+ riymPbTzPZHBxIyRTN3MvouZrGM0X6XEw8FXX2fI1YbRN5FnpotBacJPi+l8Ks1I0x79MU2eF exu/0SVV+Wg5z/RVywqr3r6SkuobEkmcj8jwAyrlbi0pIP/Vb9b5nX15CaBdmDEum3/FhY/iZ xGKxD6+ORlc8diQpQLogSbuT4LubFfeOk9DC1UIzlaBlrVUmsjxOlfbIjcyhKUVq7nlaJIz6+ k54f5uveyolxYE6pRU+g2OxqOStl72wPvRc6TYXG23THMCPe+hPc8/M/YwOwEgyZQDfemQm6E 5YXhj9wYS2TDzIEdXwH0H9bqftKjnhsQnZ5dFiUiNl1KKZfB/YADNqfCRn1lCmv0eVmybEQVT ZijYa4/T84nK7zmZv9ehVq02vDpeUrMSEeAJLikEd98em9nb/pdCphKUC2SRdPeJLAKnctdJn uGAh6Dl4k0KNdbmGiz3M5YDe3ixFpaqnNAxcqXTbBHmlBhq5MJrK6cxsHMgdqZGmzvOL4+053 SWiVxl3SyyzRkx1ZC4tpPqgvRdlfFOdoKFq/vRHuvlE2gg+a4tqjPjv8v4+7r8IoQ0nxQo0aG 57NQktpwIzFHu0m46q1X+PF+hX7daq1l7FLvyD4fGYcbkol2uMMzou3Sx7br45f/8iYWyqxUM H42PBlgEa6Ipg6Dms7l6q06mkKDmiuGS5wIN9m3xSJ4gyqiEuN/1oTRDVWa16StPRdTfLMwWe p2VGqPpVAbmaw79M7M1/AjJ/B1RFN1UFVYvLpT3fSqd4QZcfEYXBVfZQ8JREHbEubIlPfHafk /wLXLq769ub9eL2LcURg==
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:57 schrieb Carsten Bormann:
>
>
>> On 2020-12-02, at 07:35, Lars Eggert <lars@eggert.org> wrote:
>>
>> 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?
>
> I’m long overdue with starting an I-D about kramdown-rfc2629.
> This particular trick has been recently invented though/
>
>> 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
>
> Hmm, that is an xml2rfc bug.
>
> <contact/> has only been added to <section/> (block-level) and <t/>, not to <li/>, which has its own copy of the content model of <t/>.  There are a few more elements like <name/>, <blockquote/>, <dt/>, <dd/>, <xref/>, <cref/>, <tt/>, <strong/>, <em/>, <sub/>, <sup/>, <preamble/>, <postamble/>, <th/>, <td/>, <annotation/>, <refcontent/> that need this fix.

On the other hand it's not clear at all, whether *contact* information
is needed in all of these places (I do agree with <li>, and there's
already a ticket about that:
<https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/519>, opened
seven months ago).

> ...

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