Re: [Cellar] [ietf-wg-cellar/ebml-specification] EBML ID 0x80 is marked invalid/reserved but it's used in Matroska (#407)

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Mon, 10 May 2021 22:44 UTC

Return-Path: <spencerdawkins.ietf@gmail.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 55DE13A2DBE for <cellar@ietfa.amsl.com>; Mon, 10 May 2021 15:44:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 (2048-bit key) header.d=gmail.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 X4WUlhbl_QN9 for <cellar@ietfa.amsl.com>; Mon, 10 May 2021 15:44:12 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 689F73A2DBD for <cellar@ietf.org>; Mon, 10 May 2021 15:44:12 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id r8so23808680ybb.9 for <cellar@ietf.org>; Mon, 10 May 2021 15:44:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SYnmW+VFm1rgXSV6eOj2Hg9tRAMHMhlcAF/bIhlV+Ik=; b=X9rDe3DKAURlGvgy7ycCQRwrqRUVHJE9csXE8DM20Ug7o6hbi9+AaGz/d5rKMEZ6pI Ab++A035AxJxpkAD48mgJC2K2YamOg7OEjdN1xQfOwZN+Lw1wgc6EU192bRMGcItsu7B wsNvjV3r9LEYQLdAcytnie5CprQ5HsgnK8wTNMiZAGjrYK5Dy67Oz+U4lYtRpIecsroP ej+1H6j5xKJVKCc66Bu/TOEifvRoJ4atVaMUb1agtSZkPzOGXmyvGmi/PZGraOhp3ybA fKIaIog7v3h5SAGZ6VRzI4B4zAeAXSOw4ExxpALDYtVpENWEwZCreEPcDCXSvQwRmM4p PeKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SYnmW+VFm1rgXSV6eOj2Hg9tRAMHMhlcAF/bIhlV+Ik=; b=juXx1Fpe/Di9t0NrPCuDldDK2C/eKSWrW4e4uk3ew1k/ewLYCJFLcfl/N+z/mYoxwd i93g1kpm7eUA5pY61n8SnHayPkADaWgFG9G090z3iWT/S04Vz+k4/hEuhmEnbGCOf2Zt fwVd3ySEtWlgAYZ3B5GbmBjIeffRRw2GYdBWB87hiKvcASDKAkdo3bNJjIcgf2EUMzol gyp+8ZqPVrCpMvLjHulVHG6IgUHAPrmpPgwOZ82jeSvufEPD4qDojTXToxtlOeA6NMRb 7pw3VIewhulCu0gquU+KV8On8VCcopR9lrnEpnuyOVVKfRk9dIq8TXrQ9yi90/k61Y/7 R1Dw==
X-Gm-Message-State: AOAM530fHEXghnNz5WcqMjciA7wyilWBIBqB143AU+uatp2vSH3N+36f JuCEyfPH4BueKsUWIkW+z0MUUxaavzlL0R/o6fEKVDXq/88=
X-Google-Smtp-Source: ABdhPJw9aND4r9fRUAzcCqiePbzBqN4Vo+i4T/TP/G2HqIi3lF9trPDERYiurAheueIlCjMWRRvJHRq4b+ASWfpLmQ4=
X-Received: by 2002:a25:1883:: with SMTP id 125mr34884921yby.465.1620686651077; Mon, 10 May 2021 15:44:11 -0700 (PDT)
MIME-Version: 1.0
References: <ietf-wg-cellar/ebml-specification/issues/407@github.com> <21441.1620656178@localhost>
In-Reply-To: <21441.1620656178@localhost>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Mon, 10 May 2021 17:43:44 -0500
Message-ID: <CAKKJt-e5PtTZM=j=Cn_YBPW87ag+oui7mGx=wuxt0JU1KY3SLQ@mail.gmail.com>
To: Michael Richardson <mcr@sandelman.ca>
Cc: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>, Murray Kucherawy <superuser@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000021377f05c2018468"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/axUboKv9eCISnaDrNTjODEUnxec>
Subject: Re: [Cellar] [ietf-wg-cellar/ebml-specification] EBML ID 0x80 is marked invalid/reserved but it's used in Matroska (#407)
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: Mon, 10 May 2021 22:44:17 -0000

Adding our Loyal AD ... because I could be wrong, and he would know ...

On Mon, May 10, 2021 at 9:16 AM Michael Richardson <mcr@sandelman.ca> wrote:

>
> Steve Lhomme <notifications@github.com> wrote:
>     > As pointed out by [Paul Foley](
> https://mailarchive.ietf.org/arch/msg/cellar/z_INjU-Vc9FOTDZs9AhdRRjrIig/),
> the 0x80 is EBML ID is said to be invalid in the [RFC text](
> https://datatracker.ietf.org/doc/html/rfc8794#section-5):
>
>     >> The bits of the VINT_DATA component of the Element ID MUST NOT be
> all
>     >> "0" values or all "1" values.
>
>     > But in Matroska we use 0x80 for `ChapterDisplay`.
>
>     > I think the all 0 rules should be removed. In particular because 0x80
>     > is the value that should be used when all VINT_DATA bits are 0, per
>     > this rule:
>
>     >> The VINT_DATA component of the Element ID MUST be encoded at the
> shortest valid length.
>
>     > Changing this text means also editing the IANA registry which lists
> all
>     > the variants of 0 bits as reserved.
>
> I'm not sure how to deal with this.
> It may be that we can put these IANA instructions into the Matroska
> document.
> Obviously, they would ideally go into an EBML-bis document, and that would
> be
> something we'd do if we were revising it now.
>

That would be perfect (if we were doing an EBML-bis document, but I predict
that the answer is - the EBML document is a Proposed Standard, so any
Proposed Standard that (reasonably) updates the instructions to IANA should
be OK. This update is relevant for Matroska, which is also targeting
publication as a Proposed Standard, so that's a fine place to put the
updated IANA instructions.

The EBML RFC IANA instructions would be outdated, but the point of IANA
registries is that the IANA registries are up to date, and you don't have
to chase (in some cases) a few dozen RFCs to find all the rules.

Murray, is that about right?

Best,

SPencer


> IANA instructions are a bit weird in that they are in essence,
> edge-triggered, and once processed in a document, they change.
>
> ( https://en.wikipedia.org/wiki/Interrupt )
>
> --
> ]               Never tell me the odds!                 | ipv6 mesh
> networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT
> architect   [
> ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on
> rails    [
>
> _______________________________________________
> Cellar mailing list
> Cellar@ietf.org
> https://www.ietf.org/mailman/listinfo/cellar
>