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> Sun, 16 May 2021 18:29 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 685473A1172 for <cellar@ietfa.amsl.com>; Sun, 16 May 2021 11:29:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_BLOCKED=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 (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 5pA3vbyEbvfy for <cellar@ietfa.amsl.com>; Sun, 16 May 2021 11:29:30 -0700 (PDT)
Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (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 9FC073A1165 for <cellar@ietf.org>; Sun, 16 May 2021 11:29:30 -0700 (PDT)
Received: by mail-yb1-xb30.google.com with SMTP id e190so5622033ybb.10 for <cellar@ietf.org>; Sun, 16 May 2021 11:29:30 -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=GWXStxGwT1njGFq1+sc+NRz9aaVwIjg0EeM8Pd4MosQ=; b=OUqp2kAaaHC4dC8Z+ofC8v9dnBeVvDdkoVe/6vPg9GEOKibHL/qLvWtViz/dlRtmwr wUeSjvuXLD9P9q7ICLVLfwW61AAaGMD7uEsD7Wd3yTToTszXbECFA18QHHBmFQYbONyT lzK2TJqn/nfWUsmeW85AsEv3RvRlapbtp+nkHbG+/Uc+zpp6gHJwqdlf8sXU3/dySt/L le5lKboWPPCI00BqT+KAX9wZbnaXqvpNEc7DhBbTvWknaKBQ5OECrpaW7AubDG2xyl3C 9d/C5tNYhiSWt3g4XJh/ibkDxk6TA8rFJJcu4I0ne1Y4Lx0OjjAF0GjebrlYrYQNZuXz igSA==
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=GWXStxGwT1njGFq1+sc+NRz9aaVwIjg0EeM8Pd4MosQ=; b=Kzm1zWRcOnbyDMnWnO9ISheYo1eRKq28xJwX6Pz3yS7qeLJteKydoq3kBIBjaE+eNq Y1kEQj1aV5AHLeNd2txmZxKcHtL5LW1Rmq+HCDKUT5qcKUWfK788HD5broEJAoqgoleB DWH6mAZipm0UiIZlCAv7FMf9vHdXogjYBKKR8pYcMIBVpkFgr2KDD+/SkZz0zZn+Navk 5M0XZInuzDlf50Mk5za7Fp48Voos17yg6EO4U5OrK/eKAFzxTS4u1LcpCvwpX+EgKQh6 hdpBb8lvvH8nPCx18RZ8vBZyPr2D9QoQ5yCOMPwmhwbbNTv0hBWsLGcTzpdJNJND2uP/ 0JcA==
X-Gm-Message-State: AOAM531P4EKHaF/F48XI6gU0OE1KZg60myYL68fLbQjAztCS9PerD4Ty p6MIV5zB9j9NRmUyaMoXXLRcAi/RhDMIXWXkhCQ=
X-Google-Smtp-Source: ABdhPJwvl1pi/qZUtKDEG9BBNPX8/iUQgWxClI4QN5eaxvfXmt2yUiKv6VheHQNXjdGXsfOo/Jzb9jF50zQrext1S5Y=
X-Received: by 2002:a25:8e0e:: with SMTP id p14mr42606374ybl.84.1621189769179; Sun, 16 May 2021 11:29:29 -0700 (PDT)
MIME-Version: 1.0
References: <ietf-wg-cellar/ebml-specification/issues/407@github.com> <21441.1620656178@localhost> <CAKKJt-e5PtTZM=j=Cn_YBPW87ag+oui7mGx=wuxt0JU1KY3SLQ@mail.gmail.com> <206103c0-9265-127b-6a5b-48da92fe3c9d@matroska.org>
In-Reply-To: <206103c0-9265-127b-6a5b-48da92fe3c9d@matroska.org>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Sun, 16 May 2021 13:29:02 -0500
Message-ID: <CAKKJt-fnetcjQzvxhp9MjASujBNGAKwdf39bUhSqSL=4h2vy9Q@mail.gmail.com>
To: Steve Lhomme <slhomme@matroska.org>
Cc: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>, Murray Kucherawy <superuser@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000004e348605c276a84c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/O7zbeUdGzKmHD8k0f_4HY9Y8hn8>
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: Sun, 16 May 2021 18:29:36 -0000

Hi, Steve,

(adding Murray to the CC list, because I'm invoking his wisdom on the
question we're talking about)

On Sun, May 16, 2021 at 8:42 AM Steve Lhomme <slhomme@matroska.org> wrote:

> On 2021-05-11 0:43, Spencer Dawkins at IETF wrote:
> > 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
> > <mailto:mcr@sandelman.ca>> wrote:
> >
> >
> >     Steve Lhomme <notifications@github.com
> >     <mailto:notifications@github.com>> wrote:
> >          > As pointed out by [Paul
> >     Foley](
> https://mailarchive.ietf.org/arch/msg/cellar/z_INjU-Vc9FOTDZs9AhdRRjrIig/
> >     <
> 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
> >     <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
>
> What would be an EBML-bis document ? A revision to the RFC comparable to
> the errata or something that would result in a new RFC ?
>

This is always the question, when we have accepted Errata for a published
RFC - does the working group publish

   - an RFC that only contains the sections that the fix for the Errata
   touches (so, the new RFC Updates the previous RFC), or
   - an RFC that contains all the sections of the original RFC, whether
   they contain fixes for the Errata or not (so, the new RFC Obsoletes the
   previous RFC)

Guidance from the IESG about what is preferred has changed over time, so I
wanted Murray to be aware that the question was coming up in CELLAR, in
case he needed to tell us what the current answer is.

Does that make sense?

Best,

Spencer


> > 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
> >     <https://en.wikipedia.org/wiki/Interrupt> )
> >
> >     --
> >     ]               Never tell me the odds!                 | ipv6 mesh
> >     networks [
> >     ]   Michael Richardson, Sandelman Software Works        |    IoT
> >     architect   [
> >     ] mcr@sandelman.ca <mailto:mcr@sandelman.ca>
> >     http://www.sandelman.ca/ <http://www.sandelman.ca/>        |   ruby
> >     on rails    [
> >
> >     _______________________________________________
> >     Cellar mailing list
> >     Cellar@ietf.org <mailto:Cellar@ietf.org>
> >     https://www.ietf.org/mailman/listinfo/cellar
> >     <https://www.ietf.org/mailman/listinfo/cellar>
> >
> >
> > _______________________________________________
> > Cellar mailing list
> > Cellar@ietf.org
> > https://www.ietf.org/mailman/listinfo/cellar
> >
>
>
> _______________________________________________
> Cellar mailing list
> Cellar@ietf.org
> https://www.ietf.org/mailman/listinfo/cellar
>