Re: [Tools-discuss] [rfc-i] What do do about SVG
Robert Sparks <rjsparks@nostrum.com> Fri, 14 May 2021 13:53 UTC
Return-Path: <rjsparks@nostrum.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E02F3A33AE for <tools-discuss@ietfa.amsl.com>; Fri, 14 May 2021 06:53:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.282
X-Spam-Level:
X-Spam-Status: No, score=-1.282 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, KHOP_HELO_FCRDNS=0.398, NICE_REPLY_A=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.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 2r3S6NpdDVdE for <tools-discuss@ietfa.amsl.com>; Fri, 14 May 2021 06:53:51 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 A34A13A33A5 for <tools-discuss@ietf.org>; Fri, 14 May 2021 06:53:51 -0700 (PDT)
Received: from unformal.localdomain ([47.186.1.92]) (authenticated bits=0) by nostrum.com (8.16.1/8.16.1) with ESMTPSA id 14EDqBZN071573 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 14 May 2021 08:52:11 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1621000332; bh=WC7gPaU55IoVU2bM8YOaA14iLY+5Hx7OBafU3C+fBKM=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=j9+pANORnA+9WtXK2Gnaz+Q6EgZR7crUc4QhI/38dSvPuteqq5bAKyzo/nul2ZGwk +JXVsZvEnhdNA8571ICFptq1POgqZeFOZ4vJXY42ewlr42tB/XP345EH4PGLH83ZNt hIgEwMR9WLmQhhiOfaDPu6m7svCITmqFdFmKZKE4=
X-Authentication-Warning: raven.nostrum.com: Host [47.186.1.92] claimed to be unformal.localdomain
To: "HANSEN, TONY L" <tony@att.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Nevil Brownlee <nevil.brownlee@gmail.com>
Cc: Carsten Bormann <cabo@tzi.org>, RFC Interest <rfc-interest@rfc-editor.org>, Tools Team Discussion <tools-discuss@ietf.org>
References: <f564019-d8b1-76c2-2768-c135d834dc32@iecc.com> <763b8195-6139-fb20-aa4e-2b4d89b5681c@gmail.com> <75d1b100-e761-e9bb-2ae0-02266c86b499@it.aoyama.ac.jp> <6BDFA0EA-D6F1-4443-B771-9B1A0AD56713@tzi.org> <c6dc75da-0b88-bc68-39fe-17887411b97f@gmail.com> <550c00a4-171d-bf12-b1f5-51dcc639359c@gmail.com> <8a637f4b4c7e41c99169fdfc3bdb0290@SYBPR01MB6859.ausprd01.prod.outlook.com> <CACOFP=hC0poW6ZKCAsh=r5A5orB3OGxDsQLadEb=zXnun4n9VA@mail.gmail.com> <95541255-19f0-69a6-1db6-83695e3bff35@gmail.com> <DE80976B-6B30-401E-A29F-368579A98FD8@att.com>
From: Robert Sparks <rjsparks@nostrum.com>
Message-ID: <913a57c1-af80-b608-3ffd-92f5e72ce2d9@nostrum.com>
Date: Fri, 14 May 2021 08:52:05 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1
MIME-Version: 1.0
In-Reply-To: <DE80976B-6B30-401E-A29F-368579A98FD8@att.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/hwS8PGLjoeMZnbX3RIo8_rfoZ9s>
Subject: Re: [Tools-discuss] [rfc-i] What do do about SVG
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 May 2021 13:53:56 -0000
The repository for svcheck is at https://github.com/ietf-tools/RfcEditor/tree/master/svgcheck. RjS On 5/14/21 8:10 AM, HANSEN, TONY L wrote: > Thank you, Nevil, Brian > > On 5/14/2021, 12:43 AM, "Brian E Carpenter" <brian.e.carpenter@gmail.com> wrote: > > Hi Nevil, > > I'll write off list with the things I discovered. Some of it was quite > a long time ago, so I'll have to look back at my emails to Jim. > > One thing for now though. I'm illiterate in RelaxNG, but it seems > to me that <style> is definitely allowed in two or three places > in RFC7996, and it isn't even defined in svgcheck/word_properties.py > so it's no wonder that svgcheck rejects it. > > Regards > Brian > > On 14-May-21 16:23, Nevil Brownlee wrote: > > Hi Brian and Tony: > > > > I'm the guy who wrote the original version of svgcheck.py. > > Jim Schaad did the production engineering on it, and I worked with him > > to make sure it was compliant with the RNC schema that appears in RFC > > 7996. > > > > I recently downloaded svgcheck (from the RFC Editor site, I think), > > that's version 0.6.0; I could work through that to fix the problems > > Brian reported. However, it will need someone on the Tools team to > > get the fixed version back into their repository. > > > > Please let me know if you'd like me to make the changes to svgcheck > > (it will take a week or two though). > > > > Cheers, Nevil > > > > > > On Fri, May 14, 2021 at 12:29 AM HANSEN, TONY L <tony@att.com> wrote: > >> > >> On 5/13/2021, 12:24 AM, "rfc-interest on behalf of Brian E Carpenter" <rfc-interest-bounces@rfc-editor.org on behalf of brian.e.carpenter@gmail.com> wrote: > >> > >> After some investigation, I've understood that this particular problem > >> is because svgcheck doesn't allow <style> as a child of <svg>. Nor, after > >> some experiments, as a child of <path>, even though the RelaxNG in > >> RFC7996 appears to allow it. (Also, when <style> defines a color, and > >> I patch svgcheck/word_properties.py to allow <style>, svgcheck doesn't > >> seem to detect the color elements inside <style>.) > >> > >> In the course of this I found another instance of a particular > >> bug in svgcheck (failure to increment errorCount). > >> > >> So we have the facts that > >> (a) svgcheck is buggy; > >> (b) it doesn't implement the RelaxNG in RFC7996; > >> (c) sadly, we lost the maintainer of the code; > >> (d) our subset of TinySVG is very hard to generate with most drawing tools; > >> (e) experience shows that special SVG mangling programs are needed to prepare files for inclusion in RFCs; > >> (f) we've been told that TinySVG is no longer alive at W3C; > >> (g) browsers appear to be fully competent at interpreting full SVG. > >> > >> How can we make progress on resolving this? > >> > >> As an FYI, I see three maintainers listed for svgcheck at https://urldefense.com/v3/__https://pypi.org/project/svgcheck/__;!!BhdT!3hOxHzMKjodMzADvfA9H8y70wYlv3lgGYPIoeh7v2-GPsHPlZ0GobwwsCQ$ . Can we poke them to address some of these issues, in particular a&b? Or provide them pull requests for the code? > >> > >> d,e,f are somewhat intractable unless we throw it out entirely and move to full SVG. g is one argument for that. > >> > >> However, there were several reasons behind going with a subset, laid out in section 2 of RFC 7996 and section 3.2 of RFC 6949. Any movement to support a larger version of SVG needs to address these requirements first. > >> > >> Tony > >> > >> _______________________________________________ > >> rfc-interest mailing list > >> rfc-interest@rfc-editor.org > >> https://urldefense.com/v3/__https://www.rfc-editor.org/mailman/listinfo/rfc-interest__;!!BhdT!3hOxHzMKjodMzADvfA9H8y70wYlv3lgGYPIoeh7v2-GPsHPlZ0GOjT-1tQ$ > > > > > > > > ___________________________________________________________ > Tools-discuss mailing list - Tools-discuss@ietf.org > This list is for discussion, not for action requests or bug reports. > * Report datatracker and mailarchive bugs to: datatracker-project@ietf.org > * Report tools.ietf.org bugs to: webmaster@tools.ietf.org > * Report all other bugs or issues to: ietf-action@ietf.org > List info (including how to Unsubscribe): https://www.ietf.org/mailman/listinfo/tools-discuss
- Re: [Tools-discuss] [rfc-i] What do do about SVG Carsten Bormann
- Re: [Tools-discuss] [rfc-i] What do do about SVG Brian E Carpenter
- Re: [Tools-discuss] [rfc-i] What do do about SVG Brian E Carpenter
- Re: [Tools-discuss] [rfc-i] What do do about SVG HANSEN, TONY L
- Re: [Tools-discuss] [rfc-i] What do do about SVG Leonard Rosenthol
- Re: [Tools-discuss] [rfc-i] What do do about SVG Nevil Brownlee
- Re: [Tools-discuss] [rfc-i] What do do about SVG Brian E Carpenter
- Re: [Tools-discuss] [rfc-i] What do do about SVG Martin J. Dürst
- Re: [Tools-discuss] [rfc-i] What do do about SVG Leonard Rosenthol
- Re: [Tools-discuss] [rfc-i] What do do about SVG HANSEN, TONY L
- Re: [Tools-discuss] [rfc-i] What do do about SVG Robert Sparks
- Re: [Tools-discuss] [rfc-i] What do do about SVG Phillip Hallam-Baker