Re: [xml2rfc-dev] <artset> feedback

Julian Reschke <julian.reschke@gmx.de> Fri, 10 May 2019 09:20 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DF901200F9 for <xml2rfc-dev@ietfa.amsl.com>; Fri, 10 May 2019 02:20:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) 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 DjHrl4HyG9V0 for <xml2rfc-dev@ietfa.amsl.com>; Fri, 10 May 2019 02:20:04 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0338A12008C for <xml2rfc-dev@ietf.org>; Fri, 10 May 2019 02:20:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1557479989; bh=p4LkBv9wQdRoCZ2hwrR7Xrnfmlr3lmHpqfrZt9fKbuA=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=KsQITsnm1dRTuLlrDsxy6o8t7kbS4LvXNs6CMONBS9bZn3N/qs404nBliA4ikdnqd jHuxXn1CnaMEC5SlGa2zAyfHrE4DGRtPT+wR7I/0pVXZyVv8iim1iI94CCVKRa4fxz ZIK+yOQUL2svr85HX+9WVGSJqgVxb9gcu39zUaSY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.148.236]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MKYsh-1hOCkE0IVz-0020jf; Fri, 10 May 2019 11:19:49 +0200
To: Henrik Levkowetz <henrik@levkowetz.com>, Julian Reschke <julian.reschke@gmx.de>, XML Developer List <xml2rfc-dev@ietf.org>
References: <eb78385f-9ac0-01e8-8b4a-572d8890c1a1@greenbytes.de> <19522381-3529-e66e-adb4-3a1c7d5ee9ea@gmx.de> <e8791b44-738a-9ebe-946e-4b02a6635dc2@levkowetz.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <df6742ec-d60b-0835-ad87-a297531a2771@gmx.de>
Date: Fri, 10 May 2019 11:19:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <e8791b44-738a-9ebe-946e-4b02a6635dc2@levkowetz.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:C3L5T1lbTTNx6ti7WUvQYKjU/rLKob/9Q85DnnFCKMQoHkNDpij vp0ZTKYa1PKiJtK3djZLmVkh+fQLwI/ZdUrhIVO0cB5Dqs9tEcgfgSxf0sOo/cBGKqtv23r AZj/qBAqxd0yUjpeaSDw8WROi5ZMY14llNY4OWLLgIjIaotLS4R5v375kqt7yW9FU7z8EO/ 4PNEfEV1l+PX3ZJeqKJhQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:gQNFq/t94Pc=:AaBW+Dx0tETR3WnS6xpa+s CSW/eE0VlXJegLE3Wjoek5wmMJK2QVRGFTONnrtdRQbGjU8txey5qVeZdvcqA3g4lJTEefuhZ 5pHAkSEEMUzp93G70YEatObLDvQNRR9ZKaJMzrJFufWOG6EPxTmxDAORa51RvRdtdnKZSNeZ4 4s7Ca+6Xc6By65ZDqQdu4WDflWPZ70D2lZYDkwZdjoywEMpDSxhCYUr+z235J1+TUgNeH3oyv aatoYQhzSIyE/atw6dH+Jq/AgeQU15EmfR9Q/A5ekJJEiCZvIIz3zPJCqgXtO7UbzuZajbToW hcsXkTxHfbwh1jyhG3XZlVllVVHuI0OzL6OdJUSqdW8DB3kJoP9CQFrRXzUl9kfO22wPE+dv7 7ZTGJOW23wpVpgACv2gBZHq5fu0/ohhUKLbC1aBiNjWcf4FTbq0UGi7l0ScPATK90NQjf0040 xHtQRXxK/+60voDvepjiD1dbHkI7+38y46z82ebL++2cafoLe+6tpys6DJpr+BU01z0ns+AYB eXPnlkflPwblPHFWPZrGgLUPkh85G26hzzewO32ASwhXCsDW6GaIQ4MKN66oQHVxHwCAkcYu5 zGBF0IwkYA5f/7b8EgXbaTI0Me98v563OfWeehkyOPEwV3+qAA+wgLRDR+Q9JbDSiCXx7/zqG hQa9nKVaj5/5OlwqQdn0v7s1U7TOUMAUFktGOm7TV+PgKQQyCiM0EqY4FCtiaUejvMsPxu9mv ha2hNgMUy3nlIE+go0TG2ysnIfeAmE6iYQyzP3zzfHQXHbpNNr125/zv16Lv8pFmiIHDCTXLl +tzyTVGeNqQXmkqP+7VciZkNHUByrVfyExG7XplDaWydXvF6adnGDdU+voHGLCCiwLQIvnPrs h0/YFw5kDaiWJ+Ecjeax3JSpukmcTAa+ZxgQAtClzVocwHb5WKFxtTKh2BIuRE3VZsTpNKSn2 SnJjJMtbOUA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/hd2a3iWBnuftfHf_QP38x9z0OWY>
Subject: Re: [xml2rfc-dev] <artset> feedback
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2019 09:20:07 -0000

On 10.05.2019 11:16, Henrik Levkowetz wrote:
> Hi Julian,
>
> On 2019-05-10 10:46, Julian Reschke wrote:
>> On 09.05.2019 13:24, Julian Reschke wrote:
>>> ...
>>
>> 5. Preptool behavior
>>
>> So the motivation for <artset> is:
>>
>>>     The way <artwork> has been specified to handle the presence of both
>>>     SVG artwork and text fallback (in Section 2.5 of [RFC7991]) has the
>>>     result that any SVG content has to be placed as a data: URL in the
>>>     "src" attribute when an ascii-art fallback is present.  This makes
>>>     the SVG effectively uneditable once the preptool has been run, even
>>>     if the SVG artwork was originally provided as a regular SVG XML file
>>>     external to the document XML file.
>>
>> <https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation-notes-08#section-3.1.1>
>>
>> So I was under the impression that the preptool would deal with this by
>> inserting <artset> elements when needed, and I was confused because the
>> documentation doesn't say so.
>>
>> Testing with:
>>
>>> <artwork type="svg" src="rect.svg">
>>> +-+
>>> | |
>>> +-+</artwork>
>>
>> and xml2rfc --v3 however gives:
>>
>>> foo.xml(225): Error: Found <artwork> with both a 'src' attribute and content.  Please use <artset> with multiple <artwork> instances instead.
>>> foo.xml(475): Error: When looking for the name of "     ", got: no such name
>>
>> So something that was perfectly valid before is now a fatal error. Is
>> this intentional or something that is on the todo list?
>
> "Before" meaning at which point in time?  Are you claiming this is valid v2?

Yes. What makes you think it's not?

> ...

Best regards, Julian