Re: [rfc-i] No, constraining to a custom SVG profile is not trivial

Julian Reschke <julian.reschke@gmx.de> Tue, 21 January 2020 06:04 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 2F53112006E for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 22:04:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.5
X-Spam-Level:
X-Spam-Status: No, score=-4.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 Tp2-rNLpTsZM for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 22:04:29 -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 425FD120052 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Mon, 20 Jan 2020 22:04:29 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 0FB55F40742; Mon, 20 Jan 2020 22:04:21 -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 994F9F40742 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 22:04:20 -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 uMWFngYg2H7V for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 22:04:16 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by rfc-editor.org (Postfix) with ESMTPS id E5550F406F0 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 22:04:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1579586659; bh=oxHtfbhwdm+an/NBGhM0WKIJYoZrTD+sOeCg+WF4teU=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=WdOMndD7y7RE9igaWIxYQGouNEpO2hRbbQPoxABFkr+vVYX0vMB97L88kJwf/VHg3 GswttT9o2I9X294rhx5kRHp9V8dPdc6I9WAK28156XF3mYG0JckFf7XA9navVXDag+ og//HYJmZGFOy9tonXpqALTHuUEmGxwiv5q59eXY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([217.251.133.39]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MY68d-1j8Rsk3ApJ-00YT1U; Tue, 21 Jan 2020 07:04:19 +0100
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Phillip Hallam-Baker <phill@hallambaker.com>
References: <CAMm+LwiXhhJO7qYi41+DC4W7uMUVipXqyq75Fq2vagA1ppJNdA@mail.gmail.com> <10cca93f-a8b8-4c42-0653-3b12fa67ad12@gmail.com> <CAMm+LwgA-1UffBfrH-Y3J6pfh7ni9kNrndp=gHNyUyi5j=oLxg@mail.gmail.com> <53607da4-6608-783b-b875-65551e3add19@gmail.com> <CAMm+LwgNU2Dr3bB+A8k+UwbQiRRzgUkoRRh60tc6+bBv6CXwfQ@mail.gmail.com> <1134cbfb-e6c1-2708-9556-a26ffa3f2922@gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <c153a154-20d5-a4ec-d2d3-316d6a4f5954@gmx.de>
Date: Tue, 21 Jan 2020 07:04:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <1134cbfb-e6c1-2708-9556-a26ffa3f2922@gmail.com>
Content-Language: en-US
X-Provags-ID: V03:K1:wMR4RvYp7abGTr576JyLoCDGywTxv1LYfsfjYEUtgQAjIzYeDn0 /hJGhxmnjthu7C3120vmuc7pH7hB7/6voDGhTtWyqsAcrZRauwHC1x6viGpSY1PrJm483v3 wcZV4nm7xFtPILfEEHdgHXpRXf8FEh0L/MG9CYi70V96G+LFtKo2Le/9Qo4pGRv1c6eEG+v Cz8DPFXWZmzpyDrdcRhfA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:J5I+g/IJyas=:uoEMOdiXN6xXZBZR8QvFEX zKejrQo8BYs19JAeEnwCDbbQ4neMlDhwlfNu7NBYN7+XMMYrpbyxSjTUCG9JjJDd3KNP+THA7 W/lEW/u3zctO6HBc9M4ek9INj2zSdVCqlk8KWfb/zdZ/mDKdbIp2gMxM6WrVwDn0GvVk+segY 8kCEgV+IUssnQJgZoFv/BxagefJK+L1wgRNzRa6XgY3E0VsfIY2qdi4cKdlwvXcBiq3DSmjzj DGCi4zut1yF7jV3G6Tf/tR6pTITAWdBNqHVZiS47UD9niTjjLQSXudfu8SC4QaTaptzJXNpVj ddmIK3LMfT5wQ9n25OU35gcmwBOr8sFMgNkf2MBZX4583s7hVTe+akVQW/+41wioPd1ekz9eD vprdb2J/ggSNq1UsHiRK3GCzr9nOaopGI4JM2DKjWPzPIgOaNtLD3PVRpCkbRoJ9kpSX/NLSY A6XRtgvWHZh5dcb72xWbf5qGjCWf9M06EfREjNr35hj+KGZmVtbzX3++DVoauGb8f3M2GmKDt hXK2Bl5IncTmsgiku0dCzCiLmbvUNB8adcQoI6I/W+NmLXkTYGO4CU9yZIyjHKQii/rq+B48v u2W3Dqsch1Rfgf68x6p9+qoGuMJ67QnJKn3cBNu20QVFKvdjdwd5eW0p7ixr2fku1XLkABlgz xj94GesaHl3dyYHihnszl63/fN7LKpv4txLeNiolrnkLwZGq1rHb3tVXpEGZkl6GmzzRmo/Jp N/zCiDqWZaNY04gc8Fgc7xd6ppd+8yZPVI9O3PH8yPi8x3tytbfjuyAZjdGSMsZFQbTfjlXVG 60M8g1b3XRyLMiOc1ONH4yvae/4seYx1a9hFw9YXu3MBZ5cMjI1FevuDUt3vOjpKSBUtFzPTn yQvMIw8xHoZLXOnjt/kIC83WSzvuepG+QAXrUG6EOMOtBLMr629kpvUE1nGec2ugBeixhq5Jb V6sR/wv0ZswPSGt/VKJRMTaEFahOg0h0mE+JU7Uh8rRWj5k71+mU2ZH6tNjK15cQQnRH70/al 7VlxiRS5M20HJjH+G6vr6sEhGgxl1uC6AMKIwxlkd9BMv3fy/gsQw/mPHa/ShB1GooBHMBjZZ GT63l69BapIbgKR83CHGKWEm2j8vjl7/VZyS+qtcCXm/XHM6k6pTdmT6JrTwchPbGH59ywN1k liMDT/09SO046Bw6Fh/vwz7m0r5RuUzMWa2NhUcPZn+7UaIUS3rloT1oPdeZRAyp8YZ9UGVZS zVrRm2vZvhC/S8utRy7QhggDAW20I4vJfp1nikG9gHiQUxHHAMWO63FTzW8Y=
Subject: Re: [rfc-i] No, constraining to a custom SVG profile is not trivial
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>
Cc: RFC Interest <rfc-interest@rfc-editor.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

On 20.01.2020 22:30, Brian E Carpenter wrote:
> On 21-Jan-20 08:32, Phillip Hallam-Baker wrote:
>> It is not just the greyscale that is the issue. There are numerous issues in the diagrams that result from the chosen profile.
>
> No colour or greyscale was a choice, not an issue. Because people wanted both printability and accessibility, the choice was made to get rid of colour-impaired sight problems and cheap printer problems.
>
> The only other big problem I'm currently aware of is scalability. There are some interactions between browsers and elements like viewBox, width="724.0" and height="485.135549872".

I implemented experimental down-conversion of SVG in
<https://github.com/reschke/xml2rfc/blob/master/prep-xml2rfc.xslt> and
found that the lack of markers prevents the use of even trivial GraphViz
output.

> I also discovered that any any <?xml ...> or <!DOCTYPE ...> declarations must be removed from the SVG file.

That I would call a bug. It's not backed by anything in the specs.

> Hopefully the Temporary RFC Series Project Manager can coordinate some systematic approach to identifying SVG issues, both in tooling for the existing subset and possible updates to the subset. As Leonard Rosenthol hinted, unrestricted SVG is not really an option.

While I agree with that, there are *much* more pressing issues to
address (such as the fact that we publish "canonical" XML which does not
conform to any agreed-upon vocabulary definition).

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