Re: [Cellar] On the multiplicity of Info elements

"Sebastian G. <bastik>" <bastik.public.mailinglist@gmx.de> Wed, 06 January 2016 19:13 UTC

Return-Path: <bastik.public.mailinglist@gmx.de>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDF661A010B for <cellar@ietfa.amsl.com>; Wed, 6 Jan 2016 11:13:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level:
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 TnRs16zOp0kZ for <cellar@ietfa.amsl.com>; Wed, 6 Jan 2016 11:13:06 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 494A31A0108 for <cellar@ietf.org>; Wed, 6 Jan 2016 11:13:06 -0800 (PST)
Received: from [192.168.2.129] ([188.100.175.162]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MMShK-1aIYzk3npO-008Gq6; Wed, 06 Jan 2016 20:12:19 +0100
To: Dave Rice <dave@dericed.com>
References: <CAHUoETLC4dQQ7=TOuTXZ3aDjKCCJgz2s-8Gb33MoSAP3hgRQiQ@mail.gmail.com> <BEA72D66-EA3D-4CF0-987D-836E95287F39@dericed.com> <20151230091811.GA19636@bunkus.org> <CAOXsMFLCbe-W=h+tQpdRa8Nh0jz=xdbZTXEmoXsgQTbA=4OPCQ@mail.gmail.com> <C0E5EBA2-2A56-46F9-A049-629EFB11F280@dericed.com> <CAOXsMF+gc0d2LEisfHm0jnjDGQKcYquEMBt7FnZ_uuSNF=C0iw@mail.gmail.com> <568AC10F.9030303@gmx.de> <CAOXsMFKJJhzU-3CYqguDePY42T+Vvhx9ytAfvoM6xyqaZY+N4g@mail.gmail.com> <FCC4DC05-44CD-4C2B-8C59-8E3E5B494DC0@dericed.com>
From: "Sebastian G. <bastik>" <bastik.public.mailinglist@gmx.de>
Openpgp: id=BFE90DE515B6F548CDE298939902921C2B944DAE
X-Enigmail-Draft-Status: N1110
Message-ID: <568D6710.8000605@gmx.de>
Date: Wed, 06 Jan 2016 20:12:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <FCC4DC05-44CD-4C2B-8C59-8E3E5B494DC0@dericed.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:M+bw/qUi/s4mHvyUVqijQWPoAldYQqMQwMPO9xP+Njv8+LwwxoO 2qtlyJh6sYjx1DsnVPcAO5GkOOTbKr6OMgUx1drIC+3mUb+5Sp+XxaknZIArrgTv4IarMWG 4Y+G+ssxBT2r5fx/Y2EXn2ipkOBD5jwsJtsSqouvLt9BeqTw4/U2JIMoHuyySgLUxpXOWZe 4aeb6BjEEbzeCHVrk7r6Q==
X-UI-Out-Filterresults: notjunk:1;V01:K0:0nDMgUSYg4Q=:Mlk3knwCn/NR2hGIo9TxR7 Y4XfZjpb02pEM/d335uPjDnh8Xj5PWyXKRc876jCPdWMMm+ggVuknkDsw49UppeE69PV4LrJR S6r6EjxGCETZGlgQk1J1nBfGAGVNsq0bqFzGyUE2z7t2FuX7MjG/TVtUL6YMGBhE0+b1Lwy4E 6TTRO644QGya8UV9QUSErjB3bzgjtevgxfZ4K0WrorLIavKchE74F9Uoax27mho27c8PnGWvb vYqhzKtC1r40jhJv0wr6KnS9cKo8yVZZI59fVC8zxH18Mmkx8HQYwhkDpKXntqgXQdmn5mx02 Nnd1j3HOWxObreTJPq2YrmsPMqlcEd3+JqfNAOtF+R7PQRllFdcxEJwFTi+gFp4QsBpMnDUJG rSYJGZtR4yIge7zJ93r2onpKJT2G3Ayhvr99N4Z246RpDH+1T5xEU5NIBpFxRtMmQ4J9+u2wR bUS168F+ivAr6zHTENrtrAfXmM41vgI9PJ0AK6oNiwQ82b6sjn1un0QinPqWV5UmVgQWcJ4Ym nd6LRX1DFyQlsmbOIMdr/W1IZbw+48d9Pcp3yQ2FLbQ4csvQeI5bh4QqLHQAjdArh6fAByhW5 0xt7nPg1So0SXepb4yfmu4TMuD8G14NMgdUyqJk4wbBAzwkVGxBUXIbS69gqn61N4c7oaAeXQ 3LKXxpRynK2raXLFqSE+sQ/C8ibvbu9jlCRkmfzWYp/VY+9YzgtTxGuGv61tIZ4RtyqrdDZaP Ma37ebnYk8MRUeujTQcSXVJzyRdoJ3RxTFjSG7vujloQiNIbj7YzMae+4exEqUfjIiBUCeZM4 m7sGmk9
Archived-At: <http://mailarchive.ietf.org/arch/msg/cellar/HE2Nifm1X1XAyrwgSHTmdjLo7w0>
Cc: cellar@ietf.org
Subject: Re: [Cellar] On the multiplicity of Info elements
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 06 Jan 2016 19:13:08 -0000

06.01.2016, 08:06 Dave Rice:
> Here is a draft for an EBML Schema Attribute to be used in the
> definition of EBML Elements for what I’m referring to as
> Identically-Recurring Elements.
> 
> ==== A boolean to express if the EBML Element may occur within its
> Parent Element more than once but that each recurrance within that

Is 'recurrance' spelled correctly? (Not a native speaker). 'recurrence'
is suggested as search term suggestion.

> Parent Element MUST be identical both in storage and semantics. Such
> Elements are referred to as Identically-Recurring Elements. In this
> case, identical copies of an EBML Element are permitted to be stored
> multiple times within the same Parent Element in order to increase
> data resillience and optimize the use of EBML in transmission.

'resillience' seems to have an error. 'resilience'.

> Identically-Recurring Elements SHOULD include a CRC-32 Element as a
> Child Element. If a Parent Element contains more than one copy of an
> Identically-Recurring Element which includes a CRC-32 Child Elememnt

s/Elememnt/Element

> then the first instance of the Identically-Recurring Element with a
> valid CRC-32 value should be used for interpretation. If a Parent
> Element contains more than one copy of an Identically-Recurring
> Element which does not contain a CRC-32 Child Elememnt then the first

s/Elememnt/Element

'If a Parent Element contains more than one copy of an
Identically-Recurring Element which does not contain a CRC-32 Child
Element "or if CRC-32 Child Elements are present but neither of those
are valid" then the first instance of the Identically-Recurring Element
should be used for interpretation.'

I took your sentence and added (noted by "") the case something would
contain CRCs, but neither of them would be valid. Feel free to ignore
this suggestion. It might be a rare case.

It is certainly possible to have it as separate sentence. Maybe it makes
it easier to read. Maybe even easier to understand.

> instance of the Identically-Recurring Element should be used for
> interpretation. If the `identical` attribute is not expressed for
> that Element then that Element is considered to not have a
> requirement for identical expression within the same Parent Element.
> The `identical` attribute is only valid if the Element is not set to
> `multiple`, otherwise the `identical` attribute shall be ignored. 
> ====
> 
> The text may be seen in context with the other attributes at
> https://github.com/MediaArea/ebml-specification/blob/d108c14d1f1c748d1f3f50e58d4057208325f892/specification.markdown#ebml-schema-element-attributes
>
>  Some pending questions:
> - Should Identically-Recurring Elements recommend or mandate inclusion of a CRC-32? I suggestion recommend and not mandate for reverse compability.

Backward compatibility seems to be a higher goal than CRCs. I think it
should be even possible to play a file without checking CRCs, which does
not contradict having CRCs in the first place.

Like Timothy B. Terriberry points out, reasons for not having CRCs on
those elements should be given in the specification.

> - Is 'Identically-Recurring Elements’ a decent short name for these types of Elements?

I have no objection. IRE could be used when talking about those
elements, unless it is within official documents.

> - Should the ‘identical’ attribute apply to only Master-elements? I think it could be open. I could see scenarios to place the CRC-32 both at the beginning and end of the Parent Element.

I have not enough knowledge to make an informed statement.

> - I’m thinking that ‘multiple’ means the Element may recur within its Parent Element and means that there are multiple semantics. I suggest that ‘identical’ Elements not be ‘multiple’ as an ‘identical’ Element recurs but only with a single and non-multiple semantic meaning. OK?

I have not enough knowledge to make an informed statement.

> - If there are multiple copies of identical Elements, I wrote in the draft that if there’s a CRC than the first copy with valid CRC be used, else the first copy be used. Potentially we could say first valid copy be used, but then need to say fully what valid means.

I'm neutral, but agree that if just valid is used it would have to be
explained what valid means.

> - I agree that an identical Element should not be used to change the semantics over time.

Agreed.

--
Sebastian