Re: [Tools-discuss] [rfc-i] What do do about SVG

"HANSEN, TONY L" <tony@att.com> Fri, 14 May 2021 13:10 UTC

Return-Path: <tony@att.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 E0CBB3A3263 for <tools-discuss@ietfa.amsl.com>; Fri, 14 May 2021 06:10:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, 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=att.onmicrosoft.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 Uv0ymIOdckRp for <tools-discuss@ietfa.amsl.com>; Fri, 14 May 2021 06:10:39 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0a-00191d01.pphosted.com [67.231.149.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A43CA3A325F for <tools-discuss@ietf.org>; Fri, 14 May 2021 06:10:39 -0700 (PDT)
Received: from pps.filterd (m0049295.ppops.net [127.0.0.1]) by m0049295.ppops.net-00191d01. (8.16.0.43/8.16.0.43) with SMTP id 14ED5MrK006174; Fri, 14 May 2021 09:10:39 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0049295.ppops.net-00191d01. with ESMTP id 38h3qtf944-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 May 2021 09:10:38 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 14EDAalo013871; Fri, 14 May 2021 09:10:37 -0400
Received: from zlp30484.vci.att.com (zlp30484.vci.att.com [135.47.91.179]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 14EDAY1s013848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 May 2021 09:10:34 -0400
Received: from zlp30484.vci.att.com (zlp30484.vci.att.com [127.0.0.1]) by zlp30484.vci.att.com (Service) with ESMTP id E0E584009E74; Fri, 14 May 2021 13:10:34 +0000 (GMT)
Received: from GAALPA1MSGED2AC.ITServices.sbc.com (unknown [135.50.89.122]) by zlp30484.vci.att.com (Service) with ESMTP id 9B8764009E66; Fri, 14 May 2021 13:10:34 +0000 (GMT)
Received: from GAALPA1MSGED2BC.ITServices.sbc.com (135.50.89.128) by GAALPA1MSGED2AC.ITServices.sbc.com (135.50.89.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 14 May 2021 09:10:33 -0400
Received: from GAALPA1MSGETA02.tmg.ad.att.com (144.160.249.124) by GAALPA1MSGED2BC.ITServices.sbc.com (135.50.89.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Fri, 14 May 2021 09:10:33 -0400
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.49) by edgeal2.exch.att.com (144.160.249.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Fri, 14 May 2021 09:10:13 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BE/GblqUgbSRz2tkwOS/aByRl1YLdsu/1pgHmctQxX5io28t6NewrJQwDx9cbsYA/y/y58e4G+5cS6bAIULzcdguWuGSwZMnxEWHzpOc1yjyIrzJgkKDxNvf7LUU1xWOB+f7hNoQcMrrP7FXCaWMr7/DGUygzwv2HtTzZ+l5RMCgPgAxK+l0588rBOGVQCVeZwU3U6D6usaC+p08+/RwIMmcqMCZvp4QV4zv8FApSjUEuJOz4C4pOddAGeKNItrZiFiRebHlkPw7rLbir2e+I8dpUQF9JnsIiMCueoe/MomFLm+KbBfiOSk6CWhDIfBpm6cu9pSFNP+bywcgnxAgcA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=juo9wScjzp8ElR8gkAOL3oW3vIu0Xl1sFf1K+yLhEko=; b=oIs97SxYtin4+OMC7u5JYRc53FbOGimr8VZrb8lseguim5s31L4iNDNqm2w4I7H7wHhptO6oAj3Oxe8sNss8TbtXRPc7LB93LFDGO26HvdDWpWXUcYFqbPeKE00zilyNDSU9dB9wZ6Q/V8foOQTvBmiXN8hzvEAuR0J3Qq5aO2KP6XPrS3BRAdJesM1iNBftdUjq54MSUGWoywZLuxLIk8v+YDAaHg/a7627AdZ44NX+2aWgiRPn9+/Kg2ILmNZgShDobElTUqwjxPseKcU7QxQI8K4GX+fvmLdG5z7JqGhMUQ659upYC7LeVAP3xtlPx4evI2DWhaD7Y6Fr2j3fXw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.onmicrosoft.com; s=selector2-att-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=juo9wScjzp8ElR8gkAOL3oW3vIu0Xl1sFf1K+yLhEko=; b=TrJkTWghl8VKbhhDCDasqIxHPUWCxLCDhjd/47Hbpf3X9l4GA4n3NZKnB1UGb+rON8ed9db5wwcGw2YaEUCWFMdugNL2lBRwx9Dm9PZ7zKf4D2jsckTJeyNKIWe7PjKgSAoDtF0ucNC9yrsq/UqMmktMawzI9oQ7II8O5yCrjnY=
Received: from CH2PR02MB6554.namprd02.prod.outlook.com (2603:10b6:610:66::9) by CH2PR02MB6582.namprd02.prod.outlook.com (2603:10b6:610:78::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.27; Fri, 14 May 2021 13:10:12 +0000
Received: from CH2PR02MB6554.namprd02.prod.outlook.com ([fe80::f95f:60ce:ce5d:ceb7]) by CH2PR02MB6554.namprd02.prod.outlook.com ([fe80::f95f:60ce:ce5d:ceb7%8]) with mapi id 15.20.4129.028; Fri, 14 May 2021 13:10:12 +0000
From: "HANSEN, TONY L" <tony@att.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Nevil Brownlee <nevil.brownlee@gmail.com>
CC: Carsten Bormann <cabo@tzi.org>, Tools Team Discussion <tools-discuss@ietf.org>, RFC Interest <rfc-interest@rfc-editor.org>
Thread-Topic: [rfc-i] [Tools-discuss] What do do about SVG
Thread-Index: AQHXSHkVGw8p2UShMUCmtfgTmQ7HGariZkkAgABKp4A=
Date: Fri, 14 May 2021 13:10:12 +0000
Message-ID: <DE80976B-6B30-401E-A29F-368579A98FD8@att.com>
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>
In-Reply-To: <95541255-19f0-69a6-1db6-83695e3bff35@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.48.21041102
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=att.com;
x-originating-ip: [144.160.5.139]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3990e27c-aa73-4fda-0e59-08d916d99bc3
x-ms-traffictypediagnostic: CH2PR02MB6582:
x-microsoft-antispam-prvs: <CH2PR02MB65825F1A4DDCDAFE37E4DFEDD8509@CH2PR02MB6582.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Q0gB2+qGd0SkXE68jXba8cNUVKgw7EVk4abteHaP1fLf8Wk/6KpCpEOw6YYD2XOe0FpJHAN/y60oQAm8RJ/w4mFGAemhHrgrFhOY2Ld4wTNkz+lmRak47C7i56dKo8D1jJyop3KBYNKv9ODSsRVl7FG++QhCuGE0zkFNMPvrkw6Pe67FJ8py5xZ8Eqan3u/4ICa6bf2TXNQno8zafd1qdAfLCuj4mS0YEjwcZnJE6K8Tk1DI0P8vG0RRY/oQ8Mfj9E4CnA5J5TGTukffVfUp1LTzlKjDXh5LEDBYmf/WAUEn14nQf6O1W4CYEIu31b3MgePPAjy9X54y+N9hJqKFA4MZts/XHsy75gnhSo4rTBhpmeWSIwQCvZ7HNMa1ULiWmbR3PQ4gY/wTzWDlAnQ1Uq2hTVjHKju/waL2ufs3zG7CeNw1wqc7p2hlJprz3iO6B+z0GBcs3HWppukgO9g6MMSRtg45D5UC0U1wKbRMXlewl32r55E6gFQDAZwPNig9R0fddrpyme11tC4ORBgYXe0ArPYf2QBORsfj4pT+FVqAR9ohwURuhYJcceo0EQgMoNAx97bDhwJSsxdp8fZNB/mAo0gE+YsW7VBx01J/eTYy+8h2Ia3RHbrs6w6q+zFRUoHGfw30hJbaU3MpURTHKjLDgXFxKJhxniJfQmrFWY/NzOvQCDvrK/xxX9yoCADuOSRP/slzAvcBy/4RKFgC4MFGSztCfLbbxTURCGiKPjXn+is8x34GOWLufKLz1SXYzbpUHi2I2D2gcmocAzUdjVkvqgVD22CuuDIJsIN+wLp8M3iQwXKuMnb4mfGH9EjJ
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR02MB6554.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(33656002)(6506007)(4326008)(38100700002)(86362001)(186003)(82202003)(122000001)(36756003)(26005)(2906002)(54906003)(91956017)(76116006)(6512007)(19630485002)(2616005)(110136005)(558084003)(66556008)(5660300002)(6486002)(66946007)(66476007)(64756008)(71200400001)(8936002)(66446008)(498600001)(8676002)(45980500001)(4210325003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: qShbAbT3+7++l3x0JQXTVvJIxBef5UbpPfvW/XVUu69Y/57U2onCPPW6JpT7UyEbv4jYeBzVdy59vncZnmrTU+FNZEdypuTgNPrzlb/LjcfI8LRt2ZTRT2Dty6oczwqu02NDEH0NHc9nn1QnGI4Lq+8arajZagiA39KcwI7c9+lqSG4RU3HU6a8NPfLuixhRz/sewNTTV4EQqko4H16+mp5pOekPzMMoeNOCsmbhKQlKeTNGzKnZ2u8K1bWwGqmmAJLkiYApRjIWQtOhQTSfPBAjqAXZH04JNrUdyEhHvSAhspjkeZSOv1S01OdBssE8zpt8INjzAbeWqtMLs9cWp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1A50B3AFEF094419FDF384E901517CC@namprd02.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR02MB6554.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3990e27c-aa73-4fda-0e59-08d916d99bc3
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2021 13:10:12.5755 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e741d71c-c6b6-47b0-803c-0f3b32b07556
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Cn2bskKxb1NPsk+e4+ezJZaVC+t+tCMhBkHXMqGhcNuDL5ATizrtjTjqZ7eZjhMR
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6582
X-OriginatorOrg: att.com
X-TM-SNTS-SMTP: D2FFF8FAED9D9F28F8701EBD0F0B881E1174E83A4CDCDD0C29E6880D27D2861F2
X-Proofpoint-ORIG-GUID: O167FGm39ftWFyT0HT-fz9k7gIc_ug2Z
X-Proofpoint-GUID: O167FGm39ftWFyT0HT-fz9k7gIc_ug2Z
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-14_04:2021-05-12, 2021-05-14 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 bulkscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 adultscore=0 suspectscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105140104
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/8WXIZ2jQiXpmw5rEiI2_w3oFNVc>
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:10:45 -0000

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$ 
    > 
    > 
    >