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

Leonard Rosenthol <lrosenth@adobe.com> Thu, 13 May 2021 12:58 UTC

Return-Path: <lrosenth@adobe.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 327233A1118 for <tools-discuss@ietfa.amsl.com>; Thu, 13 May 2021 05:58:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.796
X-Spam-Level:
X-Spam-Status: No, score=-2.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_NONE=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=adobe.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 nSmuWMQx7wC2 for <tools-discuss@ietfa.amsl.com>; Thu, 13 May 2021 05:58:44 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2072.outbound.protection.outlook.com [40.107.92.72]) (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 B05053A10FA for <tools-discuss@ietf.org>; Thu, 13 May 2021 05:58:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FARWecG7T7v2i01MpmkW1Vx18xmJNfvSsL9EW7VjtJNnh9nkPb9CnaVhoGiHiAioooY3+FcOivKyU+mOFuD813D/z05r21q9v8bDko7+y0tvZP4yGLPpbEipeIJZE/iTTIzPBNHle8dR/FcO7O7BOSIowrWOvw+Vk9AEiZXkkttX8U/Y4KAG4RSuoaR0YoqvfhpNcr4asM3EvFcTt3+w6ZQOGJ/fUSxsAbUV6u8SwoeblIN8JlyGtQrqXUrImeCt2Hyi1jAFM70cxvom2V1AqrAoKLLngRu0VjON62wxIHQKUdcleD7/U46Rf2ZAQooiQ6AVSfJIJeUAq27C8Cl+tQ==
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=2MYuJZc+kLhcJqlYrS26kWRzGlsxqBLn2k3WPHO8C+k=; b=eWbfnAzGOYHBrA48V5yFEn7v+yyO+cxg3mmBysETwI2Q+MgrmQwzv9WeAeiUfLidfawfl95NldC3H9sCS4jJBPhS60Ic5t0TEGOwpC+aX74z0DPPuAMXW/1YuQDpZxrPfA/nyfACatexrfCC89CQ6SY8JPMfSMmfHIA7xmWLHJKjLKaecdhePy52toNs25mHEKlfs7IA9DlOkBsuRSftQU9mIWILaNaQejkW8EfpzUUdHcKQVIUljY9kFRi3Isal3mVQRWJ1y1TvTNQGypCHVHQY+E2cP0NDZGMn4pR5FrsK32lL5GyI8jyhahrU+wk78uOe8mFI70Ih2zajdHGDGA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=adobe.com; dmarc=pass action=none header.from=adobe.com; dkim=pass header.d=adobe.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2MYuJZc+kLhcJqlYrS26kWRzGlsxqBLn2k3WPHO8C+k=; b=Em1ofRgGjl4Y1X+Usos5fLqqjuB9olMORDYpOH0l+NKSfUYLzt9TpHulg11xKpBi7L6cJQdhEwQFx+UIvepCOb3gdhlv3daQ4E4wcE/f1zASP8fk0aZoyqBSLljldkVveGOl8ZwIMH27+NWnm8zLlhRrRRtOvSMQ1mMKMmNAjyU=
Received: from MN2PR02MB6992.namprd02.prod.outlook.com (2603:10b6:208:1f5::10) by MN2PR02MB6895.namprd02.prod.outlook.com (2603:10b6:208:20c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Thu, 13 May 2021 12:58:35 +0000
Received: from MN2PR02MB6992.namprd02.prod.outlook.com ([fe80::eca0:b252:ed6b:36fa]) by MN2PR02MB6992.namprd02.prod.outlook.com ([fe80::eca0:b252:ed6b:36fa%8]) with mapi id 15.20.4129.026; Thu, 13 May 2021 12:58:35 +0000
From: Leonard Rosenthol <lrosenth@adobe.com>
To: "HANSEN, TONY L" <tony@att.com>, 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/15faGrFuKyk6dpSqHQk8tUqrhV5eAgAAIHes=
Date: Thu, 13 May 2021 12:58:35 +0000
Message-ID: <MN2PR02MB699209A6EF3758B468AC8D0CCD519@MN2PR02MB6992.namprd02.prod.outlook.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>, <53663307-FFA6-487F-98C4-B9EFAAD69E05@att.com>
In-Reply-To: <53663307-FFA6-487F-98C4-B9EFAAD69E05@att.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=adobe.com;
x-originating-ip: [2601:80:4100:4d00:9d67:98c1:8d55:10a0]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 087b943e-fb84-430c-8ebb-08d9160ed1ea
x-ms-traffictypediagnostic: MN2PR02MB6895:
x-microsoft-antispam-prvs: <MN2PR02MB6895E2DB68C8537754020919CD519@MN2PR02MB6895.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ow3LUuvnUAPqGgLT3fwET84siyIrGn1uCLsRBEOd6nAUjdlucrPOp7/ijiPG0Qw214+KD4F6PhKC9p5SK7lPnOTrLoO5g/CkbOd+RL1+1r74qATgbb6FYf02ALsvQAih+u8swVYmq0EmqZuqWX7gFyRSvHuS0EM9NJqN8Ln207R9RK3NHCgg2kPGFRbI2S4AhO4XIeKB8Z2QM8YYxDpV8Q9DF3I6li4PD8JbUlppuQZ3TJEfQIPkNiVXD0LYhthSAdamuJpls6bKbhiaJPRJyHKzfkWKmQ7H5y4MPIDk3KSk0ngWlLmhxT36om78T/xk46KnAGbv2xSU46cVjaI2IEyP3KL7VsCdjxCCZiWJa1iQ6G8anE2KM5yosN6K7votSziyk3Nd9qJzvb8e+xS3bMVx/QZ63aI6SKlohlF5iazCAJkCTqahzty8JNV/eTrO+qN6WII0xvT9sgDGxbqfcPF4IjnsmMQ4QHJPopv38aZfjg2ID39Io/bmppK6GP6v4e6SCvcdznbSD7xm82bb6v2Q97v/K9FQS+GakWdVHWMpn9NSFfydmRShoMiq3rjWeT59qDNdmpVGGI2pmVfXw1qZqiDvsH3nFuE+G4BuAd1t7JJwmpJT80qDFTRyj4A4hHbYXvXWw221vfiybezeHn/ZZzC8QJ57KHRPJHoBD0S1l/RtPb/+tmgX2iacpQA0f5e3PxRwSUYq49AGcZgXfqGIID5jjJRKGKauH8TDCz4=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR02MB6992.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(39860400002)(376002)(346002)(122000001)(5660300002)(66446008)(8676002)(9686003)(83380400001)(8936002)(66476007)(478600001)(966005)(64756008)(66556008)(45080400002)(166002)(66946007)(52536014)(7696005)(38100700002)(76116006)(8990500004)(33656002)(186003)(71200400001)(316002)(2906002)(110136005)(55016002)(786003)(6506007)(86362001)(53546011); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: nJfnJKfZ6vZjKhJKDBxokQSFvOg8+Jj1mEk1NcuYhgLVTADwBWYcuUXK6rxOd4XUDZcpHzXEHc0MzsnRd5oPUy+/TrpPuonQOy7GsmC2piO31CU3QayKn2UbOjqKaDkKzO6wqMlWqNbPNaS22L7wYil4xGN7FStUW//OXICo3cYORjO+2nhUqnVXeXVhDGsngcOMFBNVWnfD6L8a5I8OmfWh9DzpKpZc8AgpJhq250CFu6IYn2sGNK0zSRn5kXEGKQFAyFarvwwrWNMeoeuHzngyY5Xnz5EFIkEcN1HY8hKG8fUfXpPpc2AclWV6vvOSfsb2PqbAymgA4m5joChVbxJkl6/RQgI6cBPBmggS7p8yqaEbf2CHk3kR/dX4nljvXu962nQTLUyd+Ctwvde/AyBty/KaXs6lcvDTW5+2Z2voZbCo/g0ZG2TRETjenPCOVElMlQBC9SAzttqevVfw4fMOdy4NWDhkFcRXrxwm4FYW6NHeX7A8NdYHoMKe7UcZWZkf5ta0JG6iZyQSTRtV8CUqE5N0fTqq98fMu6cWSP1MuTM6J1Cuzeup8GopBTs8g1vjn1bFOzXOTJ+sZl0DUIa64xCzHXUsNB/wmVV2PtRx0Ze3et2c7TikaNiAP6dAa1ZmvLfv/wAUj+ynhFI7zC5SCMKgWjzbLm9sUUqIwGnWvc4jaICBaEyxSd6WfslybMwRGoC5dnKM7ibKKloaIxtAM0WRibjEnUuxbqqCICvdVYrAr8pzONAavDmvBf+xW+NspwSdKtXwGlfY2ARMNFwCV44inh6wLxlb6KgoH61o34m/Gj+gC3AkfPPLSWYF4FfcpC+axufj+Y6Z/VjDrbarKhsjflFWru3+83gRlEIhwzYEwxNkiaDxPe4TMUuBP95h13KgRCr0IckfMFwBrKx48Kigy05T8TWwOB6fuMaFpTfC0aZpLHkDLM0CpUhZuk2V/SmajXlJO4ykcUO3J5UO4ZpVxPC+XFYNePQARWQIZP/HrcqFzAAgqzGL4LHCCNbMJY/Hk0oxOG5tPyLX4o81zIiDA6MtM/nunWB/NMwFd+BLS/kUFmjWMOYbY92IIJppWNAV1QkyPH1+YiAzTWu5XJ0oMG2wmodlIWEs8EaXqlas6zmTTYzWZJz+tOGKijHFQaHPSwnr8aSG1+s531nTGhe3isNoEB3c/A1KwZRe2GRxIRsJ0XQnl+dqlBF3ynEaylEnlIrO9ePScBYsat/iFGY477DsQ/kk1TXV2IFl1n5pO/7ffHaPXbYeH6aLH2GxUVoRo6lV7V8bTFC5Y7byI94FbvqPVbeClCe5CDz+tM8r9+J7mZexSudVup5K/YmmPRM8XY/r+Mqb9A6rrWEj5PjF/9DBALboGE2s72SkpOmoBepBWvyF745Iw2O7VP3t3s/CJ19VIGgTMHmfwQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR02MB699209A6EF3758B468AC8D0CCD519MN2PR02MB6992namp_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR02MB6992.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 087b943e-fb84-430c-8ebb-08d9160ed1ea
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2021 12:58:35.4937 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: UYM8qzFVH0NbrFYWxoaRZ8A/7+yA+aF478Lzoii5WHp2eVT7cprnLGJGhEU+l+6PDLyfIHIPXBc/nn/hlm2BpA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6895
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/-8FQabgeGEoEbjF4tis8HOIu-0w>
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:59:01 -0000

I still think that a subset is the right answer – but let’s pick one that is actually in use and supported.   SVG Native - which is the subset of SVG used in SVG OpenType fonts.   More details at https://github.com/adobe/svg-native-viewer

Leonard

From: rfc-interest <rfc-interest-bounces@rfc-editor.org> on behalf of HANSEN, TONY L <tony@att.com>
Date: Thursday, May 13, 2021 at 8:29 AM
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>
Subject: Re: [rfc-i] [Tools-discuss] What do do about SVG
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpypi.org%2Fproject%2Fsvgcheck%2F&amp;data=04%7C01%7Clrosenth%40adobe.com%7C79979b75c21046b466a908d9160aacca%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637565057435782514%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=VhSTZmdSAAtWY3War%2BQUmWbczsCwt34AX6O98yqeF1k%3D&amp;reserved=0. 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rfc-editor.org%2Fmailman%2Flistinfo%2Frfc-interest&amp;data=04%7C01%7Clrosenth%40adobe.com%7C79979b75c21046b466a908d9160aacca%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637565057435792469%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=QYkYsiVKAv%2B9FCnMNrSBVxOopr6sKlGsMuaAlyXSznA%3D&amp;reserved=0