[Matroska-devel] EBML data type constraints

Moritz Bunkus moritz at bunkus.org
Thu Jul 2 14:49:45 CEST 2015


> On Thu, 02 Jul 2015 14:37:38 +0200

> I agree. Though I'd lobby that strings with zero bytes are also
> discouraged this way.
> Maybe calling them "deprecated" is the right wording?

No, empty strings must remain possible, especially for a general purpose
base format for containers (don't think of Matroska!). The situation is
different than the one for integers. You can express »empty« for an
integer with a one-byte value part, but you can only do the equivalent
for a string with a string of 0 bytes length. We must allow it.

Kind regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20150702/488cd132/attachment.sig>

More information about the Matroska-devel mailing list