Re: EBML data type constraints

wm4 <[email protected]>
Newsgroups gmane.comp.multimedia.matroska.devel
Message-ID <20150702152135.7a9f3404@miuna>
On Thu, 2 Jul 2015 14:49:45 +0200
Moritz Bunkus <[email protected]> wrote:

> Hey,
> 
> > 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.

I wasn't talking about length 0 strings, but strings with '\0' bytes in
them. (Another case we've talked about.)
_______________________________________________
Matroska-devel mailing list
[email protected]
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.