Re: clarifications on the use of Unknown Sized Elements
Moritz Bunkus <[email protected]>
| Newsgroups | gmane.comp.multimedia.matroska.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey, > - Only Elements that are Master-elements may use an unknown size. I would be good with this, even though I don't know whether or not we had that restriction before. > - When is the Element of Unknown Size ended. In discussions (in > github, mailing list, and irc) there has been two answers to this: > 1. Upon the first occurrence of an Element that is not a valid > sub-element of the unknown-sized element. > 2. Upon the first occurrence of an Element that is at the same or a > higher level than the one with an infite size I was the one who said 2.; basically what I meant was 1. 1. is more precise than my wording yesterday (2.), therefore disregard 2., please. 1. also hints at the problem with elements than can occur at multiple levels (EbmlVoid, SimpleTags). > - Dependency on Schema > For the SimpleTag option available, the interpretation of the ending > of the element presumes that the parse has knowledge of the EBML > Schema/Profile of mastroska in any version 1-4. I'd like to include > some statement to say that the use of an element of unknown size > requires the use of the corresponding schema. Hmm… going with 1. from before we could indeed have a scenario where an element from (a hypothetical version) v5 may include an element from earlier versions, e.g. we introduce KaxÜberTags (v5 element) which may include the already existing KaxTag elements (v4). In that situation a parser that only knows v1-v4 but not v5 could find itself in a situation where a KaxÜberTags master has an infinite size, but the parser would then erroneously see that KaxTag as the end of the unknown infinite-sized KaxÜberTags. So you may be right, and Steve might be wrong. Kind regards, mosu _______________________________________________ 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
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVdowtAAoJEHSvAK3y4yyFzKcQALoKiVl12gNC74hyCfQXEZ3k geZOw2X0Rpgg4mJEBabbeVGFwsRRcnB9hl2wweDaD8AtLCEaydxgM/WmsWwvNKZV 5r5/gtDzpUVnN+8hK5xwPaOuGqelsu4Hlc7H2Mn5B2rsktzou8M9wETkq9ZzjDPe fJzNO7LCWq/fPTckTLiIYnOM1/lWsCSO8wfSZGXIZLpg54Qbr2aOclz1x7stgzun ikg6K8S7IqQjzT8UnRyiyEhLHocWZfEC6tmzT658FOo1B15cpDGgB7z7N9dM5Qjm DNA6iCHPIPPFbirBsSezQ5LYgDoeKrXzeVfCOGOD9iluDzun1n/KlYPZs55avUqN FOb5tUTJg6QcegHavXOO7uVdSKlDG4sxxuv83UzFI5VzIEfW+B4bfGSG35YiHpPi bXVJ66aVaX4tMB4Z9G+oDpRZYZRetZsh5K1Si7AY4zZdr6JGG6n7bG+vVee/9+IV S72ViDWRgbiDEAgahE5IAK15FYkVS7QlQkwBdBfsBfbr5KUO6ggLujqB68WtaOUw h+8ol1+HXaFYqh+/TxdQR917eAOOWOnGRi9jdbyPkxoaPRdsfCVk+VavSS+Tt+Tt fHUNEr6y3sSXPvYepNYwyxSl0uI5jcRixeFCuJs9fOFyOu7TqieQMCxRiuuLxQzn FVEQSVVKcsFNhLvxAfa0 =0J0m -----END PGP SIGNATURE-----