Re: [Cellar] Magnus Westerlund's Discuss on draft-ietf-cellar-ebml-15: (with DISCUSS and COMMENT)

Magnus Westerlund <magnus.westerlund@ericsson.com> Sun, 29 December 2019 14:05 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF028120019; Sun, 29 Dec 2019 06:05:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 cdI_g0TB1r1e; Sun, 29 Dec 2019 06:05:47 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on060b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::60b]) (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 61FBF12000F; Sun, 29 Dec 2019 06:05:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SxBJN5gGZFXdkDdlbRnpqv0I5MdjUNR8gHF+iaFJU2KvVYh48Cxt7SH1cRaowAIc157Na9ZwunsvFC4Sqci2Ph2Zor1OJcCSQq98hcy/TlQKy0GMhkvS0D+IUB+uWSiGrT6VTBicrW2jrVcq2YzUjDnZkB/Qs1PRB9YtgVOJI0lkxPVllT5D4Q9j1pUkicjI6I/+uOLVLRhJabDf0KrW/yIXZCjKWmHdFp9JlSokBDLAGQjHaH0Ss4mhhsnTFQSK7LdWXCW+Oc0DjbzhkesLJUXlf+/uac9PD1+eypy6734D43pvcA/pXWMHtYvTp8v8SE0Tt/KCnZVaTu7eb2Jk1w==
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=DOQlRZ7rnYFfwgLJPPxWZzgrKtnHDf89lGDSJO4UZ48=; b=JCH3iHbELn+KmqIUx8+/rTGcx1wc3x8R+RjYYH69OD/rTOdcX1KR8DEOlUSaQnfl7Wfv14IDqWW57H0+ufjulWcGU2vpG8jB84SgxE06tI9gMYEf6lwqcz4bJ3OhDRzCawJSl+7zbm+daiS+blMn7SflUjsOS1Kn+oZ5JMAd2UtdAfIbKRV+Ii2I1gwKU7v0xQ2kuFhBfUXNMBmKJDpAW1QUJ3KmoLuHs0FxfnqfSYm+Dy6M6VAyb1VSGj46sLTcZEYX5PocIreGw0GhYLJPIBf2ueEIE4c8eBmcQAZO0cdjBLFvwQJdZdN/63jAQ6agmbYByVLQI1eXavAy3TdFDg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DOQlRZ7rnYFfwgLJPPxWZzgrKtnHDf89lGDSJO4UZ48=; b=OjlnzyNDHP80r612iTgyJteM1rShJpkx5izc1xBdYftqpxlZr4sDMpwc04alrYKjPXqWKPC9qdMR5YixtLlcaHAEL8GTZA7Wrn3Nd0NMrmur2CNRPqmUOrPxuU5e0tcU4gStMnzuFGsTqi0znYpITmwp7S56NgNpPrmDutoHc8Q=
Received: from VI1PR07MB5310.eurprd07.prod.outlook.com (20.178.12.13) by VI1PR07MB5472.eurprd07.prod.outlook.com (20.178.15.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.9; Sun, 29 Dec 2019 14:05:43 +0000
Received: from VI1PR07MB5310.eurprd07.prod.outlook.com ([fe80::7d33:e10e:8fcd:64]) by VI1PR07MB5310.eurprd07.prod.outlook.com ([fe80::7d33:e10e:8fcd:64%4]) with mapi id 15.20.2602.009; Sun, 29 Dec 2019 14:05:42 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "dave@dericed.com" <dave@dericed.com>
CC: "draft-ietf-cellar-ebml@ietf.org" <draft-ietf-cellar-ebml@ietf.org>, "cellar-chairs@ietf.org" <cellar-chairs@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "villereal@gmail.com" <villereal@gmail.com>, "cellar@ietf.org" <cellar@ietf.org>
Thread-Topic: [Cellar] Magnus Westerlund's Discuss on draft-ietf-cellar-ebml-15: (with DISCUSS and COMMENT)
Thread-Index: AQHVtnUcXOt6KGNFb0iTWAskf6Jel6fDc64AgAMyRwCACo8+gA==
Date: Sun, 29 Dec 2019 14:05:42 +0000
Message-ID: <dab74e6e1a4cedcc3b49216df266078c9fee80a5.camel@ericsson.com>
References: <157676414666.27346.14188913386068032568.idtracker@ietfa.amsl.com> <5253C5B6-EFAA-4DF0-B7B2-FC11E4C02507@dericed.com> <AD60A699-7737-48AF-8E3C-F7C86807E861@dericed.com>
In-Reply-To: <AD60A699-7737-48AF-8E3C-F7C86807E861@dericed.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=magnus.westerlund@ericsson.com;
x-originating-ip: [158.174.130.211]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 68c95db1-6de6-472f-7f01-08d78c68315a
x-ms-traffictypediagnostic: VI1PR07MB5472:
x-microsoft-antispam-prvs: <VI1PR07MB5472CA8628A7ABFC25CB7D9295240@VI1PR07MB5472.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 0266491E90
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(136003)(366004)(39860400002)(346002)(199004)(189003)(44832011)(6506007)(4326008)(26005)(86362001)(186003)(53546011)(71200400001)(4001150100001)(478600001)(5660300002)(2616005)(8936002)(316002)(6916009)(66446008)(81156014)(76116006)(8676002)(6486002)(66556008)(2906002)(54906003)(36756003)(91956017)(6512007)(66476007)(66616009)(64756008)(66946007)(966005)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB5472; H:VI1PR07MB5310.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rFGpAY0MWM0T13bwJq+xf+fWQIxzHnlCbC2vTstNf1p0qhsbXG7cJEzti+OzMLnY90ucrayS4kx/2GLxtTyyvQZI5uOWN/Kllh3/f+sLp5ItLDcAClW9pzpPKumChrT92VKU7n/QeNGe8apSq60iXdNNAxvwqoIR0OQgu9RB+Z/KVc36mdCLKHGZKUYp0IXDEgvvjdPM3av8lUWLg+K6/oPV0r+5uwynKXn7f9n36CttxvTLxrDbFD3wKttiOOS/hZQ4fW9Hz4SSM8gdPZLDu/6azMqMwmsIZveKxXKGn3xgUXm0l9V3vSSPGGzq3BNemS8v6uLA890lLjA1jpF9/AL9JYDhoF9rJFDrpER9KFD8XEpdOwZ/A/HfwiJF5nVyMfTcSHq4pDw8kBf0e2t2SKAFGeeFFptMgiAcrjgxaBXK+8emyviqa2Km7yQM52+0w7tk8YZYbDpEidOWv5VDM/uskb8wWw3G4R3gKe3+eQ8=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-tGAHemJPuTazI+pVk8+J"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 68c95db1-6de6-472f-7f01-08d78c68315a
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Dec 2019 14:05:42.6957 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: gl7q/5dDjqO0CF1dIhRuJxjtL/ak0JI04NBk2Cr6qluprLT4VSDWDThPvyUTPoyAV6imPROoHBb1BnPwnC+3FaXytDbuFkVmZYhNgnmOOck=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5472
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/xD9i2a1zx6_2P5wlvkUaqhbVhdk>
Subject: Re: [Cellar] Magnus Westerlund's Discuss on draft-ietf-cellar-ebml-15: (with DISCUSS and COMMENT)
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2019 14:05:50 -0000

Hi,

Thanks, those changes do resolve my issue. I will clear my discuss. 

Cheers

Magnus

On Sun, 2019-12-22 at 15:50 -0500, Dave Rice wrote:
> Hi Magnus,
> 
> Version 16 at https://datatracker.ietf.org/doc/draft-ietf-cellar-ebml/16 is
> posted and should address all comments below. Thanks for your review.
> 
> Best Regards,
> Dave Rice
> 
> > On Dec 20, 2019, at 3:01 PM, Dave Rice <dave@dericed.com> wrote:
> > 
> > Hi Magnus,
> > 
> > > On Dec 19, 2019, at 9:02 AM, Magnus Westerlund via Datatracker <
> > > noreply@ietf.org> wrote:
> > > 
> > > Magnus Westerlund has entered the following ballot position for
> > > draft-ietf-cellar-ebml-15: Discuss
> > > 
> > > When responding, please keep the subject line intact and reply to all
> > > email addresses included in the To and CC lines. (Feel free to cut this
> > > introductory paragraph, however.)
> > > 
> > > 
> > > Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> > > for more information about IESG DISCUSS and COMMENT positions.
> > > 
> > > 
> > > The document, along with other ballot positions, can be found here:
> > > https://datatracker.ietf.org/doc/draft-ietf-cellar-ebml/
> > > 
> > > 
> > > 
> > > ----------------------------------------------------------------------
> > > DISCUSS:
> > > ----------------------------------------------------------------------
> > > 
> > > 1. Section 5:
> > > 
> > >  The Element ID is encoded as a Variable Size Integer.
> > > 
> > >   +-----------------------+-------------------------+---------------+
> > >   | VINT Length in octets |  Range of Possible IDs  | Number of IDs |
> > >   +=======================+=========================+===============+
> > >   |           1           |       0x81 - 0xFE       |           126 |
> > >   +-----------------------+-------------------------+---------------+
> > >   |           2           |     0x407F - 0x7FFE     |        16,256 |
> > >   +-----------------------+-------------------------+---------------+
> > >   |           3           |   0x203FFF - 0x3FFFFE   |     2,080,768 |
> > >   +-----------------------+-------------------------+---------------+
> > >   |           4           | 0x101FFFFF - 0x1FFFFFFE |   268,338,304 |
> > >   +-----------------------+-------------------------+---------------+
> > > 
> > > To me it appears that this whole section can't decide if the Element ID is
> > > encoded integer using VINT or an VINT format octet sequence that is self
> > > describing in length? If it is the first then the above quoted table would
> > > to
> > > me state that the IDs are 1-126 for 1 octet, and the second two-octet
> > > 127-16382. But based on later section it is actually the later. As the ID
> > > values defined in Section 11.2 for the various elements are actually the
> > > encoded form rather than a representation of the Integer value encoded.
> > > This
> > > needs to be clarified.
> > 
> > Thanks, this topic came up in Adam Roach’s review [1] as well and ended with
> > a use of an Element ID as a VINT format octet sequence. I have rewritten
> > this section in the referenced pull request [2] according to your
> > suggestions and comments.
> > 
> > > ----------------------------------------------------------------------
> > > COMMENT:
> > > ----------------------------------------------------------------------
> > > 
> > > 1. Section 5:
> > > 
> > > Any Element ID with the VINT_DATA
> > >  component set as all zero values or all one values MUST be ignored.
> > > 
> > > What does it mean to ignore an Element ID in the general case. Can you
> > > really
> > > say this in the general case, rather than state that it is not a valid
> > > Element
> > > ID? Or is the intention that an Element ID with all data is the equivalent
> > > to
> > > padding and simply skipped and a parser needs to expect to find the real
> > > Element ID in the next octet sequence? Considering the Element Length that
> > > do
> > > allow zero values and non-efficient encoding, if the element should be
> > > ignored
> > > or not depends on the expected element to find by the parser.
> > > 
> > > I might have missed some later explanation of this, as I didn't manage to
> > > read
> > > the whole document in detail.
> > 
> > I considered changing this sentence from saying that such an Element ID
> > should be ignored to simply asserting that it is not valid; however the
> > prior sentence "The bits of the VINT\_DATA component of the Element ID MUST
> > NOT be all `0` values or all `1` values.” already makes this clear. Thus I
> > simply removed the sentence in the second commit of the pull request. I
> > think this sentence is okay to remove as there are later statements in
> > Section 7.7 that make the same point more clearly about skipping invalid
> > data.
> > 
> > Thanks much,
> > Dave
> > 
> > [1] https://mailarchive.ietf.org/arch/msg/cellar/yvXmJPWGkUISXbdt0aZ-UkC57I8
> > [2] https://github.com/cellar-wg/ebml-specification/pull/315/files
> 
> 
-- 
Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------