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

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 20 January 2020 21:31 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 CB868120232 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 13:31:00 -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_ADSP_CUSTOM_MED=0.001, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com
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 U0vH5dmLS_tB for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 13:30:55 -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 CFBAB12011D for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Mon, 20 Jan 2020 13:30:55 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id E71C4F40714; Mon, 20 Jan 2020 13:30:47 -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 51992F40714 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 13:30:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 rloyesB9a0yQ for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 13:30:43 -0800 (PST)
Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by rfc-editor.org (Postfix) with ESMTPS id 3A16AF40712 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 13:30:43 -0800 (PST)
Received: by mail-pj1-x1041.google.com with SMTP id r67so321280pjb.0 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 13:30:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6uJPlY46FeWYwDkbVfiOsEKuj2ag/Qh1ilelegOYaR8=; b=D+7hHt+kgWj8LzbjYLCvV3yHnaMDNA5gFjXljPxOtanjW9vtMK4wvjimrpHQU1fFj0 F9PVQgtnBkvS7byCdr3Sz+m7aN/hfDjZ8yThjYoTD2ChSAB0bHcyhkjLzuyOG/rKNbo/ 4Ap9PyPudyImoJ93+d/kpUjeqHP+ekmqazm5CYyBWYbt2ApFgAf5b0h5swX5dC/slx28 OwcCOweVh6XVdcjQNy5ZF1z7zgYNbmMmrGPiWkzHZ3wAOxDgAIqOq11e2ox2abRgJ/qQ hUtnhIl2z4Dd84XkKoqrEFNUSyBun2gQJE/6tHQq5MSnb7aLB4JFND8Dsusm8AsqnZwr UAdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6uJPlY46FeWYwDkbVfiOsEKuj2ag/Qh1ilelegOYaR8=; b=C05uwBvzPWbRZ/N5Wq7tRLuJW26YjPYmUuLM7b2JJlZK/qI7j51Q739WI8MbiGN+ET hmdUWa5ZoSSOtVUyBMKyFEd15tTNmJZyMceuW6oDDlUuCNPb7kNEzBjSCKHwcluVHOAt Nfl1W+z/rKnKhO3uYHm3fDNP4QZyYPXHRsaovfDGaMpiYUVykxpxm7qsDL0iPmEXthL7 HZU4EP3VP8wOTSNIuoKsAn50byANZbalBzscFw4qJ5phVMOff924A8XLppC+qCnuJb0u KhK7l2O+OP97+jsZ9Sb5sz4LtDV162YIvJwjGwUul3zX4Oj8DJ8i+xst1KoIqoRLkj+k z/kg==
X-Gm-Message-State: APjAAAXNTEDUJLJdXVqLZSqAaoJdODX0dCGjaXK+Wi/cthPoL09EVocb D6dfd8G7Wm+sisvfA4Y8kUaojkPg
X-Google-Smtp-Source: APXvYqzaaXMk2/giQH3IMjx2Z6oKDPhbpayAVF0dvlEOT04p8YSGSUELBJRf3eH8XTtFH/jtumo7LQ==
X-Received: by 2002:a17:902:b711:: with SMTP id d17mr1729207pls.162.1579555849515; Mon, 20 Jan 2020 13:30:49 -0800 (PST)
Received: from [130.216.38.176] (sc-cs-567-laptop.uoa.auckland.ac.nz. [130.216.38.176]) by smtp.gmail.com with ESMTPSA id g26sm40347502pfo.130.2020.01.20.13.30.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2020 13:30:48 -0800 (PST)
To: 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>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <1134cbfb-e6c1-2708-9556-a26ffa3f2922@gmail.com>
Date: Tue, 21 Jan 2020 10:30:46 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <CAMm+LwgNU2Dr3bB+A8k+UwbQiRRzgUkoRRh60tc6+bBv6CXwfQ@mail.gmail.com>
Content-Language: en-US
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-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

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 also discovered that any any <?xml ...> or <!DOCTYPE ...> declarations must be removed from the SVG file.

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.

   Brian

> 
> Compare the diagrams in:
> https://tools.ietf.org/id/draft-hallambaker-mesh-architecture-12.html  
> 
> With the originals in:
> https://mathmesh.com/Documents/draft-hallambaker-mesh-architecture.html
> 
> Getting the diagrams to present properly is at least two weeks work for me on top of the weeks already spent. And I am probably not going to be the last person making this set of complaints. I am just the first person who developed specs that depend on having good diagrams in them.
> 
> On Wed, Jan 15, 2020 at 10:21 PM Brian E Carpenter <brian.e.carpenter@gmail.com <mailto:brian.e.carpenter@gmail.com>> wrote:
> 
>     > Attached is a simple XSLT script that I created that simply rips out invalid elements.
> 
>     The problem with colour/greyscale is that this isn't enough. If you have very dark blue text on a very pale pink background, what happens? svgcheck makes this black on black; my heuristic makes it black on white. What would your script do?
> 
>     But I do agree with Phill, this is a non-trivial issue. Currently I think doing new drawings with a simple tool like DIA is the only practical way.
> 
> 
> It is my opinion that a standards organization should stick to existing standards rather than inventing its own. Deviation from W3C standards should only happen with an incredibly good reason. I do not see one.
> 
> Telling people to use one particular tool looks like bullying behavior to me. Forcing people top jump through hoops to produce the old plaintext format was bullying which was one of the reasons I was so opposed to it. 
> 
> SVG is ubiquitously supported in current generation browsers. There are tens, probably hundreds of thousands of person years worth of effort invested in creating SVG content using today's tools. There is a published spec that is widely distributed and at least as certain to survive whatever apocalypses might occur as RFCs.
> 
> RFCs are merely tools for making the Internet change. We are not writing holy scripture here. All RFCs that have the slightest importance are going to have errors. The question is not how to eliminate the errors but to minimize them.
> 
> Moving to HTML greatly reduces the number of errors in interpretation. 
> 
> 
>     Allowing unrestricted SVG has plenty of issues too.
> 
> 
> Nobody ever gives a specific issue. That is not how a standards organization should behave. If there is a need to vary any standard, either our own or someone else's there should be a clearly articulated reason given.
> 
> Please state specific issues.

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