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

"HANSEN, TONY L" <tony@att.com> Thu, 13 May 2021 12:28 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 62DC73A0EF0 for <tools-discuss@ietfa.amsl.com>; Thu, 13 May 2021 05:28:52 -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 aehXkdCCY_-a for <tools-discuss@ietfa.amsl.com>; Thu, 13 May 2021 05:28:47 -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 B7FA63A0ECC for <tools-discuss@ietf.org>; Thu, 13 May 2021 05:28:47 -0700 (PDT)
Received: from pps.filterd (m0049297.ppops.net [127.0.0.1]) by m0049297.ppops.net-00191d01. (8.16.0.43/8.16.0.43) with SMTP id 14DCEasM047335; Thu, 13 May 2021 08:28:46 -0400
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by m0049297.ppops.net-00191d01. with ESMTP id 38h3qsrg6q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 May 2021 08:28:46 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 14DCSiUt003431; Thu, 13 May 2021 08:28:44 -0400
Received: from zlp27126.vci.att.com (zlp27126.vci.att.com [135.66.87.47]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 14DCSeAd003310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 May 2021 08:28:40 -0400
Received: from zlp27126.vci.att.com (zlp27126.vci.att.com [127.0.0.1]) by zlp27126.vci.att.com (Service) with ESMTP id 0C5F14030729; Thu, 13 May 2021 12:28:40 +0000 (GMT)
Received: from MISOUT7MSGEX2BF.ITServices.sbc.com (unknown [135.66.184.187]) by zlp27126.vci.att.com (Service) with ESMTP id E6A3A4030726; Thu, 13 May 2021 12:28:39 +0000 (GMT)
Received: from MISOUT7MSGEX2CB.ITServices.sbc.com (135.66.184.206) by MISOUT7MSGEX2BF.ITServices.sbc.com (135.66.184.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 13 May 2021 08:28:39 -0400
Received: from MISOUT7MSGETA01.tmg.ad.att.com (144.160.12.221) by MISOUT7MSGEX2CB.ITServices.sbc.com (135.66.184.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 13 May 2021 08:28:39 -0400
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgeso1.exch.att.com (144.160.12.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 13 May 2021 08:28:33 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jae+wF07wnJj5NU1U+HHAVdkYiukIcqjEgns3CqWKjPyjE1K74SKanFgkfrOcA3p4TxHcBY8zrn1CTKTRWiRE2kjPoa8LlD3bR8vqKV4DyyQlpCM5b+Cim7Xluanzf2E9uNO0QS6n9PZW635l9HlkGRv/iWKjlhu/2xlISMIGihb/Sdo/iiYmIaSDjSUD6pQG5qkqie/Nxr3wt8m3AQYttSjoG3qIijseQJoOwuogRnpo9HJUbjSYCrIhBo6UbRa98tuCSNT6xdSDVE4Gj8mHVU8rY0KjRey4PNfEWzs1ZNb+0zf27i/jv24BeayjOaM9+a2ql1lMQekgwuVVj146g==
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=wccy0rdlBi+eHUw2cOMXCh/sKOU2rhkxPc3XBWFoqag=; b=n3tPNij0pBdBIWVCKIOQ+HojOkwjAOTZTnA4a7yDNlxCJ2gYnsPtq6pJReHvY6ZvkZB+DhyTe39uVLo5wkrc8z93xXfHkrlIUtz9BYyupPMlB1AIeEzi2zSWTzxcEpT/v4nQA3LFvJgnZHYpO9BQlt6/9hEy0W2iBnzsw9fKmrRfB3UZ1VfRXuQHTWUrLmh33SnLXHOMzqrE8J2kiuKD24K8qr2+cMg9nfZY4t9wcXgIIXnIAitk/12gHnl7PgUSTlGGbmtou2aclMFibtfKhTwK5SKHPqzmiAEDtx2JWLwvlKx4JPUvclrFKPyqf9cDbJqDs8CCLcU2S/QFkW3WIg==
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=wccy0rdlBi+eHUw2cOMXCh/sKOU2rhkxPc3XBWFoqag=; b=wbAkCV47ZuHPEebci7kL/8qKtQgiyaF8vAocdwAEX3bmmuyE4sm084xffSN6Z5QGyErux6YP6U8i4COOJhEcF9IWQU6lDH1zsLbWcTB8lbX5ZF1tN03SwRO17VsasauklNq2eU+UKMdt2eqIK+DVRZudd7RzBqkqiSR+GlsyAmo=
Received: from CH2PR02MB6554.namprd02.prod.outlook.com (2603:10b6:610:66::9) by CH2PR02MB6040.namprd02.prod.outlook.com (2603:10b6:610:5::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Thu, 13 May 2021 12:28:31 +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; Thu, 13 May 2021 12:28:31 +0000
From: "HANSEN, TONY L" <tony@att.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, 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: AQHXR6/oU5O9thtiHU6L0bdJkI0bparhFIuA
Date: Thu, 13 May 2021 12:28:31 +0000
Message-ID: <53663307-FFA6-487F-98C4-B9EFAAD69E05@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>
In-Reply-To: <550c00a4-171d-bf12-b1f5-51dcc639359c@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.138]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 23364466-aab0-45e1-3560-08d9160a9e85
x-ms-traffictypediagnostic: CH2PR02MB6040:
x-microsoft-antispam-prvs: <CH2PR02MB60406F4B7BFF938624D27309D8519@CH2PR02MB6040.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aZSNQakY/lxnwmZkgF/pbZp+6sEgVXZRHOC1SLyKZZjX0K0/WLPhsNVFbqSQowN2EqptAHobZ5rQLsi5DUe2mNzCnT04UlolVckaQ5A8G1Gk4vmTJ4Uq1/yiANnxONat0EmTwsmX7V8939JcmBsAGzeYdHJF+VW4aH02iL7l7scH2ajWw85aF4fkoYxc+zZrJBpwKjEnWXF05OrCc1XLTOZzZGtl3vAWsP2JCc71hgER+/PDbNOLAhU6FEcftp4eCGkozlHJQsECZfa1Mi1Tk2Ve9bTZ4UxnMKOkmYt4Z2SqhgQfUVsR9rz7PqRfI9JyNGqTAamo/V5TCbM+9wdFKY2rEOVtINZKofW8WoDmECw36xFXOtINo5tUJEG7ctbJg9X4T8MuCWAUlsI735KvH5+SG5R1pF8aaC9egl/ytdEFoK5cLFJcH6e72l3WrVUvqoZkpoygpLSzKY8563gIgPQPYNvd3hsE4slYVkRNuoaIxDYsmhGAWvgEf6Gmtb4LMjtNeVJ9Qf3sRDubssTxGARToJQv8Z8PPXjK9FmgDoaTDIo/eC4j5Xm2HeU1qjNjWAaXwOTdzpjTAQSpjAY1xxNpjTKerqNiSHLF1wNUeYJR3J0EhyQkCXt59qz3YdLknPimtmwCaCcytSIW9PiP2fSEr7Goa9kniHCODdBgtBgIKFkxYKYiKBcD8G78oN2u6eIEYQonHsHvAm8vsyv3HxDyB5q6UPibUxDq35CQcbAjHv2WE+ooGcHfdv4iVeX6wAKqVfu9r5LzhjMRiDZPxA==
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)(376002)(346002)(39860400002)(136003)(396003)(6486002)(6506007)(38100700002)(19630485002)(558084003)(2616005)(53546011)(122000001)(186003)(478600001)(91956017)(8936002)(8676002)(36756003)(82202003)(66946007)(71200400001)(316002)(76116006)(66476007)(26005)(66556008)(6512007)(64756008)(66446008)(110136005)(2906002)(86362001)(5660300002)(33656002)(45980500001)(4210325003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: i+iqmnahxi2gQdXlhtB3sYi8nJS6eKIrj498DsfNUvoOpWWovYFe21HI2AAuMphrOX1Fj6G1G8l+plF2VkvQ9ggivSrsarvlZNURTYb9lpQr2FYb+tEgJBEtKTSfCn7EKhC4FSIED1SzuNW5ueWwb02MZUhTiv1BM5oWo/u9l8zxq2rYOSc5lr6MiVixtGjax9z/iQiOnaLq0UmqU9PKcGwT0qRCsy+ZbL+nC6KBvejpiTb7ARkHMXtrA5O+JVM+VqgLuCxLM8+UkkF76FpYT4gFvNisukq5xXeZ4itZTdyunWZPCxPX0k0B3JI9A6MSQkHPIsbmYmCUldXL6kEtYkxWHm7LSNU3gtcqCNyAMxkVh1f387FYMqOjZFXPjUTyV3xCDCFsrVMvlDvMXPyLhJSdGisD3+oq57JjupRRKaGtOcZ7INSuYNdJmS0r+2QD2MjeFrY3kGEBadl7DZOHjtDo0AWC5Divdpd3wzqUrRaQfHQubZliRsE4lORzYyRPzxkQg7V6BBWIyjgQRVCtH6shjqEmdMBlZ5OJE7TiAVIMDi5Spc59azMZWlMYE/ZwddUtI/J5QMkSqn2Rsn6Ctz48kFK2Ob8lq/c80V7cgtPt4Bnho+fvpLGrh/7XXmPTXl4nxJxZXw/xDv92cUb/2nZkjcL0ekRbpybT1NwtOSThuLRjJRnWpXF+G1886JJoSKAbwHWwN5pJQTKRZnA2Il73WSLDpTzgRuX4xYkq+hytdAbOC7cbzAIGf3wTttjZ8f6E+/gRzn1wZhL0kHSlkJlRUShjrNZf1yTT2A0BsrMdXIZfOxHr9LQWYlSw5UBVG4zUG8ZXUm63qAiUdKERNu6lEuuiw9mD6Ql4vPGbLbl2g2z4q7NSAp/ZaswmqnFbBKzzkp9/Fxi7F9/wrtkkCYSOkUj3QigDT2SgbENyJcABQQSnfRpQ33Ts4WzKfjwZF6rNpisETa9w+VhjL8CwZAKnU9vMupNz0wG2JhA0/ZJXREkHIVeVP++QAlbHOr1syBP6PC+FTBSEAV8Bv+OotUZf5Xd7kd2ZcW5Tgxmntn8mieE3s8PyLqbLSJYNx8pSXGkXAJDFDT5Rn1IjxZMWvapJpPZAUqmmzlDmG9Io+1L+DjdrgWuF/QzXj9x5cLF2bDL1sPwR3ULKrg3vhJg6rIzjCagik/U2HK0tg/AjHLLIC3nPta+V5KAqvUkwxIIW7nsP9c1IaENoXaqjj1yUhR0TinZ9B2UkA7jajgssql5swLfU7hVqF95V8p1ZAuoZKWPLBV/HBJQuzYSndb7VcyN8yu8xiS6lNN5s89kRThApovM8WfDo9Agms8P9e2hqfBPbWmsXcxyWIiF19G6n/w==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <794D8BC256771A42B4BBF909FDE756A8@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: 23364466-aab0-45e1-3560-08d9160a9e85
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2021 12:28:31.3335 (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: qhdBvRZ14t9bxSiGugZqKVORWTb7YYyL7OJ68smFXQuBSFZwjGznLZklAFnUJFc3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6040
X-OriginatorOrg: att.com
X-TM-SNTS-SMTP: 1A53DE7C33542AC99ADAF29EFE331D33545C2C5AC1517754E01121666062F6A52
X-Proofpoint-GUID: 1t8SsD8RVJHBoea3Kv9Ef2klK444IkgB
X-Proofpoint-ORIG-GUID: 1t8SsD8RVJHBoea3Kv9Ef2klK444IkgB
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-13_06:2021-05-12, 2021-05-13 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 bulkscore=0 clxscore=1011 impostorscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=909 mlxscore=0 phishscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105130094
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/C0VxcAAQO6n4mZH9ardyE6mWyIQ>
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: Thu, 13 May 2021 12:28:53 -0000

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://pypi.org/project/svgcheck/. 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