[Matroska-devel] EBML Namespaces
haessije at eps.e-i.com
Wed Apr 5 14:40:18 CEST 2006
I would like to know if there are any plans to include some namespacing
feature into EBML.
I think namespaces are an important feature to enable compositing of
EBML documents and
transparent extension of existing formats.
Just in case, if nobody ever seriously thought about it, please consider
my idea is to replace the high order bits (not the ones coding for the
ID length) of
the Class-IDs with a namespace ID. First of all, a few new level 1+
defined : 4288, an integer element that defines how many bits are used
4289 is the namespace declaration element. It has two sub-elements : 81
is an integer
representing the namespace ID, 82 is a string containing the namespace
key, which can
be a URL, as in traditional XML namespaces, or a public key fingerprint.
When a Class-ID has high-order set bits that would conflict with the
that Class-ID is simply represented as a larger class (it would be
coherent with the
EBML RFC section 2.2, which states that Class-IDs are always encoded in
Form, therefore no ID clashes can happen)
The namespace ID is always 0 for EBML elements, so for files using up to
namespaces, the header elements wouldn't change at all. Another
advantage of my
approach is that the lowest level of EBML parsers (which do not
would not be confused by the files using namespaces.
I welcome any comments and would be pleased to answer if further detail
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matroska-devel