File: rfc8794.html

package info (click to toggle)
doc-rfc 20230121-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 1,609,944 kB
file content (4992 lines) | stat: -rw-r--r-- 272,672 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
<!DOCTYPE html>
<html lang="en" class="RFC">
<head>
<meta charset="utf-8">
<meta content="Common,Latin" name="scripts">
<meta content="initial-scale=1.0" name="viewport">
<title>RFC 8794: Extensible Binary Meta Language</title>
<meta content="Steve Lhomme" name="author">
<meta content="Dave Rice" name="author">
<meta content="Moritz Bunkus" name="author">
<meta content="
       This document defines the Extensible Binary Meta Language (EBML) format as a binary container format designed for audio/video storage. EBML is designed as a binary equivalent to XML and uses a storage-efficient approach to build nested Elements with identifiers, lengths, and values. Similar to how an XML Schema defines the structure and semantics of an XML Document, this document defines how EBML Schemas are created to convey the semantics of an EBML Document. 
    " name="description">
<meta content="xml2rfc 2.47.0" name="generator">
<meta content="binary" name="keyword">
<meta content="storage" name="keyword">
<meta content="xml" name="keyword">
<meta content="matroska" name="keyword">
<meta content="webm" name="keyword">
<meta content="8794" name="rfc.number">
<link href="rfc8794.xml" rel="alternate" type="application/rfc+xml">
<link href="#copyright" rel="license">
<style type="text/css">/*

  NOTE: Changes at the bottom of this file overrides some earlier settings.

  Once the style has stabilized and has been adopted as an official RFC style,
  this can be consolidated so that style settings occur only in one place, but
  for now the contents of this file consists first of the initial CSS work as
  provided to the RFC Formatter (xml2rfc) work, followed by itemized and
  commented changes found necssary during the development of the v3
  formatters.

*/

/* fonts */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */

@viewport {
  zoom: 1.0;
  width: extend-to-zoom;
}
@-ms-viewport {
  width: extend-to-zoom;
  zoom: 1.0;
}
/* general and mobile first */
html {
}
body {
  max-width: 90%;
  margin: 1.5em auto;
  color: #222;
  background-color: #fff;
  font-size: 14px;
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}
.ears {
  display: none;
}

/* headings */
#title, h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.5em;
  font-weight: bold;
  line-height: 1.3;
}
#title {
  clear: both;
  border-bottom: 1px solid #ddd;
  margin: 0 0 0.5em 0;
  padding: 1em 0 0.5em;
}
.author {
  padding-bottom: 4px;
}
h1 {
  font-size: 26px;
  margin: 1em 0;
}
h2 {
  font-size: 22px;
  margin-top: -20px;  /* provide offset for in-page anchors */
  padding-top: 33px;
}
h3 {
  font-size: 18px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h4 {
  font-size: 16px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h5, h6 {
  font-size: 14px;
}
#n-copyright-notice {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
/* general structure */
p {
  padding: 0;
  margin: 0 0 1em 0;
  text-align: left;
}
div, span {
  position: relative;
}
div {
  margin: 0;
}
.alignRight.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignRight.art-text pre {
  padding: 0;
}
.alignRight {
  margin: 1em 0;
}
.alignRight > *:first-child {
  border: none;
  margin: 0;
  float: right;
  clear: both;
}
.alignRight > *:nth-child(2) {
  clear: both;
  display: block;
  border: none;
}
svg {
  display: block;
}
.alignCenter.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignCenter.art-text pre {
  padding: 0;
}
.alignCenter {
  margin: 1em 0;
}
.alignCenter > *:first-child {
  border: none;
  /* this isn't optimal, but it's an existence proof.  PrinceXML doesn't
     support flexbox yet.
  */
  display: table;
  margin: 0 auto;
}

/* lists */
ol, ul {
  padding: 0;
  margin: 0 0 1em 2em;
}
ol ol, ul ul, ol ul, ul ol {
  margin-left: 1em;
}
li {
  margin: 0 0 0.25em 0;
}
.ulCompact li {
  margin: 0;
}
ul.empty, .ulEmpty {
  list-style-type: none;
}
ul.empty li, .ulEmpty li {
  margin-top: 0.5em;
}
ul.compact, .ulCompact,
ol.compact, .olCompact {
  line-height: 100%;
  margin: 0 0 0 2em;
}

/* definition lists */
dl {
}
dl > dt {
  float: left;
  margin-right: 1em;
}
/* 
dl.nohang > dt {
  float: none;
}
*/
dl > dd {
  margin-bottom: .8em;
  min-height: 1.3em;
}
dl.compact > dd, .dlCompact > dd {
  margin-bottom: 0em;
}
dl > dd > dl {
  margin-top: 0.5em;
  margin-bottom: 0em;
}

/* links */
a {
  text-decoration: none;
}
a[href] {
  color: #22e; /* Arlen: WCAG 2019 */
}
a[href]:hover {
  background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
  color: #222;
}
/* XXX probably not this:
a.selfRef:hover {
  background-color: transparent;
  cursor: default;
} */

/* Figures */
tt, code, pre, code {
  background-color: #f9f9f9;
  font-family: 'Roboto Mono', monospace;
}
pre {
  border: 1px solid #eee;
  margin: 0;
  padding: 1em;
}
img {
  max-width: 100%;
}
figure {
  margin: 0;
}
figure blockquote {
  margin: 0.8em 0.4em 0.4em;
}
figcaption {
  font-style: italic;
  margin: 0 0 1em 0;
}
@media screen {
  pre {
    overflow-x: auto;
    max-width: 100%;
    max-width: calc(100% - 22px);
  }
}

/* aside, blockquote */
aside, blockquote {
  margin-left: 0;
  padding: 1.2em 2em;
}
blockquote {
  background-color: #f9f9f9;
  color: #111; /* Arlen: WCAG 2019 */
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 1em 0;
}
cite {
  display: block;
  text-align: right;
  font-style: italic;
}

/* tables */
table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  border: 1px solid #eee;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5em 0.75em;
}
th {
  text-align: left;
  background-color: #e9e9e9;
}
tr:nth-child(2n+1) > td {
  background-color: #f5f5f5;
}
table caption {
  font-style: italic;
  margin: 0;
  padding: 0;
  text-align: left;
}
table p {
  /* XXX to avoid bottom margin on table row signifiers. If paragraphs should
     be allowed within tables more generally, it would be far better to select on a class. */
  margin: 0;
}

/* pilcrow */
a.pilcrow {
  color: #666; /* Arlen: AHDJ 2019 */
  text-decoration: none;
  visibility: hidden;
  user-select: none;
  -ms-user-select: none;
  -o-user-select:none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
@media screen {
  aside:hover > a.pilcrow,
  p:hover > a.pilcrow,
  blockquote:hover > a.pilcrow,
  div:hover > a.pilcrow,
  li:hover > a.pilcrow,
  pre:hover > a.pilcrow {
    visibility: visible;
  }
  a.pilcrow:hover {
    background-color: transparent;
  }
}

/* misc */
hr {
  border: 0;
  border-top: 1px solid #eee;
}
.bcp14 {
  font-variant: small-caps;
}

.role {
  font-variant: all-small-caps;
}

/* info block */
#identifiers {
  margin: 0;
  font-size: 0.9em;
}
#identifiers dt {
  width: 3em;
  clear: left;
}
#identifiers dd {
  float: left;
  margin-bottom: 0;
}
#identifiers .authors .author {
  display: inline-block;
  margin-right: 1.5em;
}
#identifiers .authors .org {
  font-style: italic;
}

/* The prepared/rendered info at the very bottom of the page */
.docInfo {
  color: #666; /* Arlen: WCAG 2019 */
  font-size: 0.9em;
  font-style: italic;
  margin-top: 2em;
}
.docInfo .prepared {
  float: left;
}
.docInfo .prepared {
  float: right;
}

/* table of contents */
#toc  {
  padding: 0.75em 0 2em 0;
  margin-bottom: 1em;
}
nav.toc ul {
  margin: 0 0.5em 0 0;
  padding: 0;
  list-style: none;
}
nav.toc li {
  line-height: 1.3em;
  margin: 0.75em 0;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
/* references */
.references dt {
  text-align: right;
  font-weight: bold;
  min-width: 7em;
}
.references dd {
  margin-left: 8em;
  overflow: auto;
}

.refInstance {
  margin-bottom: 1.25em;
}

.references .ascii {
  margin-bottom: 0.25em;
}

/* index */
.index ul {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: none;
}
.index ul ul {
  margin: 0;
}
.index li {
  margin: 0;
  text-indent: -2em;
  padding-left: 2em;
  padding-bottom: 5px;
}
.indexIndex {
  margin: 0.5em 0 1em;
}
.index a {
  font-weight: 700;
}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
  .index ul {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
  }
  .index ul ul {
    -moz-column-count: 1;
    -moz-column-gap: 0;
  }
}

/* authors */
address.vcard {
  font-style: normal;
  margin: 1em 0;
}

address.vcard .nameRole {
  font-weight: 700;
  margin-left: 0;
}
address.vcard .label {
  font-family: "Noto Sans",Arial,Helvetica,sans-serif;
  margin: 0.5em 0;
}
address.vcard .type {
  display: none;
}
.alternative-contact {
  margin: 1.5em 0 1em;
}
hr.addr {
  border-top: 1px dashed;
  margin: 0;
  color: #ddd;
  max-width: calc(100% - 16px);
}

/* temporary notes */
.rfcEditorRemove::before {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  padding: 0.2em;
  content: "The RFC Editor will remove this note";
  color: #9e2a00; /* Arlen: WCAG 2019 */
  background-color: #ffd; /* Arlen: WCAG 2019 */
}
.rfcEditorRemove {
  position: relative;
  padding-top: 1.8em;
  background-color: #ffd; /* Arlen: WCAG 2019 */
  border-radius: 3px;
}
.cref {
  background-color: #ffd; /* Arlen: WCAG 2019 */
  padding: 2px 4px;
}
.crefSource {
  font-style: italic;
}
/* alternative layout for smaller screens */
@media screen and (max-width: 1023px) {
  body {
    padding-top: 2em;
  }
  #title {
    padding: 1em 0;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
    margin-top: -18px;  /* provide offset for in-page anchors */
    padding-top: 38px;
  }
  #identifiers dd {
    max-width: 60%;
  }
  #toc {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    background-color: inherit;
    border-bottom: 1px solid #ccc;
  }
  #toc h2 {
    margin: -1px 0 0 0;
    padding: 4px 0 4px 6px;
    padding-right: 1em;
    min-width: 190px;
    font-size: 1.1em;
    text-align: right;
    background-color: #444;
    color: white;
    cursor: pointer;
  }
  #toc h2::before { /* css hamburger */
    float: right;
    position: relative;
    width: 1em;
    height: 1px;
    left: -164px;
    margin: 6px 0 0 0;
    background: white none repeat scroll 0 0;
    box-shadow: 0 4px 0 0 white, 0 8px 0 0 white;
    content: "";
  }
  #toc nav {
    display: none;
    padding: 0.5em 1em 1em;
    overflow: auto;
    height: calc(100vh - 48px);
    border-left: 1px solid #ddd;
  }
}

/* alternative layout for wide screens */
@media screen and (min-width: 1024px) {
  body {
    max-width: 724px;
    margin: 42px auto;
    padding-left: 1.5em;
    padding-right: 29em;
  }
  #toc {
    position: fixed;
    top: 42px;
    right: 42px;
    width: 25%;
    margin: 0;
    padding: 0 1em;
    z-index: 1;
  }
  #toc h2 {
    border-top: none;
    border-bottom: 1px solid #ddd;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0.25em 1em 1em 0;
  }
  #toc nav {
    display: block;
    height: calc(90vh - 84px);
    bottom: 0;
    padding: 0.5em 0 0;
    overflow: auto;
  }
  img { /* future proofing */
    max-width: 100%;
    height: auto;
  }
}

/* pagination */
@media print {
  body {

    width: 100%;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  #n-copyright-notice {
    border-bottom: none;
  }
  #toc, #n-introduction {
    page-break-before: always;
  }
  #toc {
    border-top: none;
    padding-top: 0;
  }
  figure, pre {
    page-break-inside: avoid;
  }
  figure {
    overflow: scroll;
  }
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  h2+*, h3+*, h4+*, h5+*, h6+* {
    page-break-before: avoid;
  }
  pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 10pt;
  }
  table {
    border: 1px solid #ddd;
  }
  td {
    border-top: 1px solid #ddd;
  }
}

/* This is commented out here, as the string-set: doesn't
   pass W3C validation currently */
/*
.ears thead .left {
  string-set: ears-top-left content();
}

.ears thead .center {
  string-set: ears-top-center content();
}

.ears thead .right {
  string-set: ears-top-right content();
}

.ears tfoot .left {
  string-set: ears-bottom-left content();
}

.ears tfoot .center {
  string-set: ears-bottom-center content();
}

.ears tfoot .right {
  string-set: ears-bottom-right content();
}
*/

@page :first {
  padding-top: 0;
  @top-left {
    content: normal;
    border: none;
  }
  @top-center {
    content: normal;
    border: none;
  }
  @top-right {
    content: normal;
    border: none;
  }
}

@page {
  size: A4;
  margin-bottom: 45mm;
  padding-top: 20px;
  /* The follwing is commented out here, but set appropriately by in code, as
     the content depends on the document */
  /*
  @top-left {
    content: 'Internet-Draft';
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-left {
    content: string(ears-top-left);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-center {
    content: string(ears-top-center);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-right {
    content: string(ears-top-right);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @bottom-left {
    content: string(ears-bottom-left);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-center {
    content: string(ears-bottom-center);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-right {
      content: '[Page ' counter(page) ']';
      vertical-align: top;
      border-top: solid 1px #ccc;
  }
  */

}

/* Changes introduced to fix issues found during implementation */
/* Make sure links are clickable even if overlapped by following H* */
a {
  z-index: 2;
}
/* Separate body from document info even without intervening H1 */
section {
  clear: both;
}


/* Top align author divs, to avoid names without organization dropping level with org names */
.author {
  vertical-align: top;
}

/* Leave room in document info to show Internet-Draft on one line */
#identifiers dt {
  width: 8em;
}

/* Don't waste quite as much whitespace between label and value in doc info */
#identifiers dd {
  margin-left: 1em;
}

/* Give floating toc a background color (needed when it's a div inside section */
#toc {
  background-color: white;
}

/* Make the collapsed ToC header render white on gray also when it's a link */
@media screen and (max-width: 1023px) {
  #toc h2 a,
  #toc h2 a:link,
  #toc h2 a:focus,
  #toc h2 a:hover,
  #toc a.toplink,
  #toc a.toplink:hover {
    color: white;
    background-color: #444;
    text-decoration: none;
  }
}

/* Give the bottom of the ToC some whitespace */
@media screen and (min-width: 1024px) {
  #toc {
    padding: 0 0 1em 1em;
  }
}

/* Style section numbers with more space between number and title */
.section-number {
  padding-right: 0.5em;
}

/* prevent monospace from becoming overly large */
tt, code, pre, code {
  font-size: 95%;
}

/* Fix the height/width aspect for ascii art*/
pre.sourcecode,
.art-text pre {
  line-height: 1.12;
}


/* Add styling for a link in the ToC that points to the top of the document */
a.toplink {
  float: right;
  margin-right: 0.5em;
}

/* Fix the dl styling to match the RFC 7992 attributes */
dl > dt,
dl.dlParallel > dt {
  float: left;
  margin-right: 1em;
}
dl.dlNewline > dt {
  float: none;
}

/* Provide styling for table cell text alignment */
table td.text-left,
table th.text-left {
  text-align: left;
}
table td.text-center,
table th.text-center {
  text-align: center;
}
table td.text-right,
table th.text-right {
  text-align: right;
}

/* Make the alternative author contact informatio look less like just another
   author, and group it closer with the primary author contact information */
.alternative-contact {
  margin: 0.5em 0 0.25em 0;
}
address .non-ascii {
  margin: 0 0 0 2em;
}

/* With it being possible to set tables with alignment
  left, center, and right, { width: 100%; } does not make sense */
table {
  width: auto;
}

/* Avoid reference text that sits in a block with very wide left margin,
   because of a long floating dt label.*/
.references dd {
  overflow: visible;
}

/* Control caption placement */
caption {
  caption-side: bottom;
}

/* Limit the width of the author address vcard, so names in right-to-left
   script don't end up on the other side of the page. */

address.vcard {
  max-width: 30em;
  margin-right: auto;
}

/* For address alignment dependent on LTR or RTL scripts */
address div.left {
  text-align: left;
}
address div.right {
  text-align: right;
}

/* Provide table alignment support.  We can't use the alignX classes above
   since they do unwanted things with caption and other styling. */
table.right {
 margin-left: auto;
 margin-right: 0;
}
table.center {
 margin-left: auto;
 margin-right: auto;
}
table.left {
 margin-left: 0;
 margin-right: auto;
}

/* Give the table caption label the same styling as the figcaption */
caption a[href] {
  color: #222;
}

@media print {
  .toplink {
    display: none;
  }

  /* avoid overwriting the top border line with the ToC header */
  #toc {
    padding-top: 1px;
  }

  /* Avoid page breaks inside dl and author address entries */
  .vcard {
    page-break-inside: avoid;
  }

}
/* Tweak the bcp14 keyword presentation */
.bcp14 {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 0.9em;
}
/* Tweak the invisible space above H* in order not to overlay links in text above */
 h2 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 31px;
 }
 h3 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
 h4 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
/* Float artwork pilcrow to the right */
@media screen {
  .artwork a.pilcrow {
    display: block;
    line-height: 0.7;
    margin-top: 0.15em;
  }
}
/* Make pilcrows on dd visible */
@media screen {
  dd:hover > a.pilcrow {
    visibility: visible;
  }
}
/* Make the placement of figcaption match that of a table's caption
   by removing the figure's added bottom margin */
.alignLeft.art-text,
.alignCenter.art-text,
.alignRight.art-text {
   margin-bottom: 0;
}
.alignLeft,
.alignCenter,
.alignRight {
  margin: 1em 0 0 0;
}
/* In print, the pilcrow won't show on hover, so prevent it from taking up space,
   possibly even requiring a new line */
@media print {
  a.pilcrow {
    display: none;
  }
}
/* Styling for the external metadata */
div#external-metadata {
  background-color: #eee;
  padding: 0.5em;
  margin-bottom: 0.5em;
  display: none;
}
div#internal-metadata {
  padding: 0.5em;                       /* to match the external-metadata padding */
}
/* Styling for title RFC Number */
h1#rfcnum {
  clear: both;
  margin: 0 0 -1em;
  padding: 1em 0 0 0;
}
/* Make .olPercent look the same as <ol><li> */
dl.olPercent > dd {
  margin-bottom: 0.25em;
  min-height: initial;
}
/* Give aside some styling to set it apart */
aside {
  border-left: 1px solid #ddd;
  margin: 1em 0 1em 2em;
  padding: 0.2em 2em;
}
aside > dl,
aside > ol,
aside > ul,
aside > table,
aside > p {
  margin-bottom: 0.5em;
}
/* Additional page break settings */
@media print {
  figcaption, table caption {
    page-break-before: avoid;
  }
}
/* Font size adjustments for print */
@media print {
  body  { font-size: 10pt;      line-height: normal; max-width: 96%; }
  h1    { font-size: 1.72em;    padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */
  h2    { font-size: 1.44em;    padding-top: 1.5em; } /* 1*1.2*1.2 */
  h3    { font-size: 1.2em;     padding-top: 1.5em; } /* 1*1.2 */
  h4    { font-size: 1em;       padding-top: 1.5em; }
  h5, h6 { font-size: 1em;      margin: initial; padding: 0.5em 0 0.3em; }
}
/* Sourcecode margin in print, when there's no pilcrow */
@media print {
  .artwork,
  .sourcecode {
    margin-bottom: 1em;
  }
}
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
  min-width: 20em;
}
/* ol type a */
ol.type-a { list-style-type: lower-alpha; }
ol.type-A { list-style-type: upper-alpha; }
ol.type-i { list-style-type: lower-roman; }
ol.type-I { list-style-type: lower-roman; }
/* Apply the print table and row borders in general, on request from the RPC,
and increase the contrast between border and odd row background sligthtly */
table {
  border: 1px solid #ddd;
}
td {
  border-top: 1px solid #ddd;
}
tr:nth-child(2n+1) > td {
  background-color: #f8f8f8;
}
/* Use style rules to govern display of the TOC. */
@media screen and (max-width: 1023px) {
  #toc nav { display: none; }
  #toc.active nav { display: block; }
}
/* Add support for keepWithNext */
.keepWithNext {
  break-after: avoid-page;
  break-after: avoid-page;
}
/* Add support for keepWithPrevious */
.keepWithPrevious {
  break-before: avoid-page;
}
/* Change the approach to avoiding breaks inside artwork etc. */
figure, pre, table, .artwork, .sourcecode  {
  break-before: avoid-page;
  break-after: auto;
}
/* Avoid breaks between <dt> and <dd> */
dl {
  break-before: auto;
  break-inside: auto;
}
dt {
  break-before: auto;
  break-after: avoid-page;
}
dd {
  break-before: avoid-page;
  break-after: auto;
  orphans: 3;
  widows: 3
}
span.break, dd.break {
  margin-bottom: 0;
  min-height: 0;
  break-before: auto;
  break-inside: auto;
  break-after: auto;
}
/* Undo break-before ToC */
@media print {
  #toc {
    break-before: auto;
  }
}
/* Text in compact lists should not get extra bottim margin space,
   since that would makes the list not compact */
ul.compact p, .ulCompact p,
ol.compact p, .olCompact p {
 margin: 0;
}
/* But the list as a whole needs the extra space at the end */
section ul.compact,
section .ulCompact,
section ol.compact,
section .olCompact {
  margin-bottom: 1em;                    /* same as p not within ul.compact etc. */
}
/* The tt and code background above interferes with for instance table cell
   backgrounds.  Changed to something a bit more selective. */
tt, code {
  background-color: transparent;
}
p tt, p code, li tt, li code {
  background-color: #f8f8f8;
}
/* Tweak the pre margin -- 0px doesn't come out well */
pre {
   margin-top: 0.5px;
}
/* Tweak the comact list text */
ul.compact, .ulCompact,
ol.compact, .olCompact {
  line-height: normal;
}
/* Don't add top margin for nested lists */
li > ul, li > ol, li > dl,
dd > ul, dd > ol, dd > dl,
dl > dd > dl {
  margin-top: initial;
}</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc8794" rel="alternate">
  <link href="urn:issn:2070-1721" rel="alternate">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-cellar-ebml-20" rel="prev">
  </head>
<body>
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script>
<table class="ears">
<thead><tr>
<td class="left">RFC 8794</td>
<td class="center">EBML</td>
<td class="right">July 2020</td>
</tr></thead>
<tfoot><tr>
<td class="left">Lhomme, et al.</td>
<td class="center">Standards Track</td>
<td class="right">[Page]</td>
</tr></tfoot>
</table>
<div id="external-metadata" class="document-information"></div>
<div id="internal-metadata" class="document-information">
<dl id="identifiers">
<dt class="label-stream">Stream:</dt>
<dd class="stream">Internet Engineering Task Force (IETF)</dd>
<dt class="label-rfc">RFC:</dt>
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc8794" class="eref">8794</a></dd>
<dt class="label-category">Category:</dt>
<dd class="category">Standards Track</dd>
<dt class="label-published">Published:</dt>
<dd class="published">
<time datetime="2020-07" class="published">July 2020</time>
    </dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Authors:</dt>
<dd class="authors">
<div class="author">
      <div class="author-name">S. Lhomme</div>
</div>
<div class="author">
      <div class="author-name">D. Rice</div>
</div>
<div class="author">
      <div class="author-name">M. Bunkus</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 8794</h1>
<h1 id="title">Extensible Binary Meta Language</h1>
<section id="section-abstract">
      <h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">This document defines the Extensible Binary Meta Language (EBML) format as a binary container format designed for audio/video storage. EBML is designed as a binary equivalent to XML and uses a storage-efficient approach to build nested Elements with identifiers, lengths, and values. Similar to how an XML Schema defines the structure and semantics of an XML Document, this document defines how EBML Schemas are created to convey the semantics of an EBML Document.<a href="#section-abstract-1" class="pilcrow">¶</a></p>
</section>
<div id="status-of-memo">
<section id="section-boilerplate.1">
        <h2 id="name-status-of-this-memo">
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a>
        </h2>
<p id="section-boilerplate.1-1">
            This is an Internet Standards Track document.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <span><a href="https://www.rfc-editor.org/info/rfc8794">https://www.rfc-editor.org/info/rfc8794</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="copyright">
<section id="section-boilerplate.2">
        <h2 id="name-copyright-notice">
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a>
        </h2>
<p id="section-boilerplate.2-1">
            Copyright (c) 2020 IETF Trust and the persons identified as the
            document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Simplified BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Simplified BSD License.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="toc">
<section id="section-toc.1">
        <a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents">
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a>
        </h2>
<nav class="toc"><ul class="compact toc ulEmpty">
<li class="compact toc ulEmpty" id="section-toc.1-1.1">
            <p id="section-toc.1-1.1.1" class="keepWithNext"><a href="#section-1" class="xref">1</a>.  <a href="#name-introduction" class="xref">Introduction</a><a href="#section-toc.1-1.1.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.2">
            <p id="section-toc.1-1.2.1" class="keepWithNext"><a href="#section-2" class="xref">2</a>.  <a href="#name-notation-and-conventions" class="xref">Notation and Conventions</a><a href="#section-toc.1-1.2.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.3">
            <p id="section-toc.1-1.3.1" class="keepWithNext"><a href="#section-3" class="xref">3</a>.  <a href="#name-structure" class="xref">Structure</a><a href="#section-toc.1-1.3.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.4">
            <p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>.  <a href="#name-variable-size-integer" class="xref">Variable-Size Integer</a><a href="#section-toc.1-1.4.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.4.2.1">
                <p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>.  <a href="#name-vint_width" class="xref">VINT_WIDTH</a><a href="#section-toc.1-1.4.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.4.2.2">
                <p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>.  <a href="#name-vint_marker" class="xref">VINT_MARKER</a><a href="#section-toc.1-1.4.2.2.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.4.2.3">
                <p id="section-toc.1-1.4.2.3.1"><a href="#section-4.3" class="xref">4.3</a>.  <a href="#name-vint_data" class="xref">VINT_DATA</a><a href="#section-toc.1-1.4.2.3.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.4.2.4">
                <p id="section-toc.1-1.4.2.4.1"><a href="#section-4.4" class="xref">4.4</a>.  <a href="#name-vint-examples" class="xref">VINT Examples</a><a href="#section-toc.1-1.4.2.4.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.5">
            <p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>.  <a href="#name-element-id" class="xref">Element ID</a><a href="#section-toc.1-1.5.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.6">
            <p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>.  <a href="#name-element-data-size" class="xref">Element Data Size</a><a href="#section-toc.1-1.6.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.6.2.1">
                <p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>.  <a href="#name-data-size-format" class="xref">Data Size Format</a><a href="#section-toc.1-1.6.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.6.2.2">
                <p id="section-toc.1-1.6.2.2.1"><a href="#section-6.2" class="xref">6.2</a>.  <a href="#name-unknown-data-size" class="xref">Unknown Data Size</a><a href="#section-toc.1-1.6.2.2.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.6.2.3">
                <p id="section-toc.1-1.6.2.3.1"><a href="#section-6.3" class="xref">6.3</a>.  <a href="#name-data-size-values" class="xref">Data Size Values</a><a href="#section-toc.1-1.6.2.3.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.7">
            <p id="section-toc.1-1.7.1"><a href="#section-7" class="xref">7</a>.  <a href="#name-ebml-element-types" class="xref">EBML Element Types</a><a href="#section-toc.1-1.7.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.7.2.1">
                <p id="section-toc.1-1.7.2.1.1"><a href="#section-7.1" class="xref">7.1</a>.  <a href="#name-signed-integer-element" class="xref">Signed Integer Element</a><a href="#section-toc.1-1.7.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.2">
                <p id="section-toc.1-1.7.2.2.1"><a href="#section-7.2" class="xref">7.2</a>.  <a href="#name-unsigned-integer-element" class="xref">Unsigned Integer Element</a><a href="#section-toc.1-1.7.2.2.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.3">
                <p id="section-toc.1-1.7.2.3.1"><a href="#section-7.3" class="xref">7.3</a>.  <a href="#name-float-element" class="xref">Float Element</a><a href="#section-toc.1-1.7.2.3.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.4">
                <p id="section-toc.1-1.7.2.4.1"><a href="#section-7.4" class="xref">7.4</a>.  <a href="#name-string-element" class="xref">String Element</a><a href="#section-toc.1-1.7.2.4.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.5">
                <p id="section-toc.1-1.7.2.5.1"><a href="#section-7.5" class="xref">7.5</a>.  <a href="#name-utf-8-element" class="xref">UTF-8 Element</a><a href="#section-toc.1-1.7.2.5.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.6">
                <p id="section-toc.1-1.7.2.6.1"><a href="#section-7.6" class="xref">7.6</a>.  <a href="#name-date-element" class="xref">Date Element</a><a href="#section-toc.1-1.7.2.6.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.7">
                <p id="section-toc.1-1.7.2.7.1"><a href="#section-7.7" class="xref">7.7</a>.  <a href="#name-master-element" class="xref">Master Element</a><a href="#section-toc.1-1.7.2.7.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.7.2.8">
                <p id="section-toc.1-1.7.2.8.1"><a href="#section-7.8" class="xref">7.8</a>.  <a href="#name-binary-element" class="xref">Binary Element</a><a href="#section-toc.1-1.7.2.8.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.8">
            <p id="section-toc.1-1.8.1"><a href="#section-8" class="xref">8</a>.  <a href="#name-ebml-document" class="xref">EBML Document</a><a href="#section-toc.1-1.8.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.8.2.1">
                <p id="section-toc.1-1.8.2.1.1"><a href="#section-8.1" class="xref">8.1</a>.  <a href="#name-ebml-header" class="xref">EBML Header</a><a href="#section-toc.1-1.8.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.8.2.2">
                <p id="section-toc.1-1.8.2.2.1"><a href="#section-8.2" class="xref">8.2</a>.  <a href="#name-ebml-body" class="xref">EBML Body</a><a href="#section-toc.1-1.8.2.2.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.9">
            <p id="section-toc.1-1.9.1"><a href="#section-9" class="xref">9</a>.  <a href="#name-ebml-stream" class="xref">EBML Stream</a><a href="#section-toc.1-1.9.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.10">
            <p id="section-toc.1-1.10.1"><a href="#section-10" class="xref">10</a>. <a href="#name-ebml-versioning" class="xref">EBML Versioning</a><a href="#section-toc.1-1.10.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.10.2.1">
                <p id="section-toc.1-1.10.2.1.1"><a href="#section-10.1" class="xref">10.1</a>.  <a href="#name-ebml-header-version" class="xref">EBML Header Version</a><a href="#section-toc.1-1.10.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.10.2.2">
                <p id="section-toc.1-1.10.2.2.1"><a href="#section-10.2" class="xref">10.2</a>.  <a href="#name-ebml-document-version" class="xref">EBML Document Version</a><a href="#section-toc.1-1.10.2.2.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.11">
            <p id="section-toc.1-1.11.1"><a href="#section-11" class="xref">11</a>. <a href="#name-elements-semantics" class="xref">Elements semantics</a><a href="#section-toc.1-1.11.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1">
                <p id="section-toc.1-1.11.2.1.1"><a href="#section-11.1" class="xref">11.1</a>.  <a href="#name-ebml-schema" class="xref">EBML Schema</a><a href="#section-toc.1-1.11.2.1.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.1">
                    <p id="section-toc.1-1.11.2.1.2.1.1"><a href="#section-11.1.1" class="xref">11.1.1</a>.  <a href="#name-ebml-schema-example" class="xref">EBML Schema Example</a><a href="#section-toc.1-1.11.2.1.2.1.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.2">
                    <p id="section-toc.1-1.11.2.1.2.2.1"><a href="#section-11.1.2" class="xref">11.1.2</a>.  <a href="#name-ebmlschema-element" class="xref"><code>&lt;EBMLSchema&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.2.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.3">
                    <p id="section-toc.1-1.11.2.1.2.3.1"><a href="#section-11.1.3" class="xref">11.1.3</a>.  <a href="#name-ebmlschema-namespace" class="xref"><code>&lt;EBMLSchema&gt;</code> Namespace</a><a href="#section-toc.1-1.11.2.1.2.3.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.4">
                    <p id="section-toc.1-1.11.2.1.2.4.1"><a href="#section-11.1.4" class="xref">11.1.4</a>.  <a href="#name-ebmlschema-attributes" class="xref"><code>&lt;EBMLSchema&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.4.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.5">
                    <p id="section-toc.1-1.11.2.1.2.5.1"><a href="#section-11.1.5" class="xref">11.1.5</a>.  <a href="#name-element-element" class="xref"><code>&lt;element&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.5.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.6">
                    <p id="section-toc.1-1.11.2.1.2.6.1"><a href="#section-11.1.6" class="xref">11.1.6</a>.  <a href="#name-element-attributes" class="xref"><code>&lt;element&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.6.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.7">
                    <p id="section-toc.1-1.11.2.1.2.7.1"><a href="#section-11.1.7" class="xref">11.1.7</a>.  <a href="#name-documentation-element" class="xref"><code>&lt;documentation&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.7.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.8">
                    <p id="section-toc.1-1.11.2.1.2.8.1"><a href="#section-11.1.8" class="xref">11.1.8</a>.  <a href="#name-documentation-attributes" class="xref"><code>&lt;documentation&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.8.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.9">
                    <p id="section-toc.1-1.11.2.1.2.9.1"><a href="#section-11.1.9" class="xref">11.1.9</a>.  <a href="#name-implementation_note-element" class="xref"><code>&lt;implementation_note&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.9.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.10">
                    <p id="section-toc.1-1.11.2.1.2.10.1"><a href="#section-11.1.10" class="xref">11.1.10</a>. <a href="#name-implementation_note-attribu" class="xref"><code>&lt;implementation_note&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.10.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.11">
                    <p id="section-toc.1-1.11.2.1.2.11.1"><a href="#section-11.1.11" class="xref">11.1.11</a>. <a href="#name-restriction-element" class="xref"><code>&lt;restriction&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.11.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.12">
                    <p id="section-toc.1-1.11.2.1.2.12.1"><a href="#section-11.1.12" class="xref">11.1.12</a>. <a href="#name-enum-element" class="xref"><code>&lt;enum&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.12.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.13">
                    <p id="section-toc.1-1.11.2.1.2.13.1"><a href="#section-11.1.13" class="xref">11.1.13</a>. <a href="#name-enum-attributes" class="xref"><code>&lt;enum&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.13.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.14">
                    <p id="section-toc.1-1.11.2.1.2.14.1"><a href="#section-11.1.14" class="xref">11.1.14</a>. <a href="#name-extension-element" class="xref"><code>&lt;extension&gt;</code> Element</a><a href="#section-toc.1-1.11.2.1.2.14.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.15">
                    <p id="section-toc.1-1.11.2.1.2.15.1"><a href="#section-11.1.15" class="xref">11.1.15</a>. <a href="#name-extension-attributes" class="xref"><code>&lt;extension&gt;</code> Attributes</a><a href="#section-toc.1-1.11.2.1.2.15.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.16">
                    <p id="section-toc.1-1.11.2.1.2.16.1"><a href="#section-11.1.16" class="xref">11.1.16</a>. <a href="#name-xml-schema-for-ebml-schema" class="xref">XML Schema for EBML Schema</a><a href="#section-toc.1-1.11.2.1.2.16.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.17">
                    <p id="section-toc.1-1.11.2.1.2.17.1"><a href="#section-11.1.17" class="xref">11.1.17</a>. <a href="#name-identically-recurring-eleme" class="xref">Identically Recurring Elements</a><a href="#section-toc.1-1.11.2.1.2.17.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.18">
                    <p id="section-toc.1-1.11.2.1.2.18.1"><a href="#section-11.1.18" class="xref">11.1.18</a>. <a href="#name-textual-expression-of-float" class="xref">Textual expression of floats</a><a href="#section-toc.1-1.11.2.1.2.18.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.1.2.19">
                    <p id="section-toc.1-1.11.2.1.2.19.1"><a href="#section-11.1.19" class="xref">11.1.19</a>. <a href="#name-note-on-the-use-of-default-" class="xref">Note on the use of default attributes to define Mandatory EBML Elements</a><a href="#section-toc.1-1.11.2.1.2.19.1" class="pilcrow">¶</a></p>
</li>
                </ul>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2">
                <p id="section-toc.1-1.11.2.2.1"><a href="#section-11.2" class="xref">11.2</a>.  <a href="#name-ebml-header-elements" class="xref">EBML Header Elements</a><a href="#section-toc.1-1.11.2.2.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.1">
                    <p id="section-toc.1-1.11.2.2.2.1.1"><a href="#section-11.2.1" class="xref">11.2.1</a>.  <a href="#name-ebml-element" class="xref">EBML Element</a><a href="#section-toc.1-1.11.2.2.2.1.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.2">
                    <p id="section-toc.1-1.11.2.2.2.2.1"><a href="#section-11.2.2" class="xref">11.2.2</a>.  <a href="#name-ebmlversion-element" class="xref">EBMLVersion Element</a><a href="#section-toc.1-1.11.2.2.2.2.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.3">
                    <p id="section-toc.1-1.11.2.2.2.3.1"><a href="#section-11.2.3" class="xref">11.2.3</a>.  <a href="#name-ebmlreadversion-element" class="xref">EBMLReadVersion Element</a><a href="#section-toc.1-1.11.2.2.2.3.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.4">
                    <p id="section-toc.1-1.11.2.2.2.4.1"><a href="#section-11.2.4" class="xref">11.2.4</a>.  <a href="#name-ebmlmaxidlength-element" class="xref">EBMLMaxIDLength Element</a><a href="#section-toc.1-1.11.2.2.2.4.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.5">
                    <p id="section-toc.1-1.11.2.2.2.5.1"><a href="#section-11.2.5" class="xref">11.2.5</a>.  <a href="#name-ebmlmaxsizelength-element" class="xref">EBMLMaxSizeLength Element</a><a href="#section-toc.1-1.11.2.2.2.5.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.6">
                    <p id="section-toc.1-1.11.2.2.2.6.1"><a href="#section-11.2.6" class="xref">11.2.6</a>.  <a href="#name-doctype-element" class="xref">DocType Element</a><a href="#section-toc.1-1.11.2.2.2.6.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.7">
                    <p id="section-toc.1-1.11.2.2.2.7.1"><a href="#section-11.2.7" class="xref">11.2.7</a>.  <a href="#name-doctypeversion-element" class="xref">DocTypeVersion Element</a><a href="#section-toc.1-1.11.2.2.2.7.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.8">
                    <p id="section-toc.1-1.11.2.2.2.8.1"><a href="#section-11.2.8" class="xref">11.2.8</a>.  <a href="#name-doctypereadversion-element" class="xref">DocTypeReadVersion Element</a><a href="#section-toc.1-1.11.2.2.2.8.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.9">
                    <p id="section-toc.1-1.11.2.2.2.9.1"><a href="#section-11.2.9" class="xref">11.2.9</a>.  <a href="#name-doctypeextension-element" class="xref">DocTypeExtension Element</a><a href="#section-toc.1-1.11.2.2.2.9.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.10">
                    <p id="section-toc.1-1.11.2.2.2.10.1"><a href="#section-11.2.10" class="xref">11.2.10</a>. <a href="#name-doctypeextensionname-elemen" class="xref">DocTypeExtensionName Element</a><a href="#section-toc.1-1.11.2.2.2.10.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.2.2.11">
                    <p id="section-toc.1-1.11.2.2.2.11.1"><a href="#section-11.2.11" class="xref">11.2.11</a>. <a href="#name-doctypeextensionversion-ele" class="xref">DocTypeExtensionVersion Element</a><a href="#section-toc.1-1.11.2.2.2.11.1" class="pilcrow">¶</a></p>
</li>
                </ul>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.3">
                <p id="section-toc.1-1.11.2.3.1"><a href="#section-11.3" class="xref">11.3</a>.  <a href="#name-global-elements" class="xref">Global Elements</a><a href="#section-toc.1-1.11.2.3.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.11.2.3.2.1">
                    <p id="section-toc.1-1.11.2.3.2.1.1"><a href="#section-11.3.1" class="xref">11.3.1</a>.  <a href="#name-crc-32-element" class="xref">CRC-32 Element</a><a href="#section-toc.1-1.11.2.3.2.1.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.11.2.3.2.2">
                    <p id="section-toc.1-1.11.2.3.2.2.1"><a href="#section-11.3.2" class="xref">11.3.2</a>.  <a href="#name-void-element" class="xref">Void Element</a><a href="#section-toc.1-1.11.2.3.2.2.1" class="pilcrow">¶</a></p>
</li>
                </ul>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.12">
            <p id="section-toc.1-1.12.1"><a href="#section-12" class="xref">12</a>. <a href="#name-considerations-for-reading-" class="xref">Considerations for Reading EBML Data</a><a href="#section-toc.1-1.12.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.13">
            <p id="section-toc.1-1.13.1"><a href="#section-13" class="xref">13</a>. <a href="#name-terminating-elements" class="xref">Terminating Elements</a><a href="#section-toc.1-1.13.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.14">
            <p id="section-toc.1-1.14.1"><a href="#section-14" class="xref">14</a>. <a href="#name-guidelines-for-updating-ele" class="xref">Guidelines for Updating Elements</a><a href="#section-toc.1-1.14.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.14.2.1">
                <p id="section-toc.1-1.14.2.1.1"><a href="#section-14.1" class="xref">14.1</a>.  <a href="#name-reducing-element-data-in-si" class="xref">Reducing Element Data in Size</a><a href="#section-toc.1-1.14.2.1.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.14.2.1.2.1">
                    <p id="section-toc.1-1.14.2.1.2.1.1"><a href="#section-14.1.1" class="xref">14.1.1</a>.  <a href="#name-adding-a-void-element" class="xref">Adding a Void Element</a><a href="#section-toc.1-1.14.2.1.2.1.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.14.2.1.2.2">
                    <p id="section-toc.1-1.14.2.1.2.2.1"><a href="#section-14.1.2" class="xref">14.1.2</a>.  <a href="#name-extending-the-element-data-" class="xref">Extending the Element Data Size</a><a href="#section-toc.1-1.14.2.1.2.2.1" class="pilcrow">¶</a></p>
</li>
                  <li class="toc ulEmpty compact" id="section-toc.1-1.14.2.1.2.3">
                    <p id="section-toc.1-1.14.2.1.2.3.1"><a href="#section-14.1.3" class="xref">14.1.3</a>.  <a href="#name-terminating-element-data" class="xref">Terminating Element Data</a><a href="#section-toc.1-1.14.2.1.2.3.1" class="pilcrow">¶</a></p>
</li>
                </ul>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.14.2.2">
                <p id="section-toc.1-1.14.2.2.1"><a href="#section-14.2" class="xref">14.2</a>.  <a href="#name-considerations-when-updatin" class="xref">Considerations when Updating Elements with Cyclic Redundancy Check (CRC)</a><a href="#section-toc.1-1.14.2.2.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.15">
            <p id="section-toc.1-1.15.1"><a href="#section-15" class="xref">15</a>. <a href="#name-backward-and-forward-compat" class="xref">Backward and Forward Compatibility</a><a href="#section-toc.1-1.15.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.15.2.1">
                <p id="section-toc.1-1.15.2.1.1"><a href="#section-15.1" class="xref">15.1</a>.  <a href="#name-backward-compatibility" class="xref">Backward Compatibility</a><a href="#section-toc.1-1.15.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.15.2.2">
                <p id="section-toc.1-1.15.2.2.1"><a href="#section-15.2" class="xref">15.2</a>.  <a href="#name-forward-compatibility" class="xref">Forward Compatibility</a><a href="#section-toc.1-1.15.2.2.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.16">
            <p id="section-toc.1-1.16.1"><a href="#section-16" class="xref">16</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a><a href="#section-toc.1-1.16.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.17">
            <p id="section-toc.1-1.17.1"><a href="#section-17" class="xref">17</a>. <a href="#name-iana-considerations" class="xref">IANA Considerations</a><a href="#section-toc.1-1.17.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty compact">
<li class="toc ulEmpty compact" id="section-toc.1-1.17.2.1">
                <p id="section-toc.1-1.17.2.1.1"><a href="#section-17.1" class="xref">17.1</a>.  <a href="#name-ebml-element-ids-registry" class="xref">EBML Element IDs Registry</a><a href="#section-toc.1-1.17.2.1.1" class="pilcrow">¶</a></p>
</li>
              <li class="toc ulEmpty compact" id="section-toc.1-1.17.2.2">
                <p id="section-toc.1-1.17.2.2.1"><a href="#section-17.2" class="xref">17.2</a>.  <a href="#name-ebml-doctypes-registry" class="xref">EBML DocTypes Registry</a><a href="#section-toc.1-1.17.2.2.1" class="pilcrow">¶</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.18">
            <p id="section-toc.1-1.18.1"><a href="#section-18" class="xref">18</a>. <a href="#name-normative-references" class="xref">Normative References</a><a href="#section-toc.1-1.18.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.19">
            <p id="section-toc.1-1.19.1"><a href="#section-19" class="xref">19</a>. <a href="#name-informative-references" class="xref">Informative References</a><a href="#section-toc.1-1.19.1" class="pilcrow">¶</a></p>
</li>
          <li class="compact toc ulEmpty" id="section-toc.1-1.20">
            <p id="section-toc.1-1.20.1"><a href="#section-appendix.a" class="xref"></a><a href="#name-authors-addresses" class="xref">Authors' Addresses</a><a href="#section-toc.1-1.20.1" class="pilcrow">¶</a></p>
</li>
        </ul>
</nav>
</section>
</div>
<div id="introduction">
<section id="section-1">
      <h2 id="name-introduction">
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a>
      </h2>
<p id="section-1-1">EBML, short for Extensible Binary Meta Language, specifies a binary format
aligned with octets (bytes) and inspired by the principle of XML (a framework for
structuring data).<a href="#section-1-1" class="pilcrow">¶</a></p>
<p id="section-1-2">The goal of this document is to define a generic, binary, space-efficient
format that can be used to define more complex formats using an EBML
Schema. EBML is used by the multimedia container, Matroska
<span>[<a href="#I-D.ietf-cellar-matroska" class="xref">Matroska</a>]</span>. The applicability of EBML for other
use cases is beyond the scope of this document.<a href="#section-1-2" class="pilcrow">¶</a></p>
<p id="section-1-3">The definition of the EBML format recognizes the idea behind HTML and XML
as a good one: separate structure and semantics allowing the same structural
layer to be used with multiple, possibly widely differing, semantic
layers. Except for the EBML Header and a few Global Elements, this
specification does not define particular EBML format semantics; however, this
specification is intended to define how other EBML-based formats can be
defined, such as the audio/video container formats Matroska and WebM <span>[<a href="#WebM" class="xref">WebM</a>]</span>.<a href="#section-1-3" class="pilcrow">¶</a></p>
<p id="section-1-4">EBML uses a simple approach of building Elements upon three pieces of data (tag, length, and value), as this approach is well known, easy to parse, and allows selective data parsing. The EBML structure additionally allows for hierarchical arrangement to support complex structural formats in an efficient manner.<a href="#section-1-4" class="pilcrow">¶</a></p>
<p id="section-1-5">A typical EBML file has the following structure:<a href="#section-1-5" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-1-6">
<pre>EBML Header (master)
  + DocType (string)
  + DocTypeVersion (unsigned integer)
EBML Body Root (master)
  + ElementA (utf-8)
  + Parent (master)
    + ElementB (integer)
  + Parent (master)
    + ElementB (integer)
</pre><a href="#section-1-6" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="notation-and-conventions">
<section id="section-2">
      <h2 id="name-notation-and-conventions">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-notation-and-conventions" class="section-name selfRef">Notation and Conventions</a>
      </h2>
<p id="section-2-1">The key words "<span class="bcp14">MUST</span>", "<span class="bcp14">MUST NOT</span>",
"<span class="bcp14">REQUIRED</span>", "<span class="bcp14">SHALL</span>", "<span class="bcp14">SHALL NOT</span>",
"<span class="bcp14">SHOULD</span>", "<span class="bcp14">SHOULD NOT</span>",
"<span class="bcp14">RECOMMENDED</span>", "<span class="bcp14">NOT RECOMMENDED</span>",
"<span class="bcp14">MAY</span>", and "<span class="bcp14">OPTIONAL</span>" in this document are to be interpreted as
described in BCP 14 <span>[<a href="#RFC2119" class="xref">RFC2119</a>]</span> <span>[<a href="#RFC8174" class="xref">RFC8174</a>]</span>
when, and only when, they appear in all capitals, as shown here.<a href="#section-2-1" class="pilcrow">¶</a></p>
<p id="section-2-2">This document defines specific terms in order to define the format and
application of <code>EBML</code>. Specific terms are defined below:<a href="#section-2-2" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-2-3">
        <dt id="section-2-3.1">
<code>EBML</code>:</dt>
        <dd id="section-2-3.2">Extensible Binary Meta Language<a href="#section-2-3.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.3">
<code>EBML Document Type</code>:</dt>
        <dd id="section-2-3.4">A name provided by an <code>EBML Schema</code> to designate a particular
implementation of <code>EBML</code> for a data format (e.g., Matroska and WebM).<a href="#section-2-3.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.5">
<code>EBML Schema</code>:</dt>
        <dd id="section-2-3.6">A standardized definition for the structure of an <code>EBML Document Type</code>.<a href="#section-2-3.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.7">
<code>EBML Document</code>:</dt>
        <dd id="section-2-3.8">A datastream comprised of only two components, an <code>EBML Header</code> and
an <code>EBML Body</code>.<a href="#section-2-3.8" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.9">
<code>EBML Reader</code>:</dt>
        <dd id="section-2-3.10">A data parser that interprets the semantics of an <code>EBML Document</code>
and creates a way for programs to use <code>EBML</code>.<a href="#section-2-3.10" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.11">
<code>EBML Stream</code>:</dt>
        <dd id="section-2-3.12">A file that consists of one or more <code>EBML Documents</code> that are
concatenated together.<a href="#section-2-3.12" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.13">
<code>EBML Header</code>:</dt>
        <dd id="section-2-3.14">A declaration that provides processing instructions and identification of
the <code>EBML Body</code>. The <code>EBML Header</code> is analogous to an XML Declaration
<span>[<a href="#XML" class="xref">XML</a>]</span> (see Section 2.8 on "Prolog and Document Type Declaration").<a href="#section-2-3.14" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.15">
<code>EBML Body</code>:</dt>
        <dd id="section-2-3.16">All data of an <code>EBML Document</code> following the <code>EBML Header</code>.<a href="#section-2-3.16" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.17">
<code>Variable-Size Integer</code>:</dt>
        <dd id="section-2-3.18">A compact variable-length binary value that defines its own length.<a href="#section-2-3.18" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.19">
<code>VINT</code>:</dt>
        <dd id="section-2-3.20">Also known as <code>Variable-Size Integer</code>.<a href="#section-2-3.20" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.21">
<code>EBML Element</code>:</dt>
        <dd id="section-2-3.22">A foundation block of data that contains three parts: an <code>Element ID</code>,
an <code>Element Data Size</code>, and <code>Element Data</code>.<a href="#section-2-3.22" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.23">
<code>Element ID</code>:</dt>
        <dd id="section-2-3.24">A binary value, encoded as a <code>Variable-Size Integer</code>,
used to uniquely identify a defined <code>EBML Element</code> within a specific
<code>EBML Schema</code>.<a href="#section-2-3.24" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.25">
<code>Element Data Size</code>:</dt>
        <dd id="section-2-3.26">An expression, encoded as a <code>Variable-Size Integer</code>, of the length
in octets of <code>Element Data</code>.<a href="#section-2-3.26" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.27">
<code>VINTMAX</code>:</dt>
        <dd id="section-2-3.28">The maximum possible value that can be stored as <code>Element Data Size</code>.<a href="#section-2-3.28" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.29">
<code>Unknown-Sized Element</code>:</dt>
        <dd id="section-2-3.30">An <code>Element</code> with an unknown <code>Element Data Size</code>.<a href="#section-2-3.30" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.31">
<code>Element Data</code>:</dt>
        <dd id="section-2-3.32">The value(s) of the <code>EBML Element</code>, which is identified by its
<code>Element ID</code> and <code>Element Data Size</code>. The form of the <code>Element Data</code> is
defined by this document and the corresponding <code>EBML Schema</code> of the
Element's <code>EBML Document Type</code>.<a href="#section-2-3.32" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.33">
<code>Root Level</code>:</dt>
        <dd id="section-2-3.34">The starting level in the hierarchy of an <code>EBML Document</code>.<a href="#section-2-3.34" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.35">
<code>Root Element</code>:</dt>
        <dd id="section-2-3.36">A mandatory, nonrepeating <code>EBML Element</code> that occurs at the top
level of the path hierarchy within an <code>EBML Body</code> and contains all other
<code>EBML Elements</code> of the <code>EBML Body</code>, excepting optional <code>Void Elements</code>.<a href="#section-2-3.36" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.37">
<code>Top-Level Element</code>:</dt>
        <dd id="section-2-3.38">An <code>EBML Element</code> defined to only occur as a <code>Child Element</code>
of the <code>Root Element</code>.<a href="#section-2-3.38" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.39">
<code>Master Element</code>:</dt>
        <dd id="section-2-3.40">The <code>Master Element</code> contains zero, one, or many other <code>EBML Elements</code>.<a href="#section-2-3.40" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.41">
<code>Child Element</code>:</dt>
        <dd id="section-2-3.42">A <code>Child Element</code> is a relative term to describe the <code>EBML Elements</code>
immediately contained within a <code>Master Element</code>.<a href="#section-2-3.42" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.43">
<code>Parent Element</code>:</dt>
        <dd id="section-2-3.44">A relative term to describe the <code>Master Element</code> that contains a
specified element. For any specified <code>EBML Element</code> that is not at
<code>Root Level</code>, the <code>Parent Element</code> refers to the <code>Master Element</code>
in which that <code>EBML Element</code> is directly contained.<a href="#section-2-3.44" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.45">
<code>Descendant Element</code>:</dt>
        <dd id="section-2-3.46">A relative term to describe any <code>EBML Elements</code> contained within a
<code>Master Element</code>, including any of the <code>Child Elements</code> of its
<code>Child Elements</code>, and so on.<a href="#section-2-3.46" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.47">
<code>Void Element</code>:</dt>
        <dd id="section-2-3.48">An <code>Element</code> used to overwrite data or
reserve space within a <code>Master Element</code> for later use.<a href="#section-2-3.48" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.49">
<code>Element Name</code>:</dt>
        <dd id="section-2-3.50">The human-readable name of the <code>EBML Element</code>.<a href="#section-2-3.50" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.51">
<code>Element Path</code>:</dt>
        <dd id="section-2-3.52">The hierarchy of <code>Parent Element</code> where the <code>EBML Element</code>
is expected to be found in the <code>EBML Body</code>.<a href="#section-2-3.52" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-2-3.53">
<code>Empty Element</code>:</dt>
        <dd id="section-2-3.54">An <code>EBML Element</code> that has an <code>Element Data Size</code> with all
<code>VINT_DATA</code> bits set to zero, which indicates
that the <code>Element Data</code> of the <code>Element</code> is zero octets in
length.<a href="#section-2-3.54" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
</section>
</div>
<div id="structure">
<section id="section-3">
      <h2 id="name-structure">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-structure" class="section-name selfRef">Structure</a>
      </h2>
<p id="section-3-1">EBML uses a system of Elements to compose an EBML Document. EBML Elements incorporate three parts: an Element ID, an Element Data Size, and Element Data. The Element Data, which is described by the Element ID, includes either binary data, one or more other EBML Elements, or both.<a href="#section-3-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="variable-size-integer">
<section id="section-4">
      <h2 id="name-variable-size-integer">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-variable-size-integer" class="section-name selfRef">Variable-Size Integer</a>
      </h2>
<p id="section-4-1">The Element ID and Element Data Size are both encoded as a Variable-Size
Integer. The Variable-Size Integer is composed of a VINT_WIDTH, VINT_MARKER,
and VINT_DATA, in that order. Variable-Size Integers <span class="bcp14">MUST</span>
left-pad the VINT_DATA value with zero bits so that the whole Variable-Size
Integer is octet aligned. The Variable-Size Integer will be referred to as
VINT for shorthand.<a href="#section-4-1" class="pilcrow">¶</a></p>
<div id="vint-width">
<section id="section-4.1">
        <h3 id="name-vint_width">
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-vint_width" class="section-name selfRef">VINT_WIDTH</a>
        </h3>
<p id="section-4.1-1">Each Variable-Size Integer starts with a VINT_WIDTH followed by a
VINT_MARKER. VINT_WIDTH is a sequence of zero or more bits of value <code>0</code>
and is terminated by the VINT_MARKER, which is a single bit of value
<code>1</code>. The total length in bits of both VINT_WIDTH and VINT_MARKER is the
total length in octets in of the Variable-Size Integer.<a href="#section-4.1-1" class="pilcrow">¶</a></p>
<p id="section-4.1-2">The single bit <code>1</code> starts a Variable-Size Integer with a length of
one octet. The sequence of bits <code>01</code> starts a Variable-Size Integer
with a length of two octets. <code>001</code> starts a Variable-Size Integer with
a length of three octets, and so on, with each additional <code>0</code> bit adding one
octet to the length of the Variable-Size Integer.<a href="#section-4.1-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="vint-marker">
<section id="section-4.2">
        <h3 id="name-vint_marker">
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-vint_marker" class="section-name selfRef">VINT_MARKER</a>
        </h3>
<p id="section-4.2-1">The VINT_MARKER serves as a separator between the VINT_WIDTH and VINT_DATA. Each Variable-Size Integer <span class="bcp14">MUST</span> contain exactly one VINT_MARKER. The VINT_MARKER is one bit in length and contain a bit with a value of one. The first bit with a value of one within the Variable-Size Integer is the VINT_MARKER.<a href="#section-4.2-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="vint-data">
<section id="section-4.3">
        <h3 id="name-vint_data">
<a href="#section-4.3" class="section-number selfRef">4.3. </a><a href="#name-vint_data" class="section-name selfRef">VINT_DATA</a>
        </h3>
<p id="section-4.3-1">The VINT_DATA portion of the Variable-Size Integer includes all data following
(but not including) the VINT_MARKER until end of the Variable-Size
Integer whose length is derived from the VINT_WIDTH. The bits required for the
VINT_WIDTH and the VINT_MARKER use one out of every eight bits of the total
length of the Variable-Size Integer. Thus, a Variable-Size Integer of 1-octet
length supplies 7 bits for VINT_DATA, a 2-octet length supplies 14 bits for
VINT_DATA, and a 3-octet length supplies 21 bits for VINT_DATA. If the number
of bits required for VINT_DATA is less than the bit size of VINT_DATA, then
VINT_DATA <span class="bcp14">MUST</span> be zero-padded to the left to a size that
fits. The VINT_DATA value <span class="bcp14">MUST</span> be expressed as a big-endian
unsigned integer.<a href="#section-4.3-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="vint-examples">
<section id="section-4.4">
        <h3 id="name-vint-examples">
<a href="#section-4.4" class="section-number selfRef">4.4. </a><a href="#name-vint-examples" class="section-name selfRef">VINT Examples</a>
        </h3>
<p id="section-4.4-1"><a href="#tableUsableBits" class="xref">Table 1</a> shows examples of Variable-Size
Integers with lengths from 1 to 5 octets. The "Usable Bits" column refers to the
number of bits that can be used in the VINT_DATA. The "Representation" column
depicts a binary expression of Variable-Size Integers where VINT_WIDTH is
depicted by <code>0</code>, the VINT_MARKER as <code>1</code>, and the VINT_DATA as
<code>x</code>.<a href="#section-4.4-1" class="pilcrow">¶</a></p>
<span id="name-vint-examples-depicting-usa"></span><div id="tableUsableBits">
<table class="center" id="table-1">
          <caption>
<a href="#table-1" class="selfRef">Table 1</a>:
<a href="#name-vint-examples-depicting-usa" class="selfRef">VINT examples depicting usable bits</a>
          </caption>
<thead>
            <tr>
              <th class="text-left" rowspan="1" colspan="1">Octet Length</th>
              <th class="text-left" rowspan="1" colspan="1">Usable Bits</th>
              <th class="text-left" rowspan="1" colspan="1">Representation</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">1</td>
              <td class="text-left" rowspan="1" colspan="1">7</td>
              <td class="text-left" rowspan="1" colspan="1">1xxx xxxx</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">14</td>
              <td class="text-left" rowspan="1" colspan="1">01xx xxxx xxxx xxxx</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">3</td>
              <td class="text-left" rowspan="1" colspan="1">21</td>
              <td class="text-left" rowspan="1" colspan="1">001x xxxx xxxx xxxx xxxx xxxx</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">4</td>
              <td class="text-left" rowspan="1" colspan="1">28</td>
              <td class="text-left" rowspan="1" colspan="1">0001 xxxx xxxx xxxx xxxx xxxx xxxx xxxx</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">5</td>
              <td class="text-left" rowspan="1" colspan="1">35</td>
              <td class="text-left" rowspan="1" colspan="1">0000 1xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx</td>
            </tr>
          </tbody>
        </table>
</div>
<p id="section-4.4-3">A Variable-Size Integer may be rendered at octet lengths larger
than needed to store the data in order to facilitate overwriting it at a later
date -- e.g., when its final size isn't known in advance. In
<a href="#tableVariousSizes" class="xref">Table 2</a>, an integer <code>2</code> (with a
corresponding binary value of 0b10) is shown encoded as different Variable-Size
Integers with lengths from one octet to four octets. All four encoded
examples have identical semantic meaning, though the VINT_WIDTH and the padding
of the VINT_DATA vary.<a href="#section-4.4-3" class="pilcrow">¶</a></p>
<span id="name-vint-examples-depicting-the"></span><div id="tableVariousSizes">
<table class="center" id="table-2">
          <caption>
<a href="#table-2" class="selfRef">Table 2</a>:
<a href="#name-vint-examples-depicting-the" class="selfRef">VINT examples depicting the same
integer value rendered at different VINT lengths</a>
          </caption>
<thead>
            <tr>
              <th class="text-left" rowspan="1" colspan="1">Integer</th>
              <th class="text-left" rowspan="1" colspan="1">Octet Length</th>
              <th class="text-right" rowspan="1" colspan="1">As Represented in VINT (binary)</th>
              <th class="text-right" rowspan="1" colspan="1">As Represented in VINT (hexadecimal)</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">1000 0010</td>
              <td class="text-right" rowspan="1" colspan="1">0x82</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-right" rowspan="1" colspan="1">0100 0000 0000 0010</td>
              <td class="text-right" rowspan="1" colspan="1">0x4002</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">3</td>
              <td class="text-right" rowspan="1" colspan="1">0010 0000 0000 0000 0000 0010</td>
              <td class="text-right" rowspan="1" colspan="1">0x200002</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">4</td>
              <td class="text-right" rowspan="1" colspan="1">0001 0000 0000 0000 0000 0000 0000 0010</td>
              <td class="text-right" rowspan="1" colspan="1">0x10000002</td>
            </tr>
          </tbody>
        </table>
</div>
</section>
</div>
</section>
</div>
<div id="element-id">
<section id="section-5">
      <h2 id="name-element-id">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-element-id" class="section-name selfRef">Element ID</a>
      </h2>
<p id="section-5-1">An Element ID is a Variable-Size Integer. By default, Element IDs are from
one octet to four octets in length, although Element IDs of greater lengths
<span class="bcp14">MAY</span> be used if the EBMLMaxIDLength Element of the EBML Header
is set to a value greater than four (see
<a href="#ebmlmaxidlength-element" class="xref">Section 11.2.4</a>). The bits of the VINT_DATA component
of the Element ID <span class="bcp14">MUST NOT</span> be all <code>0</code> values or all
 <code>1</code> values. The VINT_DATA component of the Element ID
<span class="bcp14">MUST</span> be encoded at the shortest valid length. For example, an
Element ID with binary encoding of <code>1011 1111</code> is valid, whereas an
Element ID with binary encoding of <code>0100 0000 0011 1111</code> stores a
semantically equal VINT_DATA but is invalid, because a shorter VINT encoding is
possible. Additionally, an Element ID with binary encoding of <code>1111 1111</code>
is invalid, since the VINT_DATA section is set to all one values,
whereas an Element ID with binary encoding of <code>0100 0000 0111 1111</code>
stores a semantically equal VINT_DATA and is the shortest-possible VINT
encoding.<a href="#section-5-1" class="pilcrow">¶</a></p>
<p id="section-5-2"><a href="#tableElementIDValidity" class="xref">Table 3</a> details these specific examples further:<a href="#section-5-2" class="pilcrow">¶</a></p>
<span id="name-examples-of-valid-and-inval"></span><div id="tableElementIDValidity">
<table class="center" id="table-3">
        <caption>
<a href="#table-3" class="selfRef">Table 3</a>:
<a href="#name-examples-of-valid-and-inval" class="selfRef">Examples of valid and invalid Element IDs</a>
        </caption>
<thead>
          <tr>
            <th class="text-right" rowspan="1" colspan="1">VINT_WIDTH</th>
            <th class="text-right" rowspan="1" colspan="1">VINT_MARKER</th>
            <th class="text-right" rowspan="1" colspan="1">VINT_DATA</th>
            <th class="text-left" rowspan="1" colspan="1">Element ID Status</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="text-right" rowspan="1" colspan="1"></td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">0000000</td>
            <td class="text-left" rowspan="1" colspan="1">Invalid: VINT_DATA <span class="bcp14">MUST NOT</span> be set to all 0</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1">0</td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">00000000000000</td>
            <td class="text-left" rowspan="1" colspan="1">Invalid: VINT_DATA <span class="bcp14">MUST NOT</span> be set to all 0</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1"></td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">0000001</td>
            <td class="text-left" rowspan="1" colspan="1">Valid</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1">0</td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">00000000000001</td>
            <td class="text-left" rowspan="1" colspan="1">Invalid: A shorter VINT_DATA encoding is available.</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1"></td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">0111111</td>
            <td class="text-left" rowspan="1" colspan="1">Valid</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1">0</td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">00000000111111</td>
            <td class="text-left" rowspan="1" colspan="1">Invalid: A shorter VINT_DATA encoding is available.</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1"></td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">1111111</td>
            <td class="text-left" rowspan="1" colspan="1">Invalid: VINT_DATA <span class="bcp14">MUST NOT</span> be set to all 1</td>
          </tr>
          <tr>
            <td class="text-right" rowspan="1" colspan="1">0</td>
            <td class="text-right" rowspan="1" colspan="1">1</td>
            <td class="text-right" rowspan="1" colspan="1">00000001111111</td>
            <td class="text-left" rowspan="1" colspan="1">Valid</td>
          </tr>
        </tbody>
      </table>
</div>
<p id="section-5-4">The range and count of possible Element IDs are determined by their
octet length. Examples of this are provided in
<a href="#tableElementIDRanges" class="xref">Table 4</a>.<a href="#section-5-4" class="pilcrow">¶</a></p>
<span id="name-examples-of-count-and-range"></span><div id="tableElementIDRanges">
<table class="center" id="table-4">
        <caption>
<a href="#table-4" class="selfRef">Table 4</a>:
<a href="#name-examples-of-count-and-range" class="selfRef">Examples of count and range for
Element IDs at various octet lengths</a>
        </caption>
<thead>
          <tr>
            <th class="text-center" rowspan="1" colspan="1">Element ID Octet Length</th>
            <th class="text-center" rowspan="1" colspan="1">Range of Valid Element IDs</th>
            <th class="text-right" rowspan="1" colspan="1">Number of Valid Element IDs</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="text-center" rowspan="1" colspan="1">1</td>
            <td class="text-center" rowspan="1" colspan="1">0x81 - 0xFE</td>
            <td class="text-right" rowspan="1" colspan="1">126</td>
          </tr>
          <tr>
            <td class="text-center" rowspan="1" colspan="1">2</td>
            <td class="text-center" rowspan="1" colspan="1">0x407F - 0x7FFE</td>
            <td class="text-right" rowspan="1" colspan="1">16,256</td>
          </tr>
          <tr>
            <td class="text-center" rowspan="1" colspan="1">3</td>
            <td class="text-center" rowspan="1" colspan="1">0x203FFF - 0x3FFFFE</td>
            <td class="text-right" rowspan="1" colspan="1">2,080,768</td>
          </tr>
          <tr>
            <td class="text-center" rowspan="1" colspan="1">4</td>
            <td class="text-center" rowspan="1" colspan="1">0x101FFFFF - 0x1FFFFFFE</td>
            <td class="text-right" rowspan="1" colspan="1">268,338,304</td>
          </tr>
        </tbody>
      </table>
</div>
</section>
</div>
<div id="element-data-size">
<section id="section-6">
      <h2 id="name-element-data-size">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-element-data-size" class="section-name selfRef">Element Data Size</a>
      </h2>
<div id="data-size-format">
<section id="section-6.1">
        <h3 id="name-data-size-format">
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-data-size-format" class="section-name selfRef">Data Size Format</a>
        </h3>
<p id="section-6.1-1">The Element Data Size expresses the length in octets of Element Data. The
Element Data Size itself is encoded as a Variable-Size Integer. By default,
Element Data Sizes can be encoded in lengths from one octet to eight octets,
although Element Data Sizes of greater lengths <span class="bcp14">MAY</span> be used if
the octet length of the longest Element Data Size of the EBML Document is
declared in the EBMLMaxSizeLength Element of the EBML Header (see
<a href="#ebmlmaxsizelength-element" class="xref">Section 11.2.5</a>). Unlike the VINT_DATA of the
Element ID, the VINT_DATA component of the Element Data Size is not mandated
to be encoded at the shortest valid length. For example, an Element Data Size
with binary encoding of 1011 1111 or a binary encoding of 0100 0000 0011 1111
are both valid Element Data Sizes and both store a semantically equal value
(both 0b00000000111111 and 0b0111111, the VINT_DATA sections of the examples,
represent the integer 63).<a href="#section-6.1-1" class="pilcrow">¶</a></p>
<p id="section-6.1-2">Although an Element ID with all VINT_DATA bits set to zero is invalid, an
Element Data Size with all VINT_DATA bits set to zero is allowed for EBML
Element Types that do not mandate a nonzero length (see
<a href="#ebml-element-types" class="xref">Section 7</a>). An Element Data Size with all VINT_DATA
bits set to zero indicates that the Element Data is zero octets in
length. Such an EBML Element is referred to as an Empty Element. If an Empty
Element has a default value declared, then the EBML Reader <span class="bcp14">MUST</span>
interpret the value of the Empty Element as the default value. If an Empty
Element has no default value declared, then the EBML Reader <span class="bcp14">MUST</span>
use the value of the Empty Element for the corresponding EBML Element Type of
the Element ID, 0 for numbers and an empty string for strings.<a href="#section-6.1-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="unknown-data-size">
<section id="section-6.2">
        <h3 id="name-unknown-data-size">
<a href="#section-6.2" class="section-number selfRef">6.2. </a><a href="#name-unknown-data-size" class="section-name selfRef">Unknown Data Size</a>
        </h3>
<p id="section-6.2-1">An Element Data Size with all VINT_DATA bits set to one is reserved as an
indicator that the size of the EBML Element is unknown. The only reserved
value for the VINT_DATA of Element Data Size is all bits set to one. An EBML
Element with an unknown Element Data Size is referred to as an Unknown-Sized
Element. Only a Master Element is allowed to be of unknown size, and it can
only be so if the <code>unknownsizeallowed</code> attribute of its EBML Schema is
set to true (see <a href="#unknownsizeallowed" class="xref">Section 11.1.6.10</a>).<a href="#section-6.2-1" class="pilcrow">¶</a></p>
<p id="section-6.2-2">The use of Unknown-Sized Elements allows an EBML Element to be written and read before the size of the EBML Element is known. Unknown-Sized Elements <span class="bcp14">MUST</span> only be used if the Element Data Size is not known before the Element Data is written, such as in some cases of datastreaming. The end of an Unknown-Sized Element is determined by whichever comes first:<a href="#section-6.2-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.2-3.1">
            <p id="section-6.2-3.1.1">Any EBML Element that is a valid Parent Element of the Unknown-Sized Element according to the EBML Schema, Global Elements excluded.<a href="#section-6.2-3.1.1" class="pilcrow">¶</a></p>
</li>
          <li class="normal" id="section-6.2-3.2">
            <p id="section-6.2-3.2.1">Any valid EBML Element according to the EBML Schema, Global Elements
excluded, that is not a Descendant Element of the Unknown-Sized Element but
shares a common direct parent, such as a Top-Level Element.<a href="#section-6.2-3.2.1" class="pilcrow">¶</a></p>
</li>
          <li class="normal" id="section-6.2-3.3">
            <p id="section-6.2-3.3.1">Any EBML Element that is a valid Root Element according to the EBML Schema, Global Elements excluded.<a href="#section-6.2-3.3.1" class="pilcrow">¶</a></p>
</li>
          <li class="normal" id="section-6.2-3.4">
            <p id="section-6.2-3.4.1">The end of the Parent Element with a known size has been reached.<a href="#section-6.2-3.4.1" class="pilcrow">¶</a></p>
</li>
          <li class="normal" id="section-6.2-3.5">
            <p id="section-6.2-3.5.1">The end of the EBML Document, either when reaching the end of the file or because a new EBML Header started.<a href="#section-6.2-3.5.1" class="pilcrow">¶</a></p>
</li>
        </ul>
<p id="section-6.2-4">Consider an Unknown-Sized Element whose EBML path is
<code>\root\level1\level2\elt</code>. When reading a new Element ID, assuming the
EBML Path of that new Element is valid, here are some possible and impossible
ways that this new Element is ending <code>elt</code>:<a href="#section-6.2-4" class="pilcrow">¶</a></p>
<span id="name-examples-of-determining-the"></span><table class="center" id="table-5">
          <caption>
<a href="#table-5" class="selfRef">Table 5</a>:
<a href="#name-examples-of-determining-the" class="selfRef">Examples of determining the end of an Unknown-Sized Element</a>
          </caption>
<thead>
            <tr>
              <th class="text-left" rowspan="1" colspan="1">EBML Path of new element</th>
              <th class="text-left" rowspan="1" colspan="1">Status</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as it is a new Parent Element</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as it is a new Parent Element</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as it is a new Root Element</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root2</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as it is a new Root Element</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2\other</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as they share the same parent</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2\elt</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Ends the Unknown-Sized Element, as they share the same parent</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2\elt\inside</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Doesn't end the Unknown-Sized Element; it's a child of <code>elt</code>
</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2\elt\&lt;global&gt;</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Global Element is valid; it's a child of <code>elt</code>
</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">
                <code>\root\level1\level2\&lt;global&gt;</code>
</td>
              <td class="text-left" rowspan="1" colspan="1">Global Element cannot be interpreted with this path; while parsing <code>elt</code>, a Global Element can only be a child of <code>elt</code>
</td>
            </tr>
          </tbody>
        </table>
</section>
</div>
<div id="data-size-values">
<section id="section-6.3">
        <h3 id="name-data-size-values">
<a href="#section-6.3" class="section-number selfRef">6.3. </a><a href="#name-data-size-values" class="section-name selfRef">Data Size Values</a>
        </h3>
<p id="section-6.3-1">For Element Data Sizes encoded at octet lengths from one to eight,
<a href="#tableVintRangePerLength" class="xref">Table 6</a> depicts the range of possible values
that can be encoded as an Element Data Size. An Element Data Size with an
octet length of 8 is able to express a size of 2<sup>56</sup>-2 or
72,057,594,037,927,934 octets (or about 72 petabytes). The maximum possible
value that can be stored as Element Data Size is referred to as VINTMAX.<a href="#section-6.3-1" class="pilcrow">¶</a></p>
<span id="name-possible-range-of-values-th"></span><div id="tableVintRangePerLength">
<table class="center" id="table-6">
          <caption>
<a href="#table-6" class="selfRef">Table 6</a>:
<a href="#name-possible-range-of-values-th" class="selfRef">Possible range of values that
can be stored in VINTs, by octet length</a>
          </caption>
<thead>
            <tr>
              <th class="text-left" rowspan="1" colspan="1">Octet Length</th>
              <th class="text-left" rowspan="1" colspan="1">Possible Value Range</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">1</td>
              <td class="text-left" rowspan="1" colspan="1">0 to  2<sup>7</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">2</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>14</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">3</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>21</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">4</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>28</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">5</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>35</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">6</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>42</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">7</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>49</sup> - 2</td>
            </tr>
            <tr>
              <td class="text-left" rowspan="1" colspan="1">8</td>
              <td class="text-left" rowspan="1" colspan="1">0 to 2<sup>56</sup> - 2</td>
            </tr>
          </tbody>
        </table>
</div>
<p id="section-6.3-3">If the length of Element Data equals 2<sup>n*7</sup>-1, then the octet
length of the Element Data Size <span class="bcp14">MUST</span> be at least n+1. This rule
prevents an Element Data Size from being expressed as the unknown-size
value. <a href="#tableVintReservation" class="xref">Table 7</a> clarifies this rule by
showing a valid and invalid expression of an Element Data Size with a
VINT_DATA of 127 (which is equal to 2<sup>1*7</sup>-1) and 16,383 (which is equal to
2<sup>2*7</sup>-1).<a href="#section-6.3-3" class="pilcrow">¶</a></p>
<span id="name-demonstration-of-vint_data-"></span><div id="tableVintReservation">
<table class="center" id="table-7">
          <caption>
<a href="#table-7" class="selfRef">Table 7</a>:
<a href="#name-demonstration-of-vint_data-" class="selfRef">Demonstration of VINT_DATA
reservation for VINTs of unknown size</a>
          </caption>
<thead>
            <tr>
              <th class="text-right" rowspan="1" colspan="1">VINT_WIDTH</th>
              <th class="text-right" rowspan="1" colspan="1">VINT_MARKER</th>
              <th class="text-right" rowspan="1" colspan="1">VINT_DATA</th>
              <th class="text-left" rowspan="1" colspan="1">Element Data Size Status</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-right" rowspan="1" colspan="1"></td>
              <td class="text-right" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">1111111</td>
              <td class="text-left" rowspan="1" colspan="1">Reserved (meaning Unknown)</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0</td>
              <td class="text-right" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">00000001111111</td>
              <td class="text-left" rowspan="1" colspan="1">Valid (meaning 127 octets)</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">00</td>
              <td class="text-right" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">000000000000001111111</td>
              <td class="text-left" rowspan="1" colspan="1">Valid (meaning 127 octets)</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0</td>
              <td class="text-right" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">11111111111111</td>
              <td class="text-left" rowspan="1" colspan="1">Reserved (meaning Unknown)</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">00</td>
              <td class="text-right" rowspan="1" colspan="1">1</td>
              <td class="text-right" rowspan="1" colspan="1">000000011111111111111</td>
              <td class="text-left" rowspan="1" colspan="1">Valid (16,383 octets)</td>
            </tr>
          </tbody>
        </table>
</div>
</section>
</div>
</section>
</div>
<div id="ebml-element-types">
<section id="section-7">
      <h2 id="name-ebml-element-types">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-ebml-element-types" class="section-name selfRef">EBML Element Types</a>
      </h2>
<p id="section-7-1">EBML Elements are defined by an EBML Schema (see
<a href="#ebml-schema" class="xref">Section 11.1</a>), which <span class="bcp14">MUST</span> declare one of the
following EBML Element Types for each EBML Element. An EBML Element Type
defines a concept of storing data within an EBML Element that describes such
characteristics as length, endianness, and definition.<a href="#section-7-1" class="pilcrow">¶</a></p>
<p id="section-7-2">EBML Elements that are defined as a Signed Integer Element, Unsigned
Integer Element, Float Element, or Date Element use big-endian storage.<a href="#section-7-2" class="pilcrow">¶</a></p>
<div id="signed-integer-element">
<section id="section-7.1">
        <h3 id="name-signed-integer-element">
<a href="#section-7.1" class="section-number selfRef">7.1. </a><a href="#name-signed-integer-element" class="section-name selfRef">Signed Integer Element</a>
        </h3>
<p id="section-7.1-1">A Signed Integer Element <span class="bcp14">MUST</span> declare a length from zero to eight octets. If the EBML Element is not defined to have a default value, then a Signed Integer Element with a zero-octet length represents an integer value of zero.<a href="#section-7.1-1" class="pilcrow">¶</a></p>
<p id="section-7.1-2">A Signed Integer Element stores an integer (meaning that it can be written
without a fractional component) that could be negative, positive, or
zero. Signed Integers are stored with two's complement notation with the
leftmost bit being the sign bit. Because EBML limits Signed Integers to 8
octets in length, a Signed Integer Element stores a number from
-9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.<a href="#section-7.1-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="unsigned-integer-element">
<section id="section-7.2">
        <h3 id="name-unsigned-integer-element">
<a href="#section-7.2" class="section-number selfRef">7.2. </a><a href="#name-unsigned-integer-element" class="section-name selfRef">Unsigned Integer Element</a>
        </h3>
<p id="section-7.2-1">An Unsigned Integer Element <span class="bcp14">MUST</span> declare a length from zero to eight octets. If the EBML Element is not defined to have a default value, then an Unsigned Integer Element with a zero-octet length represents an integer value of zero.<a href="#section-7.2-1" class="pilcrow">¶</a></p>
<p id="section-7.2-2">An Unsigned Integer Element stores an integer (meaning that it can be
written without a fractional component) that could be positive or
zero. Because EBML limits Unsigned Integers to 8 octets in length, an Unsigned
Integer Element stores a number from 0 to 18,446,744,073,709,551,615.<a href="#section-7.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="float-element">
<section id="section-7.3">
        <h3 id="name-float-element">
<a href="#section-7.3" class="section-number selfRef">7.3. </a><a href="#name-float-element" class="section-name selfRef">Float Element</a>
        </h3>
<p id="section-7.3-1">A Float Element <span class="bcp14">MUST</span> declare a length of either zero octets
(0 bit), four octets (32 bit), or eight octets (64 bit). If the EBML Element
is not defined to have a default value, then a Float Element with a zero-octet
length represents a numerical value of zero.<a href="#section-7.3-1" class="pilcrow">¶</a></p>
<p id="section-7.3-2">A Float Element stores a floating-point number in the 32-bit and 64-bit
binary interchange format, as defined in <span>[<a href="#IEEE.754" class="xref">IEEE.754</a>]</span>.<a href="#section-7.3-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="string-element">
<section id="section-7.4">
        <h3 id="name-string-element">
<a href="#section-7.4" class="section-number selfRef">7.4. </a><a href="#name-string-element" class="section-name selfRef">String Element</a>
        </h3>
<p id="section-7.4-1">A String Element <span class="bcp14">MUST</span> declare a length in octets from zero to VINTMAX. If the EBML Element is not defined to have a default value, then a String Element with a zero-octet length represents an empty string.<a href="#section-7.4-1" class="pilcrow">¶</a></p>
<p id="section-7.4-2">A String Element <span class="bcp14">MUST</span> either be empty (zero-length) or contain printable ASCII characters <span>[<a href="#RFC0020" class="xref">RFC0020</a>]</span> in the range of 0x20 to 0x7E, with an exception made for termination (see <a href="#terminating-elements" class="xref">Section 13</a>).<a href="#section-7.4-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="utf-8-element">
<section id="section-7.5">
        <h3 id="name-utf-8-element">
<a href="#section-7.5" class="section-number selfRef">7.5. </a><a href="#name-utf-8-element" class="section-name selfRef">UTF-8 Element</a>
        </h3>
<p id="section-7.5-1">A UTF-8 Element <span class="bcp14">MUST</span> declare a length in octets from zero to VINTMAX. If the EBML Element is not defined to have a default value, then a UTF-8 Element with a zero-octet length represents an empty string.<a href="#section-7.5-1" class="pilcrow">¶</a></p>
<p id="section-7.5-2">A UTF-8 Element contains only a valid Unicode string as defined in <span>[<a href="#RFC3629" class="xref">RFC3629</a>]</span>, with an exception made for termination (see <a href="#terminating-elements" class="xref">Section 13</a>).<a href="#section-7.5-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="date-element">
<section id="section-7.6">
        <h3 id="name-date-element">
<a href="#section-7.6" class="section-number selfRef">7.6. </a><a href="#name-date-element" class="section-name selfRef">Date Element</a>
        </h3>
<p id="section-7.6-1">A Date Element <span class="bcp14">MUST</span> declare a length of either zero octets or eight octets. If the EBML Element is not defined to have a default value, then a Date Element with a zero-octet length represents a timestamp of 2001-01-01T00:00:00.000000000 UTC <span>[<a href="#RFC3339" class="xref">RFC3339</a>]</span>.<a href="#section-7.6-1" class="pilcrow">¶</a></p>
<p id="section-7.6-2">The Date Element stores an integer in the same format as the Signed Integer Element that expresses a point in time referenced in nanoseconds from the precise beginning of the third millennium of the Gregorian Calendar in Coordinated Universal Time (also known as 2001-01-01T00:00:00.000000000 UTC). This provides a possible expression of time from 1708-09-11T00:12:44.854775808 UTC to 2293-04-11T11:47:16.854775807 UTC.<a href="#section-7.6-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="master-element">
<section id="section-7.7">
        <h3 id="name-master-element">
<a href="#section-7.7" class="section-number selfRef">7.7. </a><a href="#name-master-element" class="section-name selfRef">Master Element</a>
        </h3>
<p id="section-7.7-1">A Master Element <span class="bcp14">MUST</span> declare a length in octets from zero to VINTMAX or be of unknown length. See <a href="#element-data-size" class="xref">Section 6</a> for rules that apply to elements of unknown length.<a href="#section-7.7-1" class="pilcrow">¶</a></p>
<p id="section-7.7-2">The Master Element contains zero or more other elements. EBML Elements contained within a Master Element <span class="bcp14">MUST</span> have the EBMLParentPath of their Element Path equal to the EBMLFullPath of the Master Element Element Path (see <a href="#path" class="xref">Section 11.1.6.2</a>). Element Data stored within Master Elements <span class="bcp14">SHOULD</span> only consist of EBML Elements and <span class="bcp14">SHOULD NOT</span> contain any data that is not part of an EBML Element. The EBML Schema identifies what Element IDs are valid within the Master Elements for that version of the EBML Document Type. Any data contained within a Master Element that is not part of a Child Element <span class="bcp14">MUST</span> be ignored.<a href="#section-7.7-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="binary-element">
<section id="section-7.8">
        <h3 id="name-binary-element">
<a href="#section-7.8" class="section-number selfRef">7.8. </a><a href="#name-binary-element" class="section-name selfRef">Binary Element</a>
        </h3>
<p id="section-7.8-1">A Binary Element <span class="bcp14">MUST</span> declare a length in octets from zero to VINTMAX.<a href="#section-7.8-1" class="pilcrow">¶</a></p>
<p id="section-7.8-2">The contents of a Binary Element should not be interpreted by the EBML Reader.<a href="#section-7.8-2" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="ebml-document">
<section id="section-8">
      <h2 id="name-ebml-document">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-ebml-document" class="section-name selfRef">EBML Document</a>
      </h2>
<p id="section-8-1">An EBML Document is composed of only two components, an EBML Header and an EBML Body. An EBML Document <span class="bcp14">MUST</span> start with an EBML Header that declares significant characteristics of the entire EBML Body. An EBML Document consists of EBML Elements and <span class="bcp14">MUST NOT</span> contain any data that is not part of an EBML Element.<a href="#section-8-1" class="pilcrow">¶</a></p>
<div id="ebml-header">
<section id="section-8.1">
        <h3 id="name-ebml-header">
<a href="#section-8.1" class="section-number selfRef">8.1. </a><a href="#name-ebml-header" class="section-name selfRef">EBML Header</a>
        </h3>
<p id="section-8.1-1">The EBML Header is a declaration that provides processing instructions and identification of the EBML Body. The EBML Header of an EBML Document is analogous to the XML Declaration of an XML Document.<a href="#section-8.1-1" class="pilcrow">¶</a></p>
<p id="section-8.1-2">The EBML Header documents the EBML Schema (also known as the EBML DocType)
that is used to semantically interpret the structure and meaning of the EBML
Document. Additionally, the EBML Header documents the versions of both EBML
and the EBML Schema that were used to write the EBML Document and the versions
required to read the EBML Document.<a href="#section-8.1-2" class="pilcrow">¶</a></p>
<p id="section-8.1-3">The EBML Header <span class="bcp14">MUST</span> contain a single Master Element with an
Element Name of <code>EBML</code> and Element ID of <code>0x1A45DFA3</code> (see
<a href="#ebml-element" class="xref">Section 11.2.1</a>); the Master Element may have any number of
additional EBML Elements within it. The EBML Header of an EBML Document that
uses an EBMLVersion of 1 <span class="bcp14">MUST</span> only contain EBML Elements that
are defined as part of this document.<a href="#section-8.1-3" class="pilcrow">¶</a></p>
<p id="section-8.1-4">Elements within an EBML Header can be at most 4 octets long, except for the
EBML Element with Element Name <code>EBML</code> and Element ID
<code>0x1A45DFA3</code> (see <a href="#ebml-element" class="xref">Section 11.2.1</a>); this Element can be up
to 8 octets long.<a href="#section-8.1-4" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebml-body">
<section id="section-8.2">
        <h3 id="name-ebml-body">
<a href="#section-8.2" class="section-number selfRef">8.2. </a><a href="#name-ebml-body" class="section-name selfRef">EBML Body</a>
        </h3>
<p id="section-8.2-1">All data of an EBML Document following the EBML Header is the EBML Body. The end of the EBML Body, as well as the end of the EBML Document that contains the EBML Body, is reached at whichever comes first: the beginning of a new EBML Header at the Root Level or the end of the file. This document defines precisely which EBML Elements are to be used within the EBML Header but does not name or define which EBML Elements are to be used within the EBML Body. The definition of which EBML Elements are to be used within the EBML Body is defined by an EBML Schema.<a href="#section-8.2-1" class="pilcrow">¶</a></p>
<p id="section-8.2-2">Within the EBML Body, the maximum octet length allowed for any Element ID
is set by the EBMLMaxIDLength Element of the EBML Header, and the maximum octet
length allowed for any Element Data Size is set by the EBMLMaxSizeLength
Element of the EBML Header.<a href="#section-8.2-2" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="ebml-stream">
<section id="section-9">
      <h2 id="name-ebml-stream">
<a href="#section-9" class="section-number selfRef">9. </a><a href="#name-ebml-stream" class="section-name selfRef">EBML Stream</a>
      </h2>
<p id="section-9-1">An EBML Stream is a file that consists of one or more EBML Documents that are concatenated together. An occurrence of an EBML Header at the Root Level marks the beginning of an EBML Document.<a href="#section-9-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebml-versioning">
<section id="section-10">
      <h2 id="name-ebml-versioning">
<a href="#section-10" class="section-number selfRef">10. </a><a href="#name-ebml-versioning" class="section-name selfRef">EBML Versioning</a>
      </h2>
<p id="section-10-1">An EBML Document handles 2 different versions: the version of the EBML Header and the version of the EBML Body. Both versions are meant to be backward compatible.<a href="#section-10-1" class="pilcrow">¶</a></p>
<div id="ebml-header-version">
<section id="section-10.1">
        <h3 id="name-ebml-header-version">
<a href="#section-10.1" class="section-number selfRef">10.1. </a><a href="#name-ebml-header-version" class="section-name selfRef">EBML Header Version</a>
        </h3>
<p id="section-10.1-1">The version of the EBML Header is found in EBMLVersion. An EBML parser can read an EBML Header if it can read either the EBMLVersion version or a version equal or higher than the one found in EBMLReadVersion.<a href="#section-10.1-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebml-document-version">
<section id="section-10.2">
        <h3 id="name-ebml-document-version">
<a href="#section-10.2" class="section-number selfRef">10.2. </a><a href="#name-ebml-document-version" class="section-name selfRef">EBML Document Version</a>
        </h3>
<p id="section-10.2-1">The version of the EBML Body is found in EBMLDocTypeVersion. A parser for the particular DocType format can read the EBML Document if it can read either the EBMLDocTypeVersion version of that format or a version equal or higher than the one found in EBMLDocTypeReadVersion.<a href="#section-10.2-1" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="elements-semantics">
<section id="section-11">
      <h2 id="name-elements-semantics">
<a href="#section-11" class="section-number selfRef">11. </a><a href="#name-elements-semantics" class="section-name selfRef">Elements semantics</a>
      </h2>
<div id="ebml-schema">
<section id="section-11.1">
        <h3 id="name-ebml-schema">
<a href="#section-11.1" class="section-number selfRef">11.1. </a><a href="#name-ebml-schema" class="section-name selfRef">EBML Schema</a>
        </h3>
<p id="section-11.1-1">An EBML Schema is a well-formed XML Document
<span>[<a href="#XML" class="xref">XML</a>]</span> that defines the properties,
arrangement, and usage of EBML Elements that compose a specific EBML Document
Type. The relationship of an EBML Schema to an EBML Document is analogous to
the relationship of an XML Schema <span>[<a href="#XML-SCHEMA" class="xref">XML-SCHEMA</a>]</span> to an XML
Document <span>[<a href="#XML" class="xref">XML</a>]</span>. An EBML Schema
<span class="bcp14">MUST</span> be clearly associated with one or more EBML Document
Types. An EBML Document Type is identified by a string stored within the EBML
Header in the DocType Element -- for example, Matroska or WebM (see
<a href="#doctype-element" class="xref">Section 11.2.6</a>). The DocType value for an EBML Document Type
<span class="bcp14">MUST</span> be unique, persistent, and described in the IANA registry
(see <a href="#ebml-doctypes-registry" class="xref">Section 17.2</a>).<a href="#section-11.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1-2">An EBML Schema <span class="bcp14">MUST</span> declare exactly one EBML Element at Root Level (referred to as the Root Element) that occurs exactly once within an EBML Document. The Void Element <span class="bcp14">MAY</span> also occur at Root Level but is not a Root Element (see <a href="#void-element" class="xref">Section 11.3.2</a>).<a href="#section-11.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1-3">The EBML Schema <span class="bcp14">MUST</span> document all Elements of the EBML
Body. The EBML Schema does not document Global Elements that are defined by
this document (namely, the Void Element and the CRC-32 Element).<a href="#section-11.1-3" class="pilcrow">¶</a></p>
<p id="section-11.1-4">The EBML Schema <span class="bcp14">MUST NOT</span> use the Element ID
<code>0x1A45DFA3</code>, which is reserved for the EBML Header for the purpose of
resynchronization.<a href="#section-11.1-4" class="pilcrow">¶</a></p>
<p id="section-11.1-5">An EBML Schema <span class="bcp14">MAY</span> constrain the use of EBML Header Elements
(see <a href="#ebml-header-elements" class="xref">Section 11.2</a>) by adding or constraining
that Element's <code>range</code> attribute. For example, an EBML Schema
<span class="bcp14">MAY</span> constrain the EBMLMaxSizeLength to a maximum value of
<code>8</code> or <span class="bcp14">MAY</span> constrain the EBMLVersion to only support a
value of <code>1</code>. If an EBML Schema adopts the EBML Header Element as is,
then it is not required to document that Element within the EBML Schema. If an
EBML Schema constrains the range of an EBML Header Element, then that Element
<span class="bcp14">MUST</span> be documented within an <code>&lt;element&gt;</code> node of
the EBML Schema. This document provides an example of an EBML Schema; see
<a href="#ebml-schema-example" class="xref">Section 11.1.1</a>.<a href="#section-11.1-5" class="pilcrow">¶</a></p>
<div id="ebml-schema-example">
<section id="section-11.1.1">
          <h4 id="name-ebml-schema-example">
<a href="#section-11.1.1" class="section-number selfRef">11.1.1. </a><a href="#name-ebml-schema-example" class="section-name selfRef">EBML Schema Example</a>
          </h4>
<div id="section-11.1.1-1">
<pre class="sourcecode lang-xml">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;EBMLSchema xmlns="urn:ietf:rfc:8794"
  docType="files-in-ebml-demo" version="1"&gt;
 &lt;!-- constraints to the range of two EBML Header Elements --&gt;
 &lt;element name="EBMLReadVersion" path="\EBML\EBMLReadVersion"
   id="0x42F7" minOccurs="1" maxOccurs="1" range="1" default="1"
   type="uinteger"/&gt;
 &lt;element name="EBMLMaxSizeLength"
   path="\EBML\EBMLMaxSizeLength" id="0x42F3" minOccurs="1"
   maxOccurs="1" range="8" default="8" type="uinteger"/&gt;
 &lt;!-- Root Element--&gt;
 &lt;element name="Files" path="\Files" id="0x1946696C"
   type="master"&gt;
  &lt;documentation lang="en"
    purpose="definition"&gt;Container of data and
  attributes representing one or many files.&lt;/documentation&gt;
 &lt;/element&gt;
 &lt;element name="File" path="\Files\File" id="0x6146"
   type="master" minOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    An attached file.
  &lt;/documentation&gt;
 &lt;/element&gt;
 &lt;element name="FileName" path="\Files\File\FileName"
   id="0x614E" type="utf-8"
   minOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    Filename of the attached file.
  &lt;/documentation&gt;
 &lt;/element&gt;
 &lt;element name="MimeType" path="\Files\File\MimeType"
   id="0x464D" type="string"
     minOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    MIME type of the file.
  &lt;/documentation&gt;
 &lt;/element&gt;
 &lt;element name="ModificationTimestamp"
   path="\Files\File\ModificationTimestamp" id="0x4654"
   type="date" minOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    Modification timestamp of the file.
  &lt;/documentation&gt;
 &lt;/element&gt;
 &lt;element name="Data" path="\Files\File\Data" id="0x4664"
   type="binary" minOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    The data of the file.
  &lt;/documentation&gt;
 &lt;/element&gt;
&lt;/EBMLSchema&gt;
</pre><a href="#section-11.1.1-1" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="ebmlschema-element">
<section id="section-11.1.2">
          <h4 id="name-ebmlschema-element">
<a href="#section-11.1.2" class="section-number selfRef">11.1.2. </a><a href="#name-ebmlschema-element" class="section-name selfRef"><code>&lt;EBMLSchema&gt;</code> Element</a>
          </h4>
<p id="section-11.1.2-1">Within an EBML Schema, the XPath <span>[<a href="#XPath" class="xref">XPath</a>]</span> of the
<code>&lt;EBMLSchema&gt;</code> element is <code>/EBMLSchema</code>.<a href="#section-11.1.2-1" class="pilcrow">¶</a></p>
<p id="section-11.1.2-2">When used as an XML Document, the EBML Schema <span class="bcp14">MUST</span> use
<code>&lt;EBMLSchema&gt;</code> as the top-level element. The
<code>&lt;EBMLSchema&gt;</code> element can contain <code>&lt;element&gt;</code>
subelements.<a href="#section-11.1.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebmlschema-namespace">
<section id="section-11.1.3">
          <h4 id="name-ebmlschema-namespace">
<a href="#section-11.1.3" class="section-number selfRef">11.1.3. </a><a href="#name-ebmlschema-namespace" class="section-name selfRef"><code>&lt;EBMLSchema&gt;</code> Namespace</a>
          </h4>
<p id="section-11.1.3-1">The namespace URI for elements of the EBML Schema is a URN as defined by
<span>[<a href="#RFC8141" class="xref">RFC8141</a>]</span> that uses the namespace identifier 'ietf' defined by <span>[<a href="#RFC2648" class="xref">RFC2648</a>]</span>
and extended by <span>[<a href="#RFC3688" class="xref">RFC3688</a>]</span>. This URN is <code>urn:ietf:rfc:8794</code>.<a href="#section-11.1.3-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebmlschema-attributes">
<section id="section-11.1.4">
          <h4 id="name-ebmlschema-attributes">
<a href="#section-11.1.4" class="section-number selfRef">11.1.4. </a><a href="#name-ebmlschema-attributes" class="section-name selfRef"><code>&lt;EBMLSchema&gt;</code> Attributes</a>
          </h4>
<p id="section-11.1.4-1">Within an EBML Schema, the <code>&lt;EBMLSchema&gt;</code> element uses the
following attributes to define an EBML Element:<a href="#section-11.1.4-1" class="pilcrow">¶</a></p>
<div id="doctype">
<section id="section-11.1.4.1">
            <h5 id="name-doctype">
<a href="#section-11.1.4.1" class="section-number selfRef">11.1.4.1. </a><a href="#name-doctype" class="section-name selfRef">docType</a>
            </h5>
<p id="section-11.1.4.1-1">Within an EBML Schema, the XPath of the <code>@docType</code> attribute is
<code>/EBMLSchema/@docType</code>.<a href="#section-11.1.4.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.4.1-2">The docType lists the official name of the EBML Document Type that is
defined by the EBML Schema; for example,
<code>&lt;EBMLSchema docType="matroska"&gt;</code>.<a href="#section-11.1.4.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.4.1-3">The <code>docType</code> attribute is <span class="bcp14">REQUIRED</span> within the
<code>&lt;EBMLSchema&gt;</code> Element.<a href="#section-11.1.4.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="version">
<section id="section-11.1.4.2">
            <h5 id="name-version">
<a href="#section-11.1.4.2" class="section-number selfRef">11.1.4.2. </a><a href="#name-version" class="section-name selfRef">version</a>
            </h5>
<p id="section-11.1.4.2-1">Within an EBML Schema, the XPath of the <code>@version</code> attribute is
<code>/EBMLSchema/@version</code>.<a href="#section-11.1.4.2-1" class="pilcrow">¶</a></p>
<p id="section-11.1.4.2-2">The version lists a nonnegative integer that specifies the version of the
 docType documented by the EBML Schema. Unlike XML Schemas, an EBML Schema
documents all versions of a docType's definition rather than using separate
EBML Schemas for each version of a docType. EBML Elements may be introduced
and deprecated by using the <code>minver</code> and <code>maxver</code> attributes of
<code>&lt;element&gt;</code>.<a href="#section-11.1.4.2-2" class="pilcrow">¶</a></p>
<p id="section-11.1.4.2-3">The <code>version</code> attribute is <span class="bcp14">REQUIRED</span> within the
<code>&lt;EBMLSchema&gt;</code> Element.<a href="#section-11.1.4.2-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="ebml">
<section id="section-11.1.4.3">
            <h5 id="name-ebml">
<a href="#section-11.1.4.3" class="section-number selfRef">11.1.4.3. </a><a href="#name-ebml" class="section-name selfRef">ebml</a>
            </h5>
<p id="section-11.1.4.3-1">Within an EBML Schema, the XPath of the <code>@ebml</code> attribute is <code>/EBMLSchema/@ebml</code>.<a href="#section-11.1.4.3-1" class="pilcrow">¶</a></p>
<p id="section-11.1.4.3-2">The <code>ebml</code> attribute is a positive integer that specifies the
version of the EBML Header (see <a href="#ebmlversion-element" class="xref">Section 11.2.2</a>)
used by the EBML Schema. If the attribute is omitted, the EBML Header version
is 1.<a href="#section-11.1.4.3-2" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="element-element">
<section id="section-11.1.5">
          <h4 id="name-element-element">
<a href="#section-11.1.5" class="section-number selfRef">11.1.5. </a><a href="#name-element-element" class="section-name selfRef"><code>&lt;element&gt;</code> Element</a>
          </h4>
<p id="section-11.1.5-1">Within an EBML Schema, the XPath of the <code>&lt;element&gt;</code> element is
<code>/EBMLSchema/element</code>.<a href="#section-11.1.5-1" class="pilcrow">¶</a></p>
<p id="section-11.1.5-2">Each <code>&lt;element&gt;</code> defines one EBML Element through the use of
several attributes that are defined in
<a href="#element-attributes" class="xref">Section 11.1.6</a>. EBML Schemas <span class="bcp14">MAY</span> contain
additional attributes to extend the semantics but <span class="bcp14">MUST NOT</span>
conflict with the definitions of the <code>&lt;element&gt;</code> attributes
defined within this document.<a href="#section-11.1.5-2" class="pilcrow">¶</a></p>
<p id="section-11.1.5-3">The <code>&lt;element&gt;</code> nodes contain a description of the meaning and use of the EBML Element stored within one or more <code>&lt;documentation&gt;</code> subelements, followed by optional <code>&lt;implementation_note&gt;</code> subelements, followed by zero or one <code>&lt;restriction&gt;</code> subelement, followed by optional <code>&lt;extension&gt;</code> subelements. All <code>&lt;element&gt;</code> nodes <span class="bcp14">MUST</span> be subelements of the <code>&lt;EBMLSchema&gt;</code>.<a href="#section-11.1.5-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="element-attributes">
<section id="section-11.1.6">
          <h4 id="name-element-attributes">
<a href="#section-11.1.6" class="section-number selfRef">11.1.6. </a><a href="#name-element-attributes" class="section-name selfRef"><code>&lt;element&gt;</code> Attributes</a>
          </h4>
<p id="section-11.1.6-1">Within an EBML Schema, the <code>&lt;element&gt;</code> uses the following
attributes to define an EBML Element:<a href="#section-11.1.6-1" class="pilcrow">¶</a></p>
<div id="name">
<section id="section-11.1.6.1">
            <h5 id="name-name">
<a href="#section-11.1.6.1" class="section-number selfRef">11.1.6.1. </a><a href="#name-name" class="section-name selfRef">name</a>
            </h5>
<p id="section-11.1.6.1-1">Within an EBML Schema, the XPath of the <code>@name</code> attribute is
<code>/EBMLSchema/element/@name</code>.<a href="#section-11.1.6.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.1-2">The name provides the human-readable name of the EBML Element. The value of
the name <span class="bcp14">MUST</span> be in the form of characters "A" to
"Z", "a" to "z", "0" to "9",
"-", and ".". The first character of the name
<span class="bcp14">MUST</span> be in the form of an "A" to "Z",
"a" to "z", or "0" to "9" character.<a href="#section-11.1.6.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.1-3">The <code>name</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.6.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="path">
<section id="section-11.1.6.2">
            <h5 id="name-path">
<a href="#section-11.1.6.2" class="section-number selfRef">11.1.6.2. </a><a href="#name-path" class="section-name selfRef">path</a>
            </h5>
<p id="section-11.1.6.2-1">Within an EBML Schema, the XPath of the <code>@path</code> attribute is
<code>/EBMLSchema/element/@path</code>.<a href="#section-11.1.6.2-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-2">The path defines the allowed storage locations of the EBML Element within
an EBML Document. This path <span class="bcp14">MUST</span> be defined with the full
hierarchy of EBML Elements separated with a <code>\</code>. The top EBML Element
in the path hierarchy is the first in the value. The syntax of the
<code>path</code> attribute is defined using this Augmented Backus-Naur Form
(ABNF) <span>[<a href="#RFC5234" class="xref">RFC5234</a>]</span> with the case-sensitive update
<span>[<a href="#RFC7405" class="xref">RFC7405</a>]</span> notation:<a href="#section-11.1.6.2-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-3">The <code>path</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.6.2-3" class="pilcrow">¶</a></p>
<div id="section-11.1.6.2-4">
<pre class="sourcecode lang-abnf">EBMLFullPath           = EBMLParentPath EBMLElement

EBMLParentPath         = PathDelimiter [EBMLParents]

EBMLParents            = 0*IntermediatePathAtom EBMLLastParent
IntermediatePathAtom   = EBMLPathAtom / GlobalPlaceholder
EBMLLastParent         = EBMLPathAtom / GlobalPlaceholder

EBMLPathAtom           = [IsRecursive] EBMLAtomName PathDelimiter
EBMLElement            = [IsRecursive] EBMLAtomName

PathDelimiter          = "\"
IsRecursive            = "+"
EBMLAtomName           = ALPHA / DIGIT 0*EBMLNameChar
EBMLNameChar           = ALPHA / DIGIT / "-" / "."

GlobalPlaceholder      = "(" GlobalParentOccurrence "\)"
GlobalParentOccurrence = [PathMinOccurrence] "-" [PathMaxOccurrence]
PathMinOccurrence      = 1*DIGIT ; no upper limit
PathMaxOccurrence      = 1*DIGIT ; no upper limit
</pre><a href="#section-11.1.6.2-4" class="pilcrow">¶</a>
</div>
<p id="section-11.1.6.2-5">The <code>*</code>, <code>(</code>, and <code>)</code> symbols are interpreted as defined in <span>[<a href="#RFC5234" class="xref">RFC5234</a>]</span>.<a href="#section-11.1.6.2-5" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-6">The EBMLAtomName of the EBMLElement part <span class="bcp14">MUST</span> be equal to the <code>@name</code> attribute of the EBML Schema.
If the EBMLElement part contains an IsRecursive part, the EBML Element can occur within itself recursively (see <a href="#recursive" class="xref">Section 11.1.6.11</a>).<a href="#section-11.1.6.2-6" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-7">The starting PathDelimiter of EBMLParentPath corresponds to the root of the EBML Document.<a href="#section-11.1.6.2-7" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-8">The <code>@path</code> value <span class="bcp14">MUST</span> be unique within the EBML Schema. The <code>@id</code> value corresponding to this <code>@path</code> <span class="bcp14">MUST NOT</span> be defined for use within another EBML Element with the same EBMLParentPath as this <code>@path</code>.<a href="#section-11.1.6.2-8" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-9">A path with a GlobalPlaceholder as the EBMLLastParent defines a Global Element; see <a href="#global-elements" class="xref">Section 11.3</a>.
If the element has no EBMLLastParent part, or the EBMLLastParent part is not a
GlobalPlaceholder, then the Element is not a Global Element.<a href="#section-11.1.6.2-9" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-10">The GlobalParentOccurrence part is interpreted as the number of valid
 EBMLPathAtom parts that can replace the GlobalPlaceholder in the path.
PathMinOccurrence represents the minimum number of EBMLPathAtoms required to
replace the GlobalPlaceholder. PathMaxOccurrence represents the maximum number
of EBMLPathAtoms possible to replace the GlobalPlaceholder.<a href="#section-11.1.6.2-10" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-11">If PathMinOccurrence is not present, then that GlobalParentOccurrence has a
PathMinOccurrence value of 0.
If PathMaxOccurrence is not present, then there is no upper bound for the
permitted number of EBMLPathAtoms possible to replace the GlobalPlaceholder.
PathMaxOccurrence <span class="bcp14">MUST NOT</span> have the value 0, as it would mean
no EBMLPathAtom can replace the GlobalPlaceholder, and the EBMLFullPath would
be the same without that GlobalPlaceholder part.
PathMaxOccurrence <span class="bcp14">MUST</span> be bigger than, or equal to,
PathMinOccurrence.<a href="#section-11.1.6.2-11" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-12">For example, in <code>\a\(0-1\)global</code>, the Element path
<code>\a\x\global</code> corresponds to an EBMLPathAtom occurrence of 1. The
Element <code>\a\x\y\global</code> corresponds to an EBMLPathAtom occurrence of 2,
etc. In those cases, <code>\a\x</code> or <code>\a\x\y</code> <span class="bcp14">MUST</span> be valid
paths to be able to contain the element <code>global</code>.<a href="#section-11.1.6.2-12" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-13">Consider another EBML Path, <code>\a\(1-\)global</code>. There has to be at
least one EBMLPathAtom between the <code>\a\</code> part and <code>global</code>.
So the <code>global</code> EBML Element cannot be found inside the <code>\a</code>
EBML Element, as it means the resulting path <code>\a\global</code> has no
EBMLPathAtom between the <code>\a\</code> and <code>global</code>. However, the
<code>global</code> EBML Element can be found inside the <code>\a\b</code> EBML
Element, because the resulting path, <code>\a\b\global</code>, has one EBMLPathAtom
between the <code>\a\</code> and <code>global</code>. Alternatively, it can be found
inside the <code>\a\b\c</code> EBML Element (two EBMLPathAtom), or inside the
<code>\a\b\c\d</code> EBML Element (three EBMLPathAtom), etc.<a href="#section-11.1.6.2-13" class="pilcrow">¶</a></p>
<p id="section-11.1.6.2-14">Consider another EBML Path, <code>\a\(0-1\)global</code>. There has to be at
most one EBMLPathAtom between the <code>\a\</code> part and <code>global</code>.
So the <code>global</code> EBML Element can be found inside either the <code>\a</code>
EBML Element (0 EBMLPathAtom replacing GlobalPlaceholder) or the
<code>\a\b</code> EBML Element (one replacement EBMLPathAtom).
But it cannot be found inside the <code>\a\b\c</code> EBML Element, because the
resulting path, <code>\a\b\c\global</code>, has two EBMLPathAtom between
<code>\a\</code> and <code>global</code>.<a href="#section-11.1.6.2-14" class="pilcrow">¶</a></p>
</section>
</div>
<div id="id">
<section id="section-11.1.6.3">
            <h5 id="name-id">
<a href="#section-11.1.6.3" class="section-number selfRef">11.1.6.3. </a><a href="#name-id" class="section-name selfRef">id</a>
            </h5>
<p id="section-11.1.6.3-1">Within an EBML Schema, the XPath of the <code>@id</code> attribute is
<code>/EBMLSchema/element/@id</code>.<a href="#section-11.1.6.3-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.3-2">The Element ID is encoded as a Variable-Size Integer. It is read and stored in big-endian
order. In the EBML Schema, it is expressed in
hexadecimal notation prefixed by a 0x. To reduce the risk of false positives while parsing EBML Streams, the
Element IDs of the Root Element and Top-Level Elements <span class="bcp14">SHOULD</span>
be at least 4 octets in length. Element IDs defined for use at Root Level or
directly under the Root Level <span class="bcp14">MAY</span> use shorter octet lengths to
facilitate padding and optimize edits to EBML Documents; for instance, the
Void Element uses an Element ID with a length of one octet to allow its usage
in more writing and editing scenarios.<a href="#section-11.1.6.3-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.3-3">The Element ID of any Element found within an EBML Document <span class="bcp14">MUST</span> only match a single <code>@path</code> value of its corresponding EBML Schema, but a separate instance of that Element ID value defined by the EBML Schema <span class="bcp14">MAY</span> occur within a different <code>@path</code>. If more than one Element is defined to use the same <code>@id</code> value, then the <code>@path</code> values of those Elements <span class="bcp14">MUST NOT</span> share the same EBMLParentPath. Elements <span class="bcp14">MUST NOT</span> be defined to use the same <code>@id</code> value if one of their common Parent Elements could be an Unknown-Sized Element.<a href="#section-11.1.6.3-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.3-4">The <code>id</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.6.3-4" class="pilcrow">¶</a></p>
</section>
</div>
<div id="minoccurs">
<section id="section-11.1.6.4">
            <h5 id="name-minoccurs">
<a href="#section-11.1.6.4" class="section-number selfRef">11.1.6.4. </a><a href="#name-minoccurs" class="section-name selfRef">minOccurs</a>
            </h5>
<p id="section-11.1.6.4-1">Within an EBML Schema, the XPath of the <code>@minOccurs</code> attribute is
<code>/EBMLSchema/element/@minOccurs</code>.<a href="#section-11.1.6.4-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.4-2"><code>minOccurs</code> is a nonnegative integer expressing the minimum permitted number
of occurrences of this EBML Element within its Parent Element.<a href="#section-11.1.6.4-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.4-3">Each instance of the Parent Element <span class="bcp14">MUST</span> contain at least this many instances of this EBML Element.
If the EBML Element has an empty EBMLParentPath, then <code>minOccurs</code> refers to
constraints on the occurrence of the EBML Element within the EBML Document.
EBML Elements with <code>minOccurs</code> set to "1" that also have a default
value (see <a href="#default" class="xref">Section 11.1.6.8</a>) declared are not
<span class="bcp14">REQUIRED</span> to be stored but are <span class="bcp14">REQUIRED</span> to be
interpreted; see
<a href="#note-on-the-use-of-default-attributes-to-define-mandatory-ebml-elements" class="xref">Section 11.1.19</a>.<a href="#section-11.1.6.4-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.4-4">An EBML Element defined with a <code>minOccurs</code> value greater than zero is called
a Mandatory EBML Element.<a href="#section-11.1.6.4-4" class="pilcrow">¶</a></p>
<p id="section-11.1.6.4-5">The <code>minOccurs</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>minOccurs</code>
attribute is not present, then that EBML Element has a <code>minOccurs</code> value of
0.<a href="#section-11.1.6.4-5" class="pilcrow">¶</a></p>
<p id="section-11.1.6.4-6">The semantic meaning of <code>minOccurs</code> within an EBML Schema is analogous to the meaning of <code>minOccurs</code> within an XML Schema.<a href="#section-11.1.6.4-6" class="pilcrow">¶</a></p>
</section>
</div>
<div id="maxoccurs">
<section id="section-11.1.6.5">
            <h5 id="name-maxoccurs">
<a href="#section-11.1.6.5" class="section-number selfRef">11.1.6.5. </a><a href="#name-maxoccurs" class="section-name selfRef">maxOccurs</a>
            </h5>
<p id="section-11.1.6.5-1">Within an EBML Schema, the XPath of the <code>@maxOccurs</code> attribute is
<code>/EBMLSchema/element/@maxOccurs</code>.<a href="#section-11.1.6.5-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.5-2"><code>maxOccurs</code> is a nonnegative integer expressing the maximum permitted number
of occurrences of this EBML Element within its Parent Element.<a href="#section-11.1.6.5-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.5-3">Each instance of the Parent Element <span class="bcp14">MUST</span> contain at most
this many instances of this EBML Element, including the unwritten mandatory
element with a default value; see
<a href="#note-on-the-use-of-default-attributes-to-define-mandatory-ebml-elements" class="xref">Section 11.1.19</a>.
If the EBML Element has an empty EBMLParentPath, then <code>maxOccurs</code> refers to
constraints on the occurrence of the EBML Element within the EBML
Document.<a href="#section-11.1.6.5-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.5-4">The <code>maxOccurs</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>maxOccurs</code>
attribute is not present, then there is no upper bound for the permitted
number of occurrences of this EBML Element within its Parent Element or within
the EBML Document, depending on whether or not the EBMLParentPath of the EBML Element
is empty.<a href="#section-11.1.6.5-4" class="pilcrow">¶</a></p>
<p id="section-11.1.6.5-5">The semantic meaning of <code>maxOccurs</code> within an EBML Schema is analogous to the
meaning of <code>maxOccurs</code> within an XML Schema; when it is not present, it's
similar to xml:maxOccurs="unbounded" in an XML Schema.<a href="#section-11.1.6.5-5" class="pilcrow">¶</a></p>
</section>
</div>
<div id="range">
<section id="section-11.1.6.6">
            <h5 id="name-range">
<a href="#section-11.1.6.6" class="section-number selfRef">11.1.6.6. </a><a href="#name-range" class="section-name selfRef">range</a>
            </h5>
<p id="section-11.1.6.6-1">Within an EBML Schema, the XPath of the <code>@range</code> attribute is
<code>/EBMLSchema/element/@range</code>.<a href="#section-11.1.6.6-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6-2">A numerical range for EBML Elements that are of numerical types (Unsigned
Integer, Signed Integer, Float, and Date). If specified, the value of the EBML
Element <span class="bcp14">MUST</span> be within the defined range. See
<a href="#expression-of-range" class="xref">Section 11.1.6.6.1</a> for rules applied to expression of range
values.<a href="#section-11.1.6.6-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6-3">The <code>range</code> attribute is <span class="bcp14">OPTIONAL</span>. If the
<code>range</code> attribute is
not present, then any value legal for the <code>type</code> attribute is valid.<a href="#section-11.1.6.6-3" class="pilcrow">¶</a></p>
<div id="expression-of-range">
<section id="section-11.1.6.6.1">
              <h6 id="name-expression-of-range">
<a href="#section-11.1.6.6.1" class="section-number selfRef">11.1.6.6.1. </a><a href="#name-expression-of-range" class="section-name selfRef">Expression of range</a>
              </h6>
<p id="section-11.1.6.6.1-1">The <code>range</code> attribute <span class="bcp14">MUST</span> only be used with EBML Elements
that are either signed integer, unsigned integer, float, or date. The
expression defines the upper, lower, exact, or excluded value of the EBML
Element and optionally an upper boundary value combined with a lower
boundary. The range expression may contain whitespace (using the ASCII 0x20
character) for readability, but whitespace within a range expression
<span class="bcp14">MUST NOT</span> convey meaning.<a href="#section-11.1.6.6.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6.1-2">To set a fixed value for the range, the value is used as the attribute
value. For example, <code>1234</code> means the EBML element always has the value
1234. The value can be prefixed with <code>not</code> to indicate that the fixed
value <span class="bcp14">MUST NOT</span> be used for that Element. For example,
<code>not 1234</code> means the Element can use all values of its type except 1234.<a href="#section-11.1.6.6.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6.1-3">The <code>&gt;</code> sign is used for an exclusive lower boundary, and the
<code>&gt;=</code> sign is used for an inclusive lower boundary. For example,
<code>&gt;3</code> means the Element value <span class="bcp14">MUST</span> be greater than 3,
and <code>&gt;=0x1p+0</code> means the Element value <span class="bcp14">MUST</span> be
greater than or equal to the floating value 1.0; see
<a href="#textual-expression-of-floats" class="xref">Section 11.1.18</a>.<a href="#section-11.1.6.6.1-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6.1-4">The <code>&lt;</code> sign is used for an exclusive upper boundary, and the
<code>&lt;=</code> sign is used for an inclusive upper boundary. For example,
<code>&lt;-2</code> means the Element value <span class="bcp14">MUST</span> be less than -2,
and <code>&lt;=10</code> means the Element value <span class="bcp14">MUST</span> be less than
or equal to 10.<a href="#section-11.1.6.6.1-4" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6.1-5">The lower and upper bounds can be combined into an expression to form a
closed boundary. The lower boundary comes first, followed by the upper
boundary, separated by a comma. For example, <code>&gt;3,&lt;= 20</code> means the
Element value <span class="bcp14">MUST</span> be greater than 3 and less than or equal to
20.<a href="#section-11.1.6.6.1-5" class="pilcrow">¶</a></p>
<p id="section-11.1.6.6.1-6">A special form of lower and upper bounds using the <code>-</code> separator is
possible, meaning the Element value <span class="bcp14">MUST</span> be greater than, or equal to,
the first value and <span class="bcp14">MUST</span> be less than or equal to the
second value. For example, <code>1-10</code> is equivalent to
<code>&gt;=1,&lt;=10</code>. If the upper boundary is negative, the <code>range</code> attribute
<span class="bcp14">MUST</span> only use the latter form.<a href="#section-11.1.6.6.1-6" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="length">
<section id="section-11.1.6.7">
            <h5 id="name-length">
<a href="#section-11.1.6.7" class="section-number selfRef">11.1.6.7. </a><a href="#name-length" class="section-name selfRef">length</a>
            </h5>
<p id="section-11.1.6.7-1">Within an EBML Schema, the XPath of the <code>@length</code> attribute is
<code>/EBMLSchema/element/@length</code>.<a href="#section-11.1.6.7-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.7-2">The <code>length</code> attribute is a value to express the valid length of the Element
Data as written, measured in octets. The length provides a constraint in
addition to the Length value of the definition of the corresponding EBML
Element Type. This length <span class="bcp14">MUST</span> be expressed as either a
nonnegative integer or a range (see
<a href="#expression-of-range" class="xref">Section 11.1.6.6.1</a>) that consists of only nonnegative
integers and valid operators.<a href="#section-11.1.6.7-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.7-3">The <code>length</code> attribute is <span class="bcp14">OPTIONAL</span>. If the
<code>length</code> attribute is
not present for that EBML Element, then that EBML Element is only limited in
length by the definition of the associated EBML Element Type.<a href="#section-11.1.6.7-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="default">
<section id="section-11.1.6.8">
            <h5 id="name-default">
<a href="#section-11.1.6.8" class="section-number selfRef">11.1.6.8. </a><a href="#name-default" class="section-name selfRef">default</a>
            </h5>
<p id="section-11.1.6.8-1">Within an EBML Schema, the XPath of the <code>@default</code> attribute is
<code>/EBMLSchema/element/@default</code>.<a href="#section-11.1.6.8-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.8-2">If an Element is mandatory (has a <code>minOccurs</code> value greater than zero) but not written within its Parent Element or stored as an Empty Element, then the EBML Reader of the EBML Document <span class="bcp14">MUST</span> semantically interpret the EBML Element as present with this specified default value for the EBML Element.
An unwritten mandatory Element with a declared default value is semantically equivalent to that Element if written with the default value stored as the Element Data.
EBML Elements that are Master Elements <span class="bcp14">MUST NOT</span> declare a default value.
EBML Elements with a <code>minOccurs</code> value greater than 1 <span class="bcp14">MUST NOT</span> declare a default value.<a href="#section-11.1.6.8-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.8-3">The default attribute is <span class="bcp14">OPTIONAL</span>.<a href="#section-11.1.6.8-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="type">
<section id="section-11.1.6.9">
            <h5 id="name-type">
<a href="#section-11.1.6.9" class="section-number selfRef">11.1.6.9. </a><a href="#name-type" class="section-name selfRef">type</a>
            </h5>
<p id="section-11.1.6.9-1">Within an EBML Schema, the XPath of the <code>@type</code> attribute is
<code>/EBMLSchema/element/@type</code>.<a href="#section-11.1.6.9-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.9-2">The type <span class="bcp14">MUST</span> be set to one of the following values:
<code>integer</code> (signed integer), <code>uinteger</code> (unsigned integer),
<code>float</code>, <code>string</code>, <code>date</code>, <code>utf-8</code>,
<code>master</code>, or <code>binary</code>. The content of each type is defined
in <a href="#ebml-element-types" class="xref">Section 7</a>.<a href="#section-11.1.6.9-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.9-3">The <code>type</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.6.9-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="unknownsizeallowed">
<section id="section-11.1.6.10">
            <h5 id="name-unknownsizeallowed">
<a href="#section-11.1.6.10" class="section-number selfRef">11.1.6.10. </a><a href="#name-unknownsizeallowed" class="section-name selfRef">unknownsizeallowed</a>
            </h5>
<p id="section-11.1.6.10-1">Within an EBML Schema, the XPath of the <code>@unknownsizeallowed</code>
attribute is <code>/EBMLSchema/element/@unknownsizeallowed</code>.<a href="#section-11.1.6.10-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.10-2">This attribute is a boolean to express whether an EBML Element is permitted to
be an Unknown-Sized Element (having all VINT_DATA bits of Element Data Size set
to 1). EBML Elements that are not Master Elements <span class="bcp14">MUST NOT</span> set
<code>unknownsizeallowed</code> to true. An EBML Element that is defined with an
<code>unknownsizeallowed</code> attribute set to 1 <span class="bcp14">MUST</span> also have the
<code>unknownsizeallowed</code> attribute of its Parent Element set to 1.<a href="#section-11.1.6.10-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.10-3">An EBML Element with the <code>unknownsizeallowed</code> attribute set to 1
<span class="bcp14">MUST NOT</span> have its <code>recursive</code> attribute set to 1.<a href="#section-11.1.6.10-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.10-4">The <code>unknownsizeallowed</code> attribute is <span class="bcp14">OPTIONAL</span>. If the
<code>unknownsizeallowed</code> attribute is not used, then that EBML Element is not
allowed to use an unknown Element Data Size.<a href="#section-11.1.6.10-4" class="pilcrow">¶</a></p>
</section>
</div>
<div id="recursive">
<section id="section-11.1.6.11">
            <h5 id="name-recursive">
<a href="#section-11.1.6.11" class="section-number selfRef">11.1.6.11. </a><a href="#name-recursive" class="section-name selfRef">recursive</a>
            </h5>
<p id="section-11.1.6.11-1">Within an EBML Schema, the XPath of the <code>@recursive</code> attribute is
<code>/EBMLSchema/element/@recursive</code>.<a href="#section-11.1.6.11-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.11-2">This attribute is a boolean to express whether an EBML Element is permitted to
be stored recursively. If it is allowed, the EBML Element <span class="bcp14">MAY</span> be
stored within another EBML Element that has the same Element ID, which itself
can be stored in an EBML Element that has the same Element ID, and so on. EBML
Elements that are not Master Elements <span class="bcp14">MUST NOT</span> set recursive to
true.<a href="#section-11.1.6.11-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.11-3">If the EBMLElement part of the <code>@path</code> contains an IsRecursive part,
then the <code>recursive</code> value <span class="bcp14">MUST</span> be true; otherwise, it
<span class="bcp14">MUST</span> be false.<a href="#section-11.1.6.11-3" class="pilcrow">¶</a></p>
<p id="section-11.1.6.11-4">An EBML Element with the <code>recursive</code> attribute set to 1 <span class="bcp14">MUST NOT</span>
have its <code>unknownsizeallowed</code> attribute set to 1.<a href="#section-11.1.6.11-4" class="pilcrow">¶</a></p>
<p id="section-11.1.6.11-5">The <code>recursive</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>recursive</code>
attribute is not present, then the EBML Element <span class="bcp14">MUST NOT</span> be
used recursively.<a href="#section-11.1.6.11-5" class="pilcrow">¶</a></p>
</section>
</div>
<div id="recurring">
<section id="section-11.1.6.12">
            <h5 id="name-recurring">
<a href="#section-11.1.6.12" class="section-number selfRef">11.1.6.12. </a><a href="#name-recurring" class="section-name selfRef">recurring</a>
            </h5>
<p id="section-11.1.6.12-1">Within an EBML Schema, the XPath of the <code>@recurring</code> attribute is
<code>/EBMLSchema/element/@recurring</code>.<a href="#section-11.1.6.12-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.12-2">This attribute is a boolean to express whether or not an EBML Element is defined as an
Identically Recurring Element; see
<a href="#identically-recurring-elements" class="xref">Section 11.1.17</a>.<a href="#section-11.1.6.12-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.12-3">The <code>recurring</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>recurring</code>
attribute is not present, then the EBML Element is not an Identically
Recurring Element.<a href="#section-11.1.6.12-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="minver">
<section id="section-11.1.6.13">
            <h5 id="name-minver">
<a href="#section-11.1.6.13" class="section-number selfRef">11.1.6.13. </a><a href="#name-minver" class="section-name selfRef">minver</a>
            </h5>
<p id="section-11.1.6.13-1">Within an EBML Schema, the XPath of the <code>@minver</code> attribute is
<code>/EBMLSchema/element/@minver</code>.<a href="#section-11.1.6.13-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.13-2">The <code>minver</code> (minimum version) attribute stores a nonnegative integer that
represents the first version of the docType to support the EBML Element.<a href="#section-11.1.6.13-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.13-3">The <code>minver</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>minver</code>
attribute is not present, then the EBML Element has a minimum version of
"1".<a href="#section-11.1.6.13-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="maxver">
<section id="section-11.1.6.14">
            <h5 id="name-maxver">
<a href="#section-11.1.6.14" class="section-number selfRef">11.1.6.14. </a><a href="#name-maxver" class="section-name selfRef">maxver</a>
            </h5>
<p id="section-11.1.6.14-1">Within an EBML Schema, the XPath of the <code>@maxver</code> attribute is
<code>/EBMLSchema/element/@maxver</code>.<a href="#section-11.1.6.14-1" class="pilcrow">¶</a></p>
<p id="section-11.1.6.14-2">The <code>maxver</code> (maximum version) attribute stores a nonnegative integer that
represents the last or most recent version of the docType to support the
element. <code>maxver</code> <span class="bcp14">MUST</span> be greater than or equal to <code>minver</code>.<a href="#section-11.1.6.14-2" class="pilcrow">¶</a></p>
<p id="section-11.1.6.14-3">The <code>maxver</code> attribute is <span class="bcp14">OPTIONAL</span>. If the <code>maxver</code> attribute is
not present, then the EBML Element has a maximum version equal to the value
stored in the <code>version</code> attribute of <code>&lt;EBMLSchema&gt;</code>.<a href="#section-11.1.6.14-3" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="documentation-element">
<section id="section-11.1.7">
          <h4 id="name-documentation-element">
<a href="#section-11.1.7" class="section-number selfRef">11.1.7. </a><a href="#name-documentation-element" class="section-name selfRef"><code>&lt;documentation&gt;</code> Element</a>
          </h4>
<p id="section-11.1.7-1">Within an EBML Schema, the XPaths of the <code>&lt;documentation&gt;</code>
elements are <code>/EBMLSchema/element/documentation</code> and <code>/EBMLSchema/element/restriction/enum/documentation</code>.<a href="#section-11.1.7-1" class="pilcrow">¶</a></p>
<p id="section-11.1.7-2">The <code>&lt;documentation&gt;</code> element provides additional information
about EBML Elements or enumeration values. Within the <code>&lt;documentation&gt;</code> element, the
following XHTML <span>[<a href="#XHTML" class="xref">XHTML</a>]</span> elements <span class="bcp14">MAY</span> be
used: <code>&lt;a&gt;</code>, <code>&lt;br&gt;</code>, and <code>&lt;strong&gt;</code>.<a href="#section-11.1.7-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="documentation-attributes">
<section id="section-11.1.8">
          <h4 id="name-documentation-attributes">
<a href="#section-11.1.8" class="section-number selfRef">11.1.8. </a><a href="#name-documentation-attributes" class="section-name selfRef"><code>&lt;documentation&gt;</code> Attributes</a>
          </h4>
<div id="lang">
<section id="section-11.1.8.1">
            <h5 id="name-lang">
<a href="#section-11.1.8.1" class="section-number selfRef">11.1.8.1. </a><a href="#name-lang" class="section-name selfRef">lang</a>
            </h5>
<p id="section-11.1.8.1-1">Within an EBML Schema, the XPath of the <code>@lang</code> attribute is
<code>/EBMLSchema/element/documentation/@lang</code>.<a href="#section-11.1.8.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.8.1-2">The <code>lang</code> attribute is set to the value from <span>[<a href="#RFC5646" class="xref">RFC5646</a>]</span> of
the language of the element's documentation.<a href="#section-11.1.8.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.8.1-3">The <code>lang</code> attribute is <span class="bcp14">OPTIONAL</span>.<a href="#section-11.1.8.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="purpose">
<section id="section-11.1.8.2">
            <h5 id="name-purpose">
<a href="#section-11.1.8.2" class="section-number selfRef">11.1.8.2. </a><a href="#name-purpose" class="section-name selfRef">purpose</a>
            </h5>
<p id="section-11.1.8.2-1">Within an EBML Schema, the XPath of the <code>@purpose</code> attribute is
<code>/EBMLSchema/element/documentation/@purpose</code>.<a href="#section-11.1.8.2-1" class="pilcrow">¶</a></p>
<p id="section-11.1.8.2-2">A <code>purpose</code> attribute distinguishes the meaning of the documentation. Values
for the <code>&lt;documentation&gt;</code> subelement's <code>purpose</code> attribute
<span class="bcp14">MUST</span> include one of the values listed in
<a href="#tablePurposeDefinitions" class="xref">Table 8</a>.<a href="#section-11.1.8.2-2" class="pilcrow">¶</a></p>
<span id="name-definitions-of-the-permitte"></span><div id="tablePurposeDefinitions">
<table class="center" id="table-8">
              <caption>
<a href="#table-8" class="selfRef">Table 8</a>:
<a href="#name-definitions-of-the-permitte" class="selfRef">Definitions of the permitted
values for the <code>purpose</code> attribute of the documentation Element</a>
              </caption>
<thead>
                <tr>
                  <th class="text-left" rowspan="1" colspan="1">value of <code>purpose</code> attribute</th>
                  <th class="text-left" rowspan="1" colspan="1">definition</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td class="text-left" rowspan="1" colspan="1">definition</td>
                  <td class="text-left" rowspan="1" colspan="1">A "definition" is recommended for every defined EBML Element. This documentation explains the semantic meaning of the EBML Element.</td>
                </tr>
                <tr>
                  <td class="text-left" rowspan="1" colspan="1">rationale</td>
                  <td class="text-left" rowspan="1" colspan="1">An explanation about the reason or catalyst for the definition of the Element.</td>
                </tr>
                <tr>
                  <td class="text-left" rowspan="1" colspan="1">usage notes</td>
                  <td class="text-left" rowspan="1" colspan="1">Recommended practices or guidelines for both reading, writing, or interpreting the Element.</td>
                </tr>
                <tr>
                  <td class="text-left" rowspan="1" colspan="1">references</td>
                  <td class="text-left" rowspan="1" colspan="1">Informational references to support the contextualization and understanding of the value of the Element.</td>
                </tr>
              </tbody>
            </table>
</div>
<p id="section-11.1.8.2-4">The <code>purpose</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.8.2-4" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="implementation-note-element">
<section id="section-11.1.9">
          <h4 id="name-implementation_note-element">
<a href="#section-11.1.9" class="section-number selfRef">11.1.9. </a><a href="#name-implementation_note-element" class="section-name selfRef"><code>&lt;implementation_note&gt;</code> Element</a>
          </h4>
<p id="section-11.1.9-1">Within an EBML Schema, the XPath of the <code>&lt;implementation_note&gt;</code>
element is <code>/EBMLSchema/element/implementation_note</code>.<a href="#section-11.1.9-1" class="pilcrow">¶</a></p>
<p id="section-11.1.9-2">In some cases within an EBML Document Type, the attributes of the
<code>&lt;element&gt;</code> element are not sufficient to clearly communicate how
the defined EBML Element is intended to be implemented.
For instance, one EBML Element might only be mandatory if another EBML Element
is present. As another example, the default value of an EBML Element might
be derived from a related Element's content. In these cases where the Element's
definition is conditional or advanced implementation notes are needed, one or many
<code>&lt;implementation_note&gt;</code> elements can be used to store that
information.
The <code>&lt;implementation_note&gt;</code> refers to a specific attribute of the
parent <code>&lt;element&gt;</code> as expressed by the <code>note_attribute</code>
attribute (see <a href="#note-attribute" class="xref">Section 11.1.10.1</a>).<a href="#section-11.1.9-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="implementation-note-attributes">
<section id="section-11.1.10">
          <h4 id="name-implementation_note-attribu">
<a href="#section-11.1.10" class="section-number selfRef">11.1.10. </a><a href="#name-implementation_note-attribu" class="section-name selfRef"><code>&lt;implementation_note&gt;</code> Attributes</a>
          </h4>
<div id="note-attribute">
<section id="section-11.1.10.1">
            <h5 id="name-note_attribute">
<a href="#section-11.1.10.1" class="section-number selfRef">11.1.10.1. </a><a href="#name-note_attribute" class="section-name selfRef">note_attribute</a>
            </h5>
<p id="section-11.1.10.1-1">Within an EBML Schema, the XPath of the <code>@note_attribute</code> attribute
is <code>/EBMLSchema/element/implementation_note/@note_attribute</code>.<a href="#section-11.1.10.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.10.1-2">The <code>note_attribute</code> attribute references which of the attributes of the
<code>&lt;element&gt;</code> the <code>&lt;implementation_note&gt;</code> relates to.
The <code>note_attribute</code> attribute <span class="bcp14">MUST</span> be set to one of the
following values (corresponding to that attribute of the parent
<code>&lt;element&gt;</code>): <code>minOccurs</code>, <code>maxOccurs</code>,
<code>range</code>, <code>length</code>, <code>default</code>, <code>minver</code>, or
<code>maxver</code>. The <code>&lt;implementation_note&gt;</code> <span class="bcp14">SHALL</span>
supersede the parent <code>&lt;element&gt;</code>'s attribute that is named in the
<code>note_attribute</code> attribute.
An <code>&lt;element&gt;</code> <span class="bcp14">SHALL NOT</span> have more than one <code>&lt;implementation_note&gt;</code> of the same <code>note_attribute</code>.<a href="#section-11.1.10.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.10.1-3">The <code>note_attribute</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.10.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="implementation-note-example">
<section id="section-11.1.10.2">
            <h5 id="name-implementation_note-example">
<a href="#section-11.1.10.2" class="section-number selfRef">11.1.10.2. </a><a href="#name-implementation_note-example" class="section-name selfRef"><code>&lt;implementation_note&gt;</code> Example</a>
            </h5>
<p id="section-11.1.10.2-1">The following fragment of an EBML Schema demonstrates how an
<code>&lt;implementation_note&gt;</code> is used. In this case, an EBML Schema
documents a list of items that are described with an optional cost. The
Currency Element uses an <code>&lt;implementation_note&gt;</code> to say that the
Currency Element is <span class="bcp14">REQUIRED</span> if the Cost Element is set,
otherwise not.<a href="#section-11.1.10.2-1" class="pilcrow">¶</a></p>
<div id="section-11.1.10.2-2">
<pre class="sourcecode lang-xml">&lt;element name="Items" path="\Items" id="0x4025" type="master"
  minOccurs="1" maxOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    A set of items.
  &lt;/documentation&gt;
&lt;/element&gt;
&lt;element name="Item" path="\Items\Item" id="0x4026"
  type="master"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    An item.
  &lt;/documentation&gt;
&lt;/element&gt;
&lt;element name="Cost" path="\Items\Item\Cost" id="0x4024"
  type="float" maxOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    The cost of the item, if any.
  &lt;/documentation&gt;
&lt;/element&gt;
&lt;element name="Currency" path="\Items\Item\Currency" id="0x403F"
  type="string" maxOccurs="1"&gt;
  &lt;documentation lang="en" purpose="definition"&gt;
    The currency of the item's cost.
  &lt;/documentation&gt;
  &lt;implementation_note note_attribute="minOccurs"&gt;
    Currency MUST be set (minOccurs=1) if the associated Item stores
    a Cost, else Currency MAY be unset (minOccurs=0).
  &lt;/implementation_note&gt;
&lt;/element&gt;
</pre><a href="#section-11.1.10.2-2" class="pilcrow">¶</a>
</div>
</section>
</div>
</section>
</div>
<div id="restriction-element">
<section id="section-11.1.11">
          <h4 id="name-restriction-element">
<a href="#section-11.1.11" class="section-number selfRef">11.1.11. </a><a href="#name-restriction-element" class="section-name selfRef"><code>&lt;restriction&gt;</code> Element</a>
          </h4>
<p id="section-11.1.11-1">Within an EBML Schema, the XPath of the <code>&lt;restriction&gt;</code>
element is <code>/EBMLSchema/element/restriction</code>.<a href="#section-11.1.11-1" class="pilcrow">¶</a></p>
<p id="section-11.1.11-2">The <code>&lt;restriction&gt;</code> element provides information about
restrictions to the allowable values for the EBML Element, which are listed in
<code>&lt;enum&gt;</code> elements.<a href="#section-11.1.11-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="enum-element">
<section id="section-11.1.12">
          <h4 id="name-enum-element">
<a href="#section-11.1.12" class="section-number selfRef">11.1.12. </a><a href="#name-enum-element" class="section-name selfRef"><code>&lt;enum&gt;</code> Element</a>
          </h4>
<p id="section-11.1.12-1">Within an EBML Schema, the XPath of the <code>&lt;enum&gt;</code> element is
<code>/EBMLSchema/element/restriction/enum</code>.<a href="#section-11.1.12-1" class="pilcrow">¶</a></p>
<p id="section-11.1.12-2">The <code>&lt;enum&gt;</code> element stores a list of values allowed for
storage in the EBML Element. The values <span class="bcp14">MUST</span> match the type of
the EBML Element (for example, <code>&lt;enum value="Yes"&gt;</code>
cannot be a valid value for an EBML Element that is defined as an unsigned
integer). An <code>&lt;enum&gt;</code> element <span class="bcp14">MAY</span> also store
<code>&lt;documentation&gt;</code> elements to further describe the
<code>&lt;enum&gt;</code>.<a href="#section-11.1.12-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="enum-attributes">
<section id="section-11.1.13">
          <h4 id="name-enum-attributes">
<a href="#section-11.1.13" class="section-number selfRef">11.1.13. </a><a href="#name-enum-attributes" class="section-name selfRef"><code>&lt;enum&gt;</code> Attributes</a>
          </h4>
<div id="label">
<section id="section-11.1.13.1">
            <h5 id="name-label">
<a href="#section-11.1.13.1" class="section-number selfRef">11.1.13.1. </a><a href="#name-label" class="section-name selfRef">label</a>
            </h5>
<p id="section-11.1.13.1-1">Within an EBML Schema, the XPath of the <code>@label</code> attribute is
<code>/EBMLSchema/element/restriction/enum/@label</code>.<a href="#section-11.1.13.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.13.1-2">The label provides a concise expression for human consumption that
describes what the value of <code>&lt;enum&gt;</code> represents.<a href="#section-11.1.13.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.13.1-3">The <code>label</code> attribute is <span class="bcp14">OPTIONAL</span>.<a href="#section-11.1.13.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="value">
<section id="section-11.1.13.2">
            <h5 id="name-value">
<a href="#section-11.1.13.2" class="section-number selfRef">11.1.13.2. </a><a href="#name-value" class="section-name selfRef">value</a>
            </h5>
<p id="section-11.1.13.2-1">Within an EBML Schema, the XPath of the <code>@value</code> attribute is
<code>/EBMLSchema/element/restriction/enum/@value</code>.<a href="#section-11.1.13.2-1" class="pilcrow">¶</a></p>
<p id="section-11.1.13.2-2">The value represents data that <span class="bcp14">MAY</span> be stored within the EBML Element.<a href="#section-11.1.13.2-2" class="pilcrow">¶</a></p>
<p id="section-11.1.13.2-3">The <code>value</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.13.2-3" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="extension-element">
<section id="section-11.1.14">
          <h4 id="name-extension-element">
<a href="#section-11.1.14" class="section-number selfRef">11.1.14. </a><a href="#name-extension-element" class="section-name selfRef"><code>&lt;extension&gt;</code> Element</a>
          </h4>
<p id="section-11.1.14-1">Within an EBML Schema, the XPath of the <code>&lt;extension&gt;</code>
element is <code>/EBMLSchema/element/extension</code>.<a href="#section-11.1.14-1" class="pilcrow">¶</a></p>
<p id="section-11.1.14-2">The <code>&lt;extension&gt;</code> element provides an unconstrained element to
contain information about the associated EBML <code>&lt;element&gt;</code>, which
is undefined by this document but <span class="bcp14">MAY</span> be defined by the
associated EBML Document Type. The <code>&lt;extension&gt;</code> element
<span class="bcp14">MUST</span> contain a <code>type</code> attribute and also
<span class="bcp14">MAY</span> contain any other attribute or subelement as long as the
EBML Schema remains as a well-formed XML Document. All
<code>&lt;extension&gt;</code> elements <span class="bcp14">MUST</span> be subelements of the
<code>&lt;element&gt;</code>.<a href="#section-11.1.14-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="extension-attributes">
<section id="section-11.1.15">
          <h4 id="name-extension-attributes">
<a href="#section-11.1.15" class="section-number selfRef">11.1.15. </a><a href="#name-extension-attributes" class="section-name selfRef"><code>&lt;extension&gt;</code> Attributes</a>
          </h4>
<div id="type-1">
<section id="section-11.1.15.1">
            <h5 id="name-type-2">
<a href="#section-11.1.15.1" class="section-number selfRef">11.1.15.1. </a><a href="#name-type-2" class="section-name selfRef">type</a>
            </h5>
<p id="section-11.1.15.1-1">Within an EBML Schema, the XPath of the <code>@type</code> attribute is
<code>/EBMLSchema/element/extension/@type</code>.<a href="#section-11.1.15.1-1" class="pilcrow">¶</a></p>
<p id="section-11.1.15.1-2">The <code>type</code> attribute should reference a name or identifier of the
project or authority associated with the contents of the
<code>&lt;extension&gt;</code> element.<a href="#section-11.1.15.1-2" class="pilcrow">¶</a></p>
<p id="section-11.1.15.1-3">The <code>type</code> attribute is <span class="bcp14">REQUIRED</span>.<a href="#section-11.1.15.1-3" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="xml-schema-for-ebml-schema">
<section id="section-11.1.16">
          <h4 id="name-xml-schema-for-ebml-schema">
<a href="#section-11.1.16" class="section-number selfRef">11.1.16. </a><a href="#name-xml-schema-for-ebml-schema" class="section-name selfRef">XML Schema for EBML Schema</a>
          </h4>
<p id="section-11.1.16-1">The following provides an XML Schema <span>[<a href="#XML-SCHEMA" class="xref">XML-SCHEMA</a>]</span> for
facilitating verification of an EBML Schema described in
<a href="#ebml-schema" class="xref">Section 11.1</a>.<a href="#section-11.1.16-1" class="pilcrow">¶</a></p>
<div id="section-11.1.16-2">
<pre class="sourcecode lang-xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xs:schema xmlns="urn:ietf:rfc:8794"
  targetNamespace="urn:ietf:rfc:8794"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  elementFormDefault="qualified" version="01"&gt;

  &lt;!-- for HTML in comments --&gt;
  &lt;xs:import namespace="http://www.w3.org/1999/xhtml"
    schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"/&gt;

  &lt;xs:element name="EBMLSchema" type="EBMLSchemaType"/&gt;

  &lt;xs:complexType name="EBMLSchemaType"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="element" type="elementType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="docType" use="required"/&gt;
    &lt;xs:attribute name="version" use="required" type="xs:integer"/&gt;
    &lt;xs:attribute name="ebml" type="xs:positiveInteger"
      default="1"/&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="elementType"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="documentation" type="documentationType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
      &lt;xs:element name="implementation_note" type="noteType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
      &lt;xs:element name="restriction" type="restrictionType"
        minOccurs="0" maxOccurs="1"/&gt;
      &lt;xs:element name="extension" type="extensionType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="name" use="required"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:pattern value="[0-9A-Za-z.-]([0-9A-Za-z.-])*"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="path" use="required"&gt;
      &lt;!-- &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:pattern value="[0-9]*\*[0-9]*()"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt; --&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="id" use="required"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:pattern value="0x([0-9A-F][0-9A-F])+"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="minOccurs" default="0"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:minInclusive value="0"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="maxOccurs" default="1"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:minInclusive value="0"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="range"/&gt;
    &lt;xs:attribute name="length"/&gt;
    &lt;xs:attribute name="default"/&gt;
    &lt;xs:attribute name="type" use="required"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:enumeration value="integer"/&gt;
          &lt;xs:enumeration value="uinteger"/&gt;
          &lt;xs:enumeration value="float"/&gt;
          &lt;xs:enumeration value="string"/&gt;
          &lt;xs:enumeration value="date"/&gt;
          &lt;xs:enumeration value="utf-8"/&gt;
          &lt;xs:enumeration value="master"/&gt;
          &lt;xs:enumeration value="binary"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="unknownsizeallowed" type="xs:boolean"
      default="false"/&gt;
    &lt;xs:attribute name="recursive" type="xs:boolean"
      default="false"/&gt;
    &lt;xs:attribute name="recurring" type="xs:boolean"
      default="false"/&gt;
    &lt;xs:attribute name="minver" default="1"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:minInclusive value="0"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:attribute name="maxver"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:integer"&gt;
          &lt;xs:minInclusive value="0"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="restrictionType"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="enum" type="enumType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="extensionType"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:any processContents="skip"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="type" use="required"/&gt;
    &lt;xs:anyAttribute processContents="skip"/&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="enumType"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="documentation" type="documentationType"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="label"/&gt;
    &lt;xs:attribute name="value" use="required"/&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="documentationType" mixed="true"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="a"      type="xhtml:xhtml.a.type"
        minOccurs="0" maxOccurs="unbounded"/&gt;
      &lt;xs:element name="br"     type="xhtml:xhtml.br.type"
        minOccurs="0" maxOccurs="unbounded"/&gt;
      &lt;xs:element name="strong" type="xhtml:xhtml.strong.type"
        minOccurs="0" maxOccurs="unbounded"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="lang"/&gt;
    &lt;xs:attribute name="purpose" use="required"&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:enumeration value="definition"/&gt;
          &lt;xs:enumeration value="rationale"/&gt;
          &lt;xs:enumeration value="references"/&gt;
          &lt;xs:enumeration value="usage notes"/&gt;
        &lt;/xs:restriction&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="noteType"&gt;
    &lt;xs:simpleContent&gt;
      &lt;xs:extension base="xs:string"&gt;
        &lt;xs:attribute name="note_attribute" use="required"&gt;
          &lt;xs:simpleType&gt;
            &lt;xs:restriction base="xs:string"&gt;
              &lt;xs:enumeration value="minOccurs"/&gt;
              &lt;xs:enumeration value="maxOccurs"/&gt;
              &lt;xs:enumeration value="range"/&gt;
              &lt;xs:enumeration value="length"/&gt;
              &lt;xs:enumeration value="default"/&gt;
              &lt;xs:enumeration value="minver"/&gt;
              &lt;xs:enumeration value="maxver"/&gt;
            &lt;/xs:restriction&gt;
          &lt;/xs:simpleType&gt;
        &lt;/xs:attribute&gt;
      &lt;/xs:extension&gt;
    &lt;/xs:simpleContent&gt;
  &lt;/xs:complexType&gt;
&lt;/xs:schema&gt;
</pre><a href="#section-11.1.16-2" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="identically-recurring-elements">
<section id="section-11.1.17">
          <h4 id="name-identically-recurring-eleme">
<a href="#section-11.1.17" class="section-number selfRef">11.1.17. </a><a href="#name-identically-recurring-eleme" class="section-name selfRef">Identically Recurring Elements</a>
          </h4>
<p id="section-11.1.17-1">An Identically Recurring Element is an EBML Element that <span class="bcp14">MAY</span>
occur within its Parent Element more than once, but each recurrence of it
within that Parent Element <span class="bcp14">MUST</span> be identical both in storage
and semantics. Identically Recurring Elements are permitted to be stored
multiple times within the same Parent Element in order to increase data
resilience and optimize the use of EBML in transmission. For instance, a
pertinent Top-Level Element could be periodically resent within a datastream
so that an EBML Reader that starts reading the stream from the middle could
better interpret the contents. Identically Recurring Elements
<span class="bcp14">SHOULD</span> include a CRC-32 Element as a Child Element; this is
especially recommended when EBML is used for long-term storage or
transmission. If a Parent Element contains more than one copy of an
Identically Recurring Element that includes a CRC-32 Element as a Child
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 that does not
contain a CRC-32 Element, or if CRC-32 Elements are present but none are valid,
then the first instance of the Identically Recurring Element should be used
for interpretation.<a href="#section-11.1.17-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="textual-expression-of-floats">
<section id="section-11.1.18">
          <h4 id="name-textual-expression-of-float">
<a href="#section-11.1.18" class="section-number selfRef">11.1.18. </a><a href="#name-textual-expression-of-float" class="section-name selfRef">Textual expression of floats</a>
          </h4>
<p id="section-11.1.18-1">When a float value is represented textually in an EBML Schema, such as
within a default or range value, the float values <span class="bcp14">MUST</span> be
expressed as Hexadecimal Floating-Point Constants as defined in the C11
standard <span>[<a href="#ISO9899" class="xref">ISO9899</a>]</span> (see Section 6.4.4.2 on Floating
Constants). <a href="#tableFloatExamples" class="xref">Table 9</a> provides examples of
expressions of float ranges.<a href="#section-11.1.18-1" class="pilcrow">¶</a></p>
<span id="name-example-of-floating-point-v"></span><div id="tableFloatExamples">
<table class="center" id="table-9">
            <caption>
<a href="#table-9" class="selfRef">Table 9</a>:
<a href="#name-example-of-floating-point-v" class="selfRef">Example of Floating-Point values and
ranges as decimal and Hexadecimal Floating-Point Constants</a>
            </caption>
<thead>
              <tr>
                <th class="text-left" rowspan="1" colspan="1">as decimal</th>
                <th class="text-left" rowspan="1" colspan="1">as Hexadecimal Floating-Point Constants</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">0.0</td>
                <td class="text-left" rowspan="1" colspan="1">
                  <code>0x0p+1</code>
</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">0.0-1.0</td>
                <td class="text-left" rowspan="1" colspan="1">
                  <code>0x0p+1-0x1p+0</code>
</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">1.0-256.0</td>
                <td class="text-left" rowspan="1" colspan="1">
                  <code>0x1p+0-0x1p+8</code>
</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">0.857421875</td>
                <td class="text-left" rowspan="1" colspan="1">
                  <code>0x1.b7p-1</code>
</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">-1.0--0.857421875</td>
                <td class="text-left" rowspan="1" colspan="1">
                  <code>-0x1p+0--0x1.b7p-1</code>
</td>
              </tr>
            </tbody>
          </table>
</div>
<p id="section-11.1.18-3">Within an expression of a float range, as in an integer range, the
- (hyphen) character is the separator between the minimum and maximum values
permitted by the range. Hexadecimal Floating-Point Constants also use a -
(hyphen) when indicating a negative binary power. Within a float range, when a
- (hyphen) is immediately preceded by a letter p, then the - (hyphen) is a
part of the Hexadecimal Floating-Point Constant that notes negative binary
power. Within a float range, when a - (hyphen) is not immediately preceded by
a letter p, then the - (hyphen) represents the separator between the minimum
and maximum values permitted by the range.<a href="#section-11.1.18-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="note-on-the-use-of-default-attributes-to-define-mandatory-ebml-elements">
<section id="section-11.1.19">
          <h4 id="name-note-on-the-use-of-default-">
<a href="#section-11.1.19" class="section-number selfRef">11.1.19. </a><a href="#name-note-on-the-use-of-default-" class="section-name selfRef">Note on the use of default attributes to define Mandatory EBML Elements</a>
          </h4>
<p id="section-11.1.19-1">If a Mandatory EBML Element has a default value declared by an EBML Schema
and the value of the EBML Element is equal to the declared default value, then
that EBML Element is not required to be present within the EBML Document if
its Parent Element is present. In this case, the default value of the
Mandatory EBML Element <span class="bcp14">MUST</span> be read by the EBML Reader,
although the EBML Element is not present within its Parent Element.<a href="#section-11.1.19-1" class="pilcrow">¶</a></p>
<p id="section-11.1.19-2">If a Mandatory EBML Element has no default value declared by an EBML Schema
and its Parent Element is present, then the EBML Element <span class="bcp14">MUST</span>
be present, as well. If a Mandatory EBML Element has a default value declared
by an EBML Schema, and its Parent Element is present, and the value of the EBML
Element is NOT equal to the declared default value, then the EBML Element
 <span class="bcp14">MUST</span> be present.<a href="#section-11.1.19-2" class="pilcrow">¶</a></p>
<p id="section-11.1.19-3"><a href="#tableVintRequirements" class="xref">Table 10</a> clarifies whether a Mandatory
EBML Element <span class="bcp14">MUST</span> be written, according to whether the default value
is declared, the value of the EBML Element is equal to the declared default
value, and/or the Parent Element is used.<a href="#section-11.1.19-3" class="pilcrow">¶</a></p>
<span id="name-demonstration-of-the-condit"></span><div id="tableVintRequirements">
<table class="center" id="table-10">
            <caption>
<a href="#table-10" class="selfRef">Table 10</a>:
<a href="#name-demonstration-of-the-condit" class="selfRef">Demonstration of the conditional
requirements of VINT Storage</a>
            </caption>
<thead>
              <tr>
                <th class="text-center" rowspan="1" colspan="1">Is the default value declared?</th>
                <th class="text-center" rowspan="1" colspan="1">Is the value equal to default?</th>
                <th class="text-center" rowspan="1" colspan="1">Is the Parent Element present?</th>
                <th class="text-center" rowspan="1" colspan="1">Then is storing the EBML Element <span class="bcp14">REQUIRED</span>?</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
              </tr>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
              </tr>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
              </tr>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
              </tr>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">n/a</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
                <td class="text-center" rowspan="1" colspan="1">Yes</td>
              </tr>
              <tr>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">n/a</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
                <td class="text-center" rowspan="1" colspan="1">No</td>
              </tr>
            </tbody>
          </table>
</div>
</section>
</div>
</section>
</div>
<div id="ebml-header-elements">
<section id="section-11.2">
        <h3 id="name-ebml-header-elements">
<a href="#section-11.2" class="section-number selfRef">11.2. </a><a href="#name-ebml-header-elements" class="section-name selfRef">EBML Header Elements</a>
        </h3>
<p id="section-11.2-1">This document contains definitions of all EBML Elements of the EBML Header.<a href="#section-11.2-1" class="pilcrow">¶</a></p>
<div id="ebml-element">
<section id="section-11.2.1">
          <h4 id="name-ebml-element">
<a href="#section-11.2.1" class="section-number selfRef">11.2.1. </a><a href="#name-ebml-element" class="section-name selfRef">EBML Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.1-1">
            <dt id="section-11.2.1-1.1">name:</dt>
            <dd id="section-11.2.1-1.2">EBML<a href="#section-11.2.1-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.3">path:</dt>
            <dd id="section-11.2.1-1.4">
              <code>\EBML</code><a href="#section-11.2.1-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.5">id:</dt>
            <dd id="section-11.2.1-1.6">0x1A45DFA3<a href="#section-11.2.1-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.7">minOccurs:</dt>
            <dd id="section-11.2.1-1.8">1<a href="#section-11.2.1-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.9">maxOccurs:</dt>
            <dd id="section-11.2.1-1.10">1<a href="#section-11.2.1-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.11">type:</dt>
            <dd id="section-11.2.1-1.12">Master Element<a href="#section-11.2.1-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.1-1.13">description:</dt>
            <dd id="section-11.2.1-1.14">Set the EBML characteristics of the data to follow. Each EBML Document has
to start with this.<a href="#section-11.2.1-1.14" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="ebmlversion-element">
<section id="section-11.2.2">
          <h4 id="name-ebmlversion-element">
<a href="#section-11.2.2" class="section-number selfRef">11.2.2. </a><a href="#name-ebmlversion-element" class="section-name selfRef">EBMLVersion Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.2-1">
            <dt id="section-11.2.2-1.1">name:</dt>
            <dd id="section-11.2.2-1.2">EBMLVersion<a href="#section-11.2.2-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.3">path:</dt>
            <dd id="section-11.2.2-1.4">
              <code>\EBML\EBMLVersion</code><a href="#section-11.2.2-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.5">id:</dt>
            <dd id="section-11.2.2-1.6">0x4286<a href="#section-11.2.2-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.7">minOccurs:</dt>
            <dd id="section-11.2.2-1.8">1<a href="#section-11.2.2-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.9">maxOccurs:</dt>
            <dd id="section-11.2.2-1.10">1<a href="#section-11.2.2-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.11">range:</dt>
            <dd id="section-11.2.2-1.12">not 0<a href="#section-11.2.2-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.13">default:</dt>
            <dd id="section-11.2.2-1.14">1<a href="#section-11.2.2-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.15">type:</dt>
            <dd id="section-11.2.2-1.16">Unsigned Integer<a href="#section-11.2.2-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.2-1.17">description:</dt>
            <dd id="section-11.2.2-1.18">The version of EBML specifications used to create the EBML Document. The
version of EBML defined in this document is 1, so EBMLVersion
<span class="bcp14">SHOULD</span> be 1.<a href="#section-11.2.2-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="ebmlreadversion-element">
<section id="section-11.2.3">
          <h4 id="name-ebmlreadversion-element">
<a href="#section-11.2.3" class="section-number selfRef">11.2.3. </a><a href="#name-ebmlreadversion-element" class="section-name selfRef">EBMLReadVersion Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.3-1">
            <dt id="section-11.2.3-1.1">name:</dt>
            <dd id="section-11.2.3-1.2">EBMLReadVersion<a href="#section-11.2.3-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.3">path:</dt>
            <dd id="section-11.2.3-1.4">
              <code>\EBML\EBMLReadVersion</code><a href="#section-11.2.3-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.5">id:</dt>
            <dd id="section-11.2.3-1.6">0x42F7<a href="#section-11.2.3-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.7">minOccurs:</dt>
            <dd id="section-11.2.3-1.8">1<a href="#section-11.2.3-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.9">maxOccurs:</dt>
            <dd id="section-11.2.3-1.10">1<a href="#section-11.2.3-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.11">range:</dt>
            <dd id="section-11.2.3-1.12">1<a href="#section-11.2.3-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.13">default:</dt>
            <dd id="section-11.2.3-1.14">1<a href="#section-11.2.3-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.15">type:</dt>
            <dd id="section-11.2.3-1.16">Unsigned Integer<a href="#section-11.2.3-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.3-1.17">description:</dt>
            <dd id="section-11.2.3-1.18">The minimum EBML version an EBML Reader has to support to read this EBML
Document. The EBMLReadVersion Element <span class="bcp14">MUST</span> be less than or equal to EBMLVersion.<a href="#section-11.2.3-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="ebmlmaxidlength-element">
<section id="section-11.2.4">
          <h4 id="name-ebmlmaxidlength-element">
<a href="#section-11.2.4" class="section-number selfRef">11.2.4. </a><a href="#name-ebmlmaxidlength-element" class="section-name selfRef">EBMLMaxIDLength Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.4-1">
            <dt id="section-11.2.4-1.1">name:</dt>
            <dd id="section-11.2.4-1.2">EBMLMaxIDLength<a href="#section-11.2.4-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.3">path:</dt>
            <dd id="section-11.2.4-1.4">
              <code>\EBML\EBMLMaxIDLength</code><a href="#section-11.2.4-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.5">id:</dt>
            <dd id="section-11.2.4-1.6">0x42F2<a href="#section-11.2.4-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.7">minOccurs:</dt>
            <dd id="section-11.2.4-1.8">1<a href="#section-11.2.4-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.9">maxOccurs:</dt>
            <dd id="section-11.2.4-1.10">1<a href="#section-11.2.4-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.11">range:</dt>
            <dd id="section-11.2.4-1.12">&gt;=4<a href="#section-11.2.4-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.13">default:</dt>
            <dd id="section-11.2.4-1.14">4<a href="#section-11.2.4-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.15">type:</dt>
            <dd id="section-11.2.4-1.16">Unsigned Integer<a href="#section-11.2.4-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.4-1.17">description:</dt>
            <dd id="section-11.2.4-1.18">The EBMLMaxIDLength Element stores the maximum permitted length in octets
of the Element IDs to be found within the EBML Body. An EBMLMaxIDLength Element value of four
is <span class="bcp14">RECOMMENDED</span>, though larger values are allowed.<a href="#section-11.2.4-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="ebmlmaxsizelength-element">
<section id="section-11.2.5">
          <h4 id="name-ebmlmaxsizelength-element">
<a href="#section-11.2.5" class="section-number selfRef">11.2.5. </a><a href="#name-ebmlmaxsizelength-element" class="section-name selfRef">EBMLMaxSizeLength Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.5-1">
            <dt id="section-11.2.5-1.1">name:</dt>
            <dd id="section-11.2.5-1.2">EBMLMaxSizeLength<a href="#section-11.2.5-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.3">path:</dt>
            <dd id="section-11.2.5-1.4">
              <code>\EBML\EBMLMaxSizeLength</code><a href="#section-11.2.5-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.5">id:</dt>
            <dd id="section-11.2.5-1.6">0x42F3<a href="#section-11.2.5-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.7">minOccurs:</dt>
            <dd id="section-11.2.5-1.8">1<a href="#section-11.2.5-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.9">maxOccurs:</dt>
            <dd id="section-11.2.5-1.10">1<a href="#section-11.2.5-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.11">range:</dt>
            <dd id="section-11.2.5-1.12">not 0<a href="#section-11.2.5-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.13">default:</dt>
            <dd id="section-11.2.5-1.14">8<a href="#section-11.2.5-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.15">type:</dt>
            <dd id="section-11.2.5-1.16">Unsigned Integer<a href="#section-11.2.5-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.5-1.17">description:</dt>
            <dd id="section-11.2.5-1.18">The EBMLMaxSizeLength Element stores the maximum permitted length in
octets of the expressions of all Element Data Sizes to be found within the EBML Body. The
EBMLMaxSizeLength Element documents an upper bound for the <code>length</code> of
all Element Data Size expressions within the EBML Body and not an upper bound
for the <code>value</code> of all Element Data Size expressions
within the EBML Body. EBML Elements that have an Element Data Size expression that is larger in octets
than what is expressed by EBMLMaxSizeLength Element are invalid.<a href="#section-11.2.5-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctype-element">
<section id="section-11.2.6">
          <h4 id="name-doctype-element">
<a href="#section-11.2.6" class="section-number selfRef">11.2.6. </a><a href="#name-doctype-element" class="section-name selfRef">DocType Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.6-1">
            <dt id="section-11.2.6-1.1">name:</dt>
            <dd id="section-11.2.6-1.2">DocType<a href="#section-11.2.6-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.3">path:</dt>
            <dd id="section-11.2.6-1.4">
              <code>\EBML\DocType</code><a href="#section-11.2.6-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.5">id:</dt>
            <dd id="section-11.2.6-1.6">0x4282<a href="#section-11.2.6-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.7">minOccurs:</dt>
            <dd id="section-11.2.6-1.8">1<a href="#section-11.2.6-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.9">maxOccurs:</dt>
            <dd id="section-11.2.6-1.10">1<a href="#section-11.2.6-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.11">length:</dt>
            <dd id="section-11.2.6-1.12">&gt;0<a href="#section-11.2.6-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.13">type:</dt>
            <dd id="section-11.2.6-1.14">String<a href="#section-11.2.6-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.6-1.15">description:</dt>
            <dd id="section-11.2.6-1.16">A string that describes and identifies the content of the EBML Body that
follows this EBML Header.<a href="#section-11.2.6-1.16" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctypeversion-element">
<section id="section-11.2.7">
          <h4 id="name-doctypeversion-element">
<a href="#section-11.2.7" class="section-number selfRef">11.2.7. </a><a href="#name-doctypeversion-element" class="section-name selfRef">DocTypeVersion Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.7-1">
            <dt id="section-11.2.7-1.1">name:</dt>
            <dd id="section-11.2.7-1.2">DocTypeVersion<a href="#section-11.2.7-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.3">path:</dt>
            <dd id="section-11.2.7-1.4">
              <code>\EBML\DocTypeVersion</code><a href="#section-11.2.7-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.5">id:</dt>
            <dd id="section-11.2.7-1.6">0x4287<a href="#section-11.2.7-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.7">minOccurs:</dt>
            <dd id="section-11.2.7-1.8">1<a href="#section-11.2.7-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.9">maxOccurs:</dt>
            <dd id="section-11.2.7-1.10">1<a href="#section-11.2.7-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.11">range:</dt>
            <dd id="section-11.2.7-1.12">not 0<a href="#section-11.2.7-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.13">default:</dt>
            <dd id="section-11.2.7-1.14">1<a href="#section-11.2.7-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.15">type:</dt>
            <dd id="section-11.2.7-1.16">Unsigned Integer<a href="#section-11.2.7-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.7-1.17">description:</dt>
            <dd id="section-11.2.7-1.18">The version of DocType interpreter used to create the EBML Document.<a href="#section-11.2.7-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctypereadversion-element">
<section id="section-11.2.8">
          <h4 id="name-doctypereadversion-element">
<a href="#section-11.2.8" class="section-number selfRef">11.2.8. </a><a href="#name-doctypereadversion-element" class="section-name selfRef">DocTypeReadVersion Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.8-1">
            <dt id="section-11.2.8-1.1">name:</dt>
            <dd id="section-11.2.8-1.2">DocTypeReadVersion<a href="#section-11.2.8-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.3">path:</dt>
            <dd id="section-11.2.8-1.4">
              <code>\EBML\DocTypeReadVersion</code><a href="#section-11.2.8-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.5">id:</dt>
            <dd id="section-11.2.8-1.6">0x4285<a href="#section-11.2.8-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.7">minOccurs:</dt>
            <dd id="section-11.2.8-1.8">1<a href="#section-11.2.8-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.9">maxOccurs:</dt>
            <dd id="section-11.2.8-1.10">1<a href="#section-11.2.8-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.11">range:</dt>
            <dd id="section-11.2.8-1.12">not 0<a href="#section-11.2.8-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.13">default:</dt>
            <dd id="section-11.2.8-1.14">1<a href="#section-11.2.8-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.15">type:</dt>
            <dd id="section-11.2.8-1.16">Unsigned Integer<a href="#section-11.2.8-1.16" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.8-1.17">description:</dt>
            <dd id="section-11.2.8-1.18">The minimum DocType version an EBML Reader has to support to read this
EBML Document. The value of the DocTypeReadVersion Element <span class="bcp14">MUST</span>
be less than or equal to the value of the DocTypeVersion Element.<a href="#section-11.2.8-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctypeextension-element">
<section id="section-11.2.9">
          <h4 id="name-doctypeextension-element">
<a href="#section-11.2.9" class="section-number selfRef">11.2.9. </a><a href="#name-doctypeextension-element" class="section-name selfRef">DocTypeExtension Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.9-1">
            <dt id="section-11.2.9-1.1">name:</dt>
            <dd id="section-11.2.9-1.2">DocTypeExtension<a href="#section-11.2.9-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.9-1.3">path:</dt>
            <dd id="section-11.2.9-1.4">
              <code>\EBML\DocTypeExtension</code><a href="#section-11.2.9-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.9-1.5">id:</dt>
            <dd id="section-11.2.9-1.6">0x4281<a href="#section-11.2.9-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.9-1.7">minOccurs:</dt>
            <dd id="section-11.2.9-1.8">0<a href="#section-11.2.9-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.9-1.9">type:</dt>
            <dd id="section-11.2.9-1.10">Master Element<a href="#section-11.2.9-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.9-1.11">description:</dt>
            <dd id="section-11.2.9-1.12">A DocTypeExtension adds extra Elements to the main DocType+DocTypeVersion
tuple it's attached to. An EBML Reader <span class="bcp14">MAY</span> know these extra Elements and how
to use them. A DocTypeExtension <span class="bcp14">MAY</span> be used to iterate between
experimental Elements before they are integrated into a regular
DocTypeVersion. Reading one DocTypeExtension version of a
DocType+DocTypeVersion tuple doesn't imply one should be able to read upper
versions of this DocTypeExtension.<a href="#section-11.2.9-1.12" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctypeextensionname-element">
<section id="section-11.2.10">
          <h4 id="name-doctypeextensionname-elemen">
<a href="#section-11.2.10" class="section-number selfRef">11.2.10. </a><a href="#name-doctypeextensionname-elemen" class="section-name selfRef">DocTypeExtensionName Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.10-1">
            <dt id="section-11.2.10-1.1">name:</dt>
            <dd id="section-11.2.10-1.2">DocTypeExtensionName<a href="#section-11.2.10-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.3">path:</dt>
            <dd id="section-11.2.10-1.4">
              <code>\EBML\DocTypeExtension\DocTypeExtensionName</code><a href="#section-11.2.10-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.5">id:</dt>
            <dd id="section-11.2.10-1.6">0x4283<a href="#section-11.2.10-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.7">minOccurs:</dt>
            <dd id="section-11.2.10-1.8">1<a href="#section-11.2.10-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.9">maxOccurs:</dt>
            <dd id="section-11.2.10-1.10">1<a href="#section-11.2.10-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.11">length:</dt>
            <dd id="section-11.2.10-1.12">&gt;0<a href="#section-11.2.10-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.13">type:</dt>
            <dd id="section-11.2.10-1.14">String<a href="#section-11.2.10-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.10-1.15">description:</dt>
            <dd id="section-11.2.10-1.16">The name of the DocTypeExtension to differentiate it from other
DocTypeExtensions of the same DocType+DocTypeVersion tuple. A DocTypeExtensionName value
<span class="bcp14">MUST</span> be unique within the EBML Header.<a href="#section-11.2.10-1.16" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="doctypeextensionversion-element">
<section id="section-11.2.11">
          <h4 id="name-doctypeextensionversion-ele">
<a href="#section-11.2.11" class="section-number selfRef">11.2.11. </a><a href="#name-doctypeextensionversion-ele" class="section-name selfRef">DocTypeExtensionVersion Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.2.11-1">
            <dt id="section-11.2.11-1.1">name:</dt>
            <dd id="section-11.2.11-1.2">DocTypeExtensionVersion<a href="#section-11.2.11-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.3">path:</dt>
            <dd id="section-11.2.11-1.4">
              <code>\EBML\DocTypeExtension\DocTypeExtensionVersion</code><a href="#section-11.2.11-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.5">id:</dt>
            <dd id="section-11.2.11-1.6">0x4284<a href="#section-11.2.11-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.7">minOccurs:</dt>
            <dd id="section-11.2.11-1.8">1<a href="#section-11.2.11-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.9">maxOccurs:</dt>
            <dd id="section-11.2.11-1.10">1<a href="#section-11.2.11-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.11">range:</dt>
            <dd id="section-11.2.11-1.12">not 0<a href="#section-11.2.11-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.13">type:</dt>
            <dd id="section-11.2.11-1.14">Unsigned Integer<a href="#section-11.2.11-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.2.11-1.15">description:</dt>
            <dd id="section-11.2.11-1.16">The version of the DocTypeExtension. Different DocTypeExtensionVersion
values of the same DocType + DocTypeVersion + DocTypeExtensionName tuple
<span class="bcp14">MAY</span> contain completely different sets of extra Elements. An
EBML Reader <span class="bcp14">MAY</span> support multiple versions
of the same tuple, only one version of the tuple, or not support the tuple at all.<a href="#section-11.2.11-1.16" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
</section>
</div>
<div id="global-elements">
<section id="section-11.3">
        <h3 id="name-global-elements">
<a href="#section-11.3" class="section-number selfRef">11.3. </a><a href="#name-global-elements" class="section-name selfRef">Global Elements</a>
        </h3>
<p id="section-11.3-1">EBML allows some special Elements to be found within more than one parent
in an EBML Document or optionally at the Root Level of an EBML Body. These
Elements are called Global Elements. There are two Global Elements that can be
found in any EBML Document: the CRC-32 Element and the Void Element. An EBML
Schema <span class="bcp14">MAY</span> add other Global Elements to the format it
defines. These extra elements apply only to the EBML Body, not the EBML
Header.<a href="#section-11.3-1" class="pilcrow">¶</a></p>
<p id="section-11.3-2">Global Elements are EBML Elements whose EBMLLastParent part of the path has
a GlobalPlaceholder. Because it is the last Parent part of the path, a Global
Element might also have EBMLParentPath parts in its path. In this case, the
Global Element can only be found within this EBMLParentPath path -- i.e., it's
not fully "global".<a href="#section-11.3-2" class="pilcrow">¶</a></p>
<p id="section-11.3-3">A Global Element can be found in many Parent Elements, allowing the same number of occurrences in each Parent where this Element is found.<a href="#section-11.3-3" class="pilcrow">¶</a></p>
<div id="crc-32-element">
<section id="section-11.3.1">
          <h4 id="name-crc-32-element">
<a href="#section-11.3.1" class="section-number selfRef">11.3.1. </a><a href="#name-crc-32-element" class="section-name selfRef">CRC-32 Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.3.1-1">
            <dt id="section-11.3.1-1.1">name:</dt>
            <dd id="section-11.3.1-1.2">CRC-32<a href="#section-11.3.1-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.3">path:</dt>
            <dd id="section-11.3.1-1.4">
              <code>\(1-\)CRC-32</code><a href="#section-11.3.1-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.5">id:</dt>
            <dd id="section-11.3.1-1.6">0xBF<a href="#section-11.3.1-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.7">minOccurs:</dt>
            <dd id="section-11.3.1-1.8">0<a href="#section-11.3.1-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.9">maxOccurs:</dt>
            <dd id="section-11.3.1-1.10">1<a href="#section-11.3.1-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.11">length:</dt>
            <dd id="section-11.3.1-1.12">4<a href="#section-11.3.1-1.12" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.13">type:</dt>
            <dd id="section-11.3.1-1.14">Binary<a href="#section-11.3.1-1.14" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.1-1.15">description:</dt>
            <dd id="section-11.3.1-1.16">The CRC-32 Element contains a 32-bit Cyclic Redundancy Check value of all
the Element Data of the Parent Element as stored except for the CRC-32 Element
itself. When the CRC-32 Element is present, the CRC-32 Element
<span class="bcp14">MUST</span> be the first ordered EBML Element within its Parent
Element for easier reading. All Top-Level Elements of an EBML Document that
are Master Elements <span class="bcp14">SHOULD</span> include a CRC-32 Element as a Child
Element. The CRC in use is the IEEE-CRC-32 algorithm as used in the
<span>[<a href="#ISO3309" class="xref">ISO3309</a>]</span> standard and in Section 8.1.1.6.2 of
<span>[<a href="#ITU.V42" class="xref">ITU.V42</a>]</span>, with initial value of 0xFFFFFFFF. The CRC value
<span class="bcp14">MUST</span> be computed on a little-endian bytestream and
<span class="bcp14">MUST</span> use little-endian storage.<a href="#section-11.3.1-1.16" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="void-element">
<section id="section-11.3.2">
          <h4 id="name-void-element">
<a href="#section-11.3.2" class="section-number selfRef">11.3.2. </a><a href="#name-void-element" class="section-name selfRef">Void Element</a>
          </h4>
<span class="break"></span><dl class="dlParallel" id="section-11.3.2-1">
            <dt id="section-11.3.2-1.1">name:</dt>
            <dd id="section-11.3.2-1.2">Void<a href="#section-11.3.2-1.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.2-1.3">path:</dt>
            <dd id="section-11.3.2-1.4">
              <code>\(-\)Void</code><a href="#section-11.3.2-1.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.2-1.5">id:</dt>
            <dd id="section-11.3.2-1.6">0xEC<a href="#section-11.3.2-1.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.2-1.7">minOccurs:</dt>
            <dd id="section-11.3.2-1.8">0<a href="#section-11.3.2-1.8" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.2-1.9">type:</dt>
            <dd id="section-11.3.2-1.10">Binary<a href="#section-11.3.2-1.10" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-11.3.2-1.11">description:</dt>
            <dd id="section-11.3.2-1.12">Used to void data or to avoid unexpected behaviors when using damaged
data. The content is discarded. Also used to reserve space in a subelement for
later use.<a href="#section-11.3.2-1.12" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
</section>
</div>
</section>
</div>
<div id="considerations-for-reading-ebml-data">
<section id="section-12">
      <h2 id="name-considerations-for-reading-">
<a href="#section-12" class="section-number selfRef">12. </a><a href="#name-considerations-for-reading-" class="section-name selfRef">Considerations for Reading EBML Data</a>
      </h2>
<p id="section-12-1">The following scenarios describe events to consider when reading EBML
Documents, as well as the recommended design of an EBML Reader.<a href="#section-12-1" class="pilcrow">¶</a></p>
<p id="section-12-2">If a Master Element contains a CRC-32 Element that doesn't validate, then
the EBML Reader <span class="bcp14">MAY</span> ignore all contained data except for
Descendant Elements that contain their own valid CRC-32 Element.<a href="#section-12-2" class="pilcrow">¶</a></p>
<p id="section-12-3">In the following XML representation of a simple, hypothetical EBML
fragment, a Master Element called CONTACT contains two Child Elements, NAME
and ADDRESS. In this example, some data within the NAME Element had been
altered so that the CRC-32 of the NAME Element does not validate, and thus any
Ancestor Element with a CRC-32 would therefore also no longer
validate. However, even though the CONTACT Element has a CRC-32 that does not
validate (because of the changed data within the NAME Element), the CRC-32 of
the ADDRESS Element does validate, and thus the contents and semantics of the
ADDRESS Element <span class="bcp14">MAY</span> be used.<a href="#section-12-3" class="pilcrow">¶</a></p>
<div id="section-12-4">
<pre class="sourcecode lang-xml">&lt;CONTACT&gt;
    &lt;CRC-32&gt;c119a69b&lt;/CRC-32&gt;&lt;!-- does not validate --&gt;
    &lt;NAME&gt;
        &lt;CRC-32&gt;1f59ee2b&lt;/CRC-32&gt;&lt;!-- does not validate --&gt;
        &lt;FIRST-NAME&gt;invalid data&lt;/FIRST-NAME&gt;
        &lt;LAST-NAME&gt;invalid data&lt;/LAST-NAME&gt;
    &lt;/NAME&gt;
    &lt;ADDRESS&gt;
        &lt;CRC-32&gt;df941cc9&lt;/CRC-32&gt;&lt;!-- validates --&gt;
        &lt;STREET&gt;valid data&lt;/STREET&gt;
        &lt;CITY&gt;valid data&lt;/CITY&gt;
    &lt;/ADDRESS&gt;
&lt;/CONTACT&gt;
</pre><a href="#section-12-4" class="pilcrow">¶</a>
</div>
<p id="section-12-5">If a Master Element contains more occurrences of a Child Master Element
than permitted according to the <code>maxOccurs</code> and <code>recurring</code>
attributes of the
definition of that Element, then the occurrences in addition to <code>maxOccurs</code>
        <span class="bcp14">MAY</span> be ignored.<a href="#section-12-5" class="pilcrow">¶</a></p>
<p id="section-12-6">If a Master Element contains more occurrences of a Child Element than
permitted according to the <code>maxOccurs</code> attribute of the definition of that
Element, then all instances of that Element after the first <code>maxOccurs</code>
occurrences from the beginning of its Parent Element <span class="bcp14">SHOULD</span> be
ignored.<a href="#section-12-6" class="pilcrow">¶</a></p>
</section>
</div>
<div id="terminating-elements">
<section id="section-13">
      <h2 id="name-terminating-elements">
<a href="#section-13" class="section-number selfRef">13. </a><a href="#name-terminating-elements" class="section-name selfRef">Terminating Elements</a>
      </h2>
<p id="section-13-1">Null Octets, which are octets with all bits set to zero, <span class="bcp14">MAY</span> follow the value of a String Element or UTF-8 Element to serve as a terminator.
An EBML Writer <span class="bcp14">MAY</span> terminate a String Element or UTF-8 Element
with Null Octets in order to overwrite a stored value with a new value of
lesser length while maintaining the same Element Data Size; this can prevent
the need to rewrite large portions of an EBML Document. Otherwise, the use of
Null Octets within a String Element or UTF-8 Element is <span class="bcp14">NOT RECOMMENDED</span>.
The Element Data of a UTF-8 Element <span class="bcp14">MUST</span>
be a valid UTF-8 string up to whichever comes first: the end of the Element or
the first occurring Null octet. Within the Element Data of a String or UTF-8 Element,
any Null octet itself and any following data within that Element
<span class="bcp14">SHOULD</span> be ignored. A string value and a copy of that string
value terminated by one or more Null Octets are semantically equal.<a href="#section-13-1" class="pilcrow">¶</a></p>
<p id="section-13-2"><a href="#tableNullOctetSemantics" class="xref">Table 11</a> shows examples of semantics
and validation for the use of Null Octets. Values to represent Stored Values
and the Semantic Meaning as represented as hexadecimal values.<a href="#section-13-2" class="pilcrow">¶</a></p>
<span id="name-examples-of-semantics-for-n"></span><div id="tableNullOctetSemantics">
<table class="center" id="table-11">
        <caption>
<a href="#table-11" class="selfRef">Table 11</a>:
<a href="#name-examples-of-semantics-for-n" class="selfRef">Examples of semantics for Null
Octets in VINT_DATA</a>
        </caption>
<thead>
          <tr>
            <th class="text-left" rowspan="1" colspan="1">Stored Value</th>
            <th class="text-left" rowspan="1" colspan="1">Semantic Meaning</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62 0x6D 0x6C</td>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62 0x6D 0x6C</td>
          </tr>
          <tr>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62 0x00 0x6C</td>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62</td>
          </tr>
          <tr>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62 0x00 0x00</td>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62</td>
          </tr>
          <tr>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62</td>
            <td class="text-left" rowspan="1" colspan="1">0x65 0x62</td>
          </tr>
        </tbody>
      </table>
</div>
</section>
</div>
<div id="guidelines-for-updating-elements">
<section id="section-14">
      <h2 id="name-guidelines-for-updating-ele">
<a href="#section-14" class="section-number selfRef">14. </a><a href="#name-guidelines-for-updating-ele" class="section-name selfRef">Guidelines for Updating Elements</a>
      </h2>
<p id="section-14-1">An EBML Document can be updated without requiring that the entire EBML
Document be rewritten. These recommendations describe strategies for changing
the Element Data of a written EBML Element with minimal disruption to the rest
of the EBML Document.<a href="#section-14-1" class="pilcrow">¶</a></p>
<div id="reducing-element-data-in-size">
<section id="section-14.1">
        <h3 id="name-reducing-element-data-in-si">
<a href="#section-14.1" class="section-number selfRef">14.1. </a><a href="#name-reducing-element-data-in-si" class="section-name selfRef">Reducing Element Data in Size</a>
        </h3>
<p id="section-14.1-1">There are three methods to reduce the size of Element Data of a written EBML Element.<a href="#section-14.1-1" class="pilcrow">¶</a></p>
<div id="adding-a-void-element">
<section id="section-14.1.1">
          <h4 id="name-adding-a-void-element">
<a href="#section-14.1.1" class="section-number selfRef">14.1.1. </a><a href="#name-adding-a-void-element" class="section-name selfRef">Adding a Void Element</a>
          </h4>
<p id="section-14.1.1-1">When an EBML Element is changed to reduce its total length by more than one octet, an EBML Writer <span class="bcp14">SHOULD</span> fill the freed space with a Void Element.<a href="#section-14.1.1-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="extending-the-element-data-size">
<section id="section-14.1.2">
          <h4 id="name-extending-the-element-data-">
<a href="#section-14.1.2" class="section-number selfRef">14.1.2. </a><a href="#name-extending-the-element-data-" class="section-name selfRef">Extending the Element Data Size</a>
          </h4>
<p id="section-14.1.2-1">The same value for Element Data Size <span class="bcp14">MAY</span> be written in various lengths, so for minor reductions of the Element Data, the Element Size <span class="bcp14">MAY</span> be written to a longer octet length to fill the freed space.<a href="#section-14.1.2-1" class="pilcrow">¶</a></p>
<p id="section-14.1.2-2">For example, the first row of
<a href="#tableShortenVintOneOctet" class="xref">Table 12</a> depicts a String Element that stores
an Element ID (3 octets), Element Data Size (1 octet), and Element Data (4
octets). If the Element Data is changed to reduce the length by one octet, and
if the current length of the Element Data Size is less than its maximum
permitted length, then the Element Data Size of that Element
<span class="bcp14">MAY</span> be rewritten to increase its length by one octet. Thus,
before and after the change, the EBML Element maintains the same length of 8
octets, and data around the Element does not need to be moved.<a href="#section-14.1.2-2" class="pilcrow">¶</a></p>
<span id="name-example-of-editing-a-vint-t"></span><div id="tableShortenVintOneOctet">
<table class="center" id="table-12">
            <caption>
<a href="#table-12" class="selfRef">Table 12</a>:
<a href="#name-example-of-editing-a-vint-t" class="selfRef">Example of editing a VINT to
reduce VINT_DATA length by one octet</a>
            </caption>
<thead>
              <tr>
                <th class="text-left" rowspan="1" colspan="1">Status</th>
                <th class="text-left" rowspan="1" colspan="1">Element ID</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data Size</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">Before edit</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x84</td>
                <td class="text-left" rowspan="1" colspan="1">0x65626D6C</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">After edit</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x4003</td>
                <td class="text-left" rowspan="1" colspan="1">0x6D6B76</td>
              </tr>
            </tbody>
          </table>
</div>
<p id="section-14.1.2-4">This method is <span class="bcp14">RECOMMENDED</span> when the Element Data is
reduced by a single octet; for reductions by two or more octets, it is
<span class="bcp14">RECOMMENDED</span> to fill the freed space with a Void Element.<a href="#section-14.1.2-4" class="pilcrow">¶</a></p>
<p id="section-14.1.2-5">Note that if the Element Data length needs to be rewritten as shortened by
one octet and the Element Data Size could be rewritten as a shorter VINT, then
it is <span class="bcp14">RECOMMENDED</span> to rewrite the Element Data Size as one octet
shorter, shorten the Element Data by one octet, and follow that Element with a
Void Element. For example,
<a href="#tableShortenVintMoreThanOneOctet" class="xref">Table 13</a> depicts a String Element
that stores an Element ID (3 octets), Element Data Size (2 octets, but could
be rewritten in one octet), and Element Data (3 octets). If the Element Data
is to be rewritten to a two-octet length, then another octet can be taken from
Element Data Size so that there is enough space to add a two-octet Void
Element.<a href="#section-14.1.2-5" class="pilcrow">¶</a></p>
<span id="name-example-of-editing-a-vint-to"></span><div id="tableShortenVintMoreThanOneOctet">
<table class="center" id="table-13">
            <caption>
<a href="#table-13" class="selfRef">Table 13</a>:
<a href="#name-example-of-editing-a-vint-to" class="selfRef">Example of editing a
VINT to reduce VINT_DATA length by more than one octet</a>
            </caption>
<thead>
              <tr>
                <th class="text-left" rowspan="1" colspan="1">Status</th>
                <th class="text-left" rowspan="1" colspan="1">Element ID</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data Size</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data</th>
                <th class="text-left" rowspan="1" colspan="1">Void Element</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">Before</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x4003</td>
                <td class="text-left" rowspan="1" colspan="1">0x6D6B76</td>
                <td class="text-left" rowspan="1" colspan="1"></td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">After</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x82</td>
                <td class="text-left" rowspan="1" colspan="1">0x6869</td>
                <td class="text-left" rowspan="1" colspan="1">0xEC80</td>
              </tr>
            </tbody>
          </table>
</div>
</section>
</div>
<div id="terminating-element-data">
<section id="section-14.1.3">
          <h4 id="name-terminating-element-data">
<a href="#section-14.1.3" class="section-number selfRef">14.1.3. </a><a href="#name-terminating-element-data" class="section-name selfRef">Terminating Element Data</a>
          </h4>
<p id="section-14.1.3-1">For String Elements and UTF-8 Elements, the length of Element Data could be
reduced by adding Null Octets to terminate the Element Data (see
<a href="#terminating-elements" class="xref">Section 13</a>).<a href="#section-14.1.3-1" class="pilcrow">¶</a></p>
<p id="section-14.1.3-2">In <a href="#tableExampleNullPadding" class="xref">Table 14</a>, Element Data four octets
long is changed to a value three octets long, followed by a Null Octet; the
Element Data Size includes any Null Octets used to terminate Element Data and therefore
remains unchanged.<a href="#section-14.1.3-2" class="pilcrow">¶</a></p>
<span id="name-example-of-terminating-vint"></span><div id="tableExampleNullPadding">
<table class="center" id="table-14">
            <caption>
<a href="#table-14" class="selfRef">Table 14</a>:
<a href="#name-example-of-terminating-vint" class="selfRef">Example of terminating VINT_DATA
with a Null Octet when reducing VINT length during an edit</a>
            </caption>
<thead>
              <tr>
                <th class="text-left" rowspan="1" colspan="1">Status</th>
                <th class="text-left" rowspan="1" colspan="1">Element ID</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data Size</th>
                <th class="text-left" rowspan="1" colspan="1">Element Data</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">Before edit</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x84</td>
                <td class="text-left" rowspan="1" colspan="1">0x65626D6C</td>
              </tr>
              <tr>
                <td class="text-left" rowspan="1" colspan="1">After edit</td>
                <td class="text-left" rowspan="1" colspan="1">0x3B4040</td>
                <td class="text-left" rowspan="1" colspan="1">0x84</td>
                <td class="text-left" rowspan="1" colspan="1">0x6D6B7600</td>
              </tr>
            </tbody>
          </table>
</div>
<p id="section-14.1.3-4">Note that this method is <span class="bcp14">NOT RECOMMENDED</span>. For
reductions of one octet, the method for Extending the Element Data Size
<span class="bcp14">SHOULD</span> be used. For reduction by more than one octet, the
method for Adding a Void Element <span class="bcp14">SHOULD</span> be used.<a href="#section-14.1.3-4" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="considerations-when-updating-elements-with-cyclic-redundancy-check-crc">
<section id="section-14.2">
        <h3 id="name-considerations-when-updatin">
<a href="#section-14.2" class="section-number selfRef">14.2. </a><a href="#name-considerations-when-updatin" class="section-name selfRef">Considerations when Updating Elements with Cyclic Redundancy Check (CRC)</a>
        </h3>
<p id="section-14.2-1">If the Element to be changed is a Descendant Element of any Master Element
that contains a CRC-32 Element (see <a href="#crc-32-element" class="xref">Section 11.3.1</a>),
then the CRC-32 Element <span class="bcp14">MUST</span> be verified before permitting the
change. Additionally, the CRC-32 Element value <span class="bcp14">MUST</span> be
subsequently updated to reflect the changed data.<a href="#section-14.2-1" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="backward-and-forward-compatibility">
<section id="section-15">
      <h2 id="name-backward-and-forward-compat">
<a href="#section-15" class="section-number selfRef">15. </a><a href="#name-backward-and-forward-compat" class="section-name selfRef">Backward and Forward Compatibility</a>
      </h2>
<p id="section-15-1">Elements of an EBML format <span class="bcp14">SHOULD</span> be designed with backward and forward compatibility in mind.<a href="#section-15-1" class="pilcrow">¶</a></p>
<div id="backward-compatibility">
<section id="section-15.1">
        <h3 id="name-backward-compatibility">
<a href="#section-15.1" class="section-number selfRef">15.1. </a><a href="#name-backward-compatibility" class="section-name selfRef">Backward Compatibility</a>
        </h3>
<p id="section-15.1-1">Backward compatibility of new EBML Elements can be achieved by using default values for mandatory elements. The default value <span class="bcp14">MUST</span> represent the state that was assumed for previous versions of the EBML Schema, without this new EBML Element. If such a state doesn't make sense for previous versions, then the new EBML Element <span class="bcp14">SHOULD NOT</span> be mandatory.<a href="#section-15.1-1" class="pilcrow">¶</a></p>
<p id="section-15.1-2">Non-mandatory EBML Elements can be added in a new EBMLDocTypeVersion. Since
they are not mandatory, they won't be found in older versions of the
EBMLDocTypeVersion, just as they might not be found in newer versions. This
causes no compatibility issue.<a href="#section-15.1-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="forward-compatibility">
<section id="section-15.2">
        <h3 id="name-forward-compatibility">
<a href="#section-15.2" class="section-number selfRef">15.2. </a><a href="#name-forward-compatibility" class="section-name selfRef">Forward Compatibility</a>
        </h3>
<p id="section-15.2-1">EBML Elements <span class="bcp14">MAY</span> be marked as deprecated in a new
EBMLDocTypeVersion using the <code>maxver</code> attribute of the EBML Schema. If such an
Element is found in an EBML Document with a newer version of the
EBMLDocTypeVersion, it <span class="bcp14">SHOULD</span> be discarded.<a href="#section-15.2-1" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="security-considerations">
<section id="section-16">
      <h2 id="name-security-considerations">
<a href="#section-16" class="section-number selfRef">16. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
      </h2>
<p id="section-16-1">EBML itself does not offer any kind of security and does not provide confidentiality. EBML does not provide any kind of authorization. EBML only offers marginally useful and effective data integrity options, such as CRC elements.<a href="#section-16-1" class="pilcrow">¶</a></p>
<p id="section-16-2">Even if the semantic layer offers any kind of encryption, EBML itself could
leak information at both the semantic layer (as declared via the DocType
Element) and within the EBML structure (the presence of EBML Elements can be
derived even with an unknown semantic layer using a heuristic approach -- not
without errors, of course, but with a certain degree of confidence).<a href="#section-16-2" class="pilcrow">¶</a></p>
<p id="section-16-3">An EBML Document that has the following issues may still be handled by the
EBML Reader and the data accepted as such, depending on how strict the EBML
Reader wants to be:<a href="#section-16-3" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-16-4.1">
          <p id="section-16-4.1.1">Invalid Element IDs that are longer than the limit stated in the EBMLMaxIDLength Element of the EBML Header.<a href="#section-16-4.1.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-4.2">
          <p id="section-16-4.2.1">Invalid Element IDs that are not encoded in the shortest-possible way.<a href="#section-16-4.2.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-4.3">
          <p id="section-16-4.3.1">Invalid Element Data Size values that are longer than the limit stated in the EBMLMaxSizeLength Element of the EBML Header.<a href="#section-16-4.3.1" class="pilcrow">¶</a></p>
</li>
      </ul>
<p id="section-16-5">Element IDs that are unknown to the EBML Reader <span class="bcp14">MAY</span> be
accepted as valid EBML IDs in order to skip such elements.<a href="#section-16-5" class="pilcrow">¶</a></p>
<p id="section-16-6">EBML Elements with a string type may contain extra data after the first
0x00. These data <span class="bcp14">MUST</span> be discarded according to the
<a href="#terminating-elements" class="xref">Section 13</a> rules.<a href="#section-16-6" class="pilcrow">¶</a></p>
<p id="section-16-7">An EBML Reader may discard some or all data if the following errors are found in the EBML Document:<a href="#section-16-7" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-16-8.1">
          <p id="section-16-8.1.1">Invalid Element Data Size values (e.g., extending the length of the EBML Element beyond the scope of the Parent Element, possibly triggering access-out-of-bounds issues).<a href="#section-16-8.1.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-8.2">
          <p id="section-16-8.2.1">Very high lengths in order to force out-of-memory situations resulting in a denial of service, access-out-of-bounds issues, etc.<a href="#section-16-8.2.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-8.3">
          <p id="section-16-8.3.1">Missing EBML Elements that are mandatory in a Master Element and have no declared default value, making the semantic invalid at that Master Element level.<a href="#section-16-8.3.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-8.4">
          <p id="section-16-8.4.1">Usage of invalid UTF-8 encoding in EBML Elements of UTF-8 type (e.g., in order to trigger access-out-of-bounds or buffer-overflow issues).<a href="#section-16-8.4.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-8.5">
          <p id="section-16-8.5.1">Usage of invalid data in EBML Elements with a date type, triggering bogus date accesses.<a href="#section-16-8.5.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-8.6">
          <p id="section-16-8.6.1">The CRC-32 Element (see <a href="#crc-32-element" class="xref">Section 11.3.1</a>) of a Master Element doesn't match the rest of the content of that Master Element.<a href="#section-16-8.6.1" class="pilcrow">¶</a></p>
</li>
      </ul>
<p id="section-16-9">Side-channel attacks could exploit:<a href="#section-16-9" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-16-10.1">
          <p id="section-16-10.1.1">The semantic equivalence of the same string stored in a String Element or UTF-8 Element with and without zero-bit padding, making comparison at the semantic level invalid.<a href="#section-16-10.1.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-10.2">
          <p id="section-16-10.2.1">The semantic equivalence of VINT_DATA within Element Data Size with two different lengths due to left-padding zero bits, making comparison at the semantic level invalid.<a href="#section-16-10.2.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-10.3">
          <p id="section-16-10.3.1">Data contained within a Master Element that is not itself part of a Child Element, which can trigger incorrect parsing behavior in EBML Readers.<a href="#section-16-10.3.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-10.4">
          <p id="section-16-10.4.1">Extraneous copies of Identically Recurring Element, making parsing unnecessarily slow to the point of not being usable.<a href="#section-16-10.4.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-10.5">
          <p id="section-16-10.5.1">Copies of Identically Recurring Element within a Parent Element that contain invalid CRC-32 Elements. EBML Readers not checking the CRC-32 might use the version of the element with mismatching CRC-32s.<a href="#section-16-10.5.1" class="pilcrow">¶</a></p>
</li>
        <li class="normal" id="section-16-10.6">
          <p id="section-16-10.6.1">Use of Void Elements that could be used to hide content or create bogus resynchronization points seen by some EBML Readers and not others.<a href="#section-16-10.6.1" class="pilcrow">¶</a></p>
</li>
      </ul>
</section>
</div>
<div id="iana-considerations">
<section id="section-17">
      <h2 id="name-iana-considerations">
<a href="#section-17" class="section-number selfRef">17. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
      </h2>
<div id="ebml-element-ids-registry">
<section id="section-17.1">
        <h3 id="name-ebml-element-ids-registry">
<a href="#section-17.1" class="section-number selfRef">17.1. </a><a href="#name-ebml-element-ids-registry" class="section-name selfRef">EBML Element IDs Registry</a>
        </h3>
<p id="section-17.1-1">This document creates a new IANA registry called the
"EBML Element IDs" registry.<a href="#section-17.1-1" class="pilcrow">¶</a></p>
<p id="section-17.1-2">Element IDs are described in <a href="#element-id" class="xref">Section 5</a>. Element
IDs are encoded using the VINT mechanism described in
<a href="#variable-size-integer" class="xref">Section 4</a> and can be between one and five
octets long. Five-octet-long Element IDs are possible only if declared
in the header.<a href="#section-17.1-2" class="pilcrow">¶</a></p>
<p id="section-17.1-3">This IANA registry only applies to Elements that can be contained
in the EBML Header, thus including Global Elements. Elements only
found in the EBML Body have their own set of independent Element IDs
and are not part of this IANA registry.<a href="#section-17.1-3" class="pilcrow">¶</a></p>
<p id="section-17.1-4">One-octet Element IDs <span class="bcp14">MUST</span> be between 0x81 and
0xFE. These items are valuable because they are short, and they need
to be used for commonly repeated elements. Element IDs are to be
allocated within this range according to the "RFC Required"
policy <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-17.1-4" class="pilcrow">¶</a></p>
<p id="section-17.1-5">The following one-octet Element IDs are RESERVED: 0xFF and
0x80.<a href="#section-17.1-5" class="pilcrow">¶</a></p>
<p id="section-17.1-6">Values in the one-octet range of 0x00 to 0x7F are not valid for use
as an Element ID.<a href="#section-17.1-6" class="pilcrow">¶</a></p>
<p id="section-17.1-7">Two-octet Element IDs <span class="bcp14">MUST</span> be between 0x407F and
0x7FFE. Element IDs are to be allocated within this range according to
the "Specification Required" policy
<span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-17.1-7" class="pilcrow">¶</a></p>
<p id="section-17.1-8">The following two-octet Element IDs are RESERVED: 0x7FFF and
0x4000.<a href="#section-17.1-8" class="pilcrow">¶</a></p>
<p id="section-17.1-9">Values in the two-octet ranges of 0x0000 to 0x3FFF and 0x8000 to 0xFFFF are
not valid for use as an Element ID.<a href="#section-17.1-9" class="pilcrow">¶</a></p>
<p id="section-17.1-10">Three-octet Element IDs <span class="bcp14">MUST</span> be between 0x203FFF and 0x3FFFFE. Element IDs are to be allocated within this range according to the "First Come First Served" policy <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-17.1-10" class="pilcrow">¶</a></p>
<p id="section-17.1-11">The following three-octet Element IDs are RESERVED: 0x3FFFFF and
0x200000.<a href="#section-17.1-11" class="pilcrow">¶</a></p>
<p id="section-17.1-12">Values in the three-octet ranges of 0x000000 to 0x1FFFFF and
0x400000 to 0xFFFFFF are not valid for use as an Element ID.<a href="#section-17.1-12" class="pilcrow">¶</a></p>
<p id="section-17.1-13">Four-octet Element IDs <span class="bcp14">MUST</span> be between 0x101FFFFF
and 0x1FFFFFFE. Four-octet Element IDs are somewhat special in that
they are useful for resynchronizing to major structures in the event
of data corruption or loss. As such, four-octet Element IDs are split
into two categories. Four-octet Element IDs whose lower three octets
(as encoded) would make printable 7-bit ASCII values (0x20 to 0x7E,
inclusive) <span class="bcp14">MUST</span> be allocated by the "Specification
Required" policy. Sequential allocation of values is not
required: specifications <span class="bcp14">SHOULD</span> include a specific
request and are encouraged to do early allocations.<a href="#section-17.1-13" class="pilcrow">¶</a></p>
<p id="section-17.1-14">To be clear about the above category: four-octet Element IDs always start
with hex 0x10 to 0x1F, and that octet may be chosen so that the entire VINT
has some desirable property, such as a specific CRC. The other three octets,
when ALL having values between 0x20 (32, ASCII Space) and 0x7E (126, ASCII
"~"), fall into this category.<a href="#section-17.1-14" class="pilcrow">¶</a></p>
<p id="section-17.1-15">Other four-octet Element IDs may be allocated by the "First Come First Served" policy.<a href="#section-17.1-15" class="pilcrow">¶</a></p>
<p id="section-17.1-16">The following four-octet Element IDs are RESERVED:  0x1FFFFFFF and 0x10000000.<a href="#section-17.1-16" class="pilcrow">¶</a></p>
<p id="section-17.1-17">Values in the four-octet ranges of 0x00000000 to 0x0FFFFFFF and 0x20000000
to 0xFFFFFFFF are not valid for use as an Element ID.<a href="#section-17.1-17" class="pilcrow">¶</a></p>
<p id="section-17.1-18">Five-octet Element IDs (values from 0x080FFFFFFF to 0x0FFFFFFFFE) are RESERVED according to the "Experimental Use" policy <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>: they may be used by anyone at any time, but there is no coordination.<a href="#section-17.1-18" class="pilcrow">¶</a></p>
<p id="section-17.1-19">ID Values found in this document are assigned as initial values as follows:<a href="#section-17.1-19" class="pilcrow">¶</a></p>
<span id="name-ids-and-names-for-ebml-elem"></span><table class="center" id="table-15">
          <caption>
<a href="#table-15" class="selfRef">Table 15</a>:
<a href="#name-ids-and-names-for-ebml-elem" class="selfRef">IDs and Names for EBML Elements assigned by this document</a>
          </caption>
<thead>
            <tr>
              <th class="text-right" rowspan="1" colspan="1">Element ID</th>
              <th class="text-left" rowspan="1" colspan="1">Element Name</th>
              <th class="text-left" rowspan="1" colspan="1">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x1A45DFA3</td>
              <td class="text-left" rowspan="1" colspan="1">EBML</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#ebml-element" class="xref">Section 11.2.1</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4286</td>
              <td class="text-left" rowspan="1" colspan="1">EBMLVersion</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#ebmlversion-element" class="xref">Section 11.2.2</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x42F7</td>
              <td class="text-left" rowspan="1" colspan="1">EBMLReadVersion</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#ebmlreadversion-element" class="xref">Section 11.2.3</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x42F2</td>
              <td class="text-left" rowspan="1" colspan="1">EBMLMaxIDLength</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#ebmlmaxidlength-element" class="xref">Section 11.2.4</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x42F3</td>
              <td class="text-left" rowspan="1" colspan="1">EBMLMaxSizeLength</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#ebmlmaxsizelength-element" class="xref">Section 11.2.5</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4282</td>
              <td class="text-left" rowspan="1" colspan="1">DocType</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctype-element" class="xref">Section 11.2.6</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4287</td>
              <td class="text-left" rowspan="1" colspan="1">DocTypeVersion</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctypeversion-element" class="xref">Section 11.2.7</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4285</td>
              <td class="text-left" rowspan="1" colspan="1">DocTypeReadVersion</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctypereadversion-element" class="xref">Section 11.2.8</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4281</td>
              <td class="text-left" rowspan="1" colspan="1">DocTypeExtension</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctypeextension-element" class="xref">Section 11.2.9</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4283</td>
              <td class="text-left" rowspan="1" colspan="1">DocTypeExtensionName</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctypeextensionname-element" class="xref">Section 11.2.10</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0x4284</td>
              <td class="text-left" rowspan="1" colspan="1">DocTypeExtensionVersion</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#doctypeextensionversion-element" class="xref">Section 11.2.11</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0xBF</td>
              <td class="text-left" rowspan="1" colspan="1">CRC-32</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#crc-32-element" class="xref">Section 11.3.1</a>
</td>
            </tr>
            <tr>
              <td class="text-right" rowspan="1" colspan="1">0xEC</td>
              <td class="text-left" rowspan="1" colspan="1">Void</td>
              <td class="text-left" rowspan="1" colspan="1">Described in <a href="#void-element" class="xref">Section 11.3.2</a>
</td>
            </tr>
          </tbody>
        </table>
</section>
</div>
<div id="ebml-doctypes-registry">
<section id="section-17.2">
        <h3 id="name-ebml-doctypes-registry">
<a href="#section-17.2" class="section-number selfRef">17.2. </a><a href="#name-ebml-doctypes-registry" class="section-name selfRef">EBML DocTypes Registry</a>
        </h3>
<p id="section-17.2-1">This document creates a new IANA registry called the "EBML DocTypes" registry.<a href="#section-17.2-1" class="pilcrow">¶</a></p>
<p id="section-17.2-2">To register a new DocType in this registry, one needs a DocType name, a Description of the DocType, a Change Controller (IESG or email of registrant), and an optional Reference to a document describing the DocType.<a href="#section-17.2-2" class="pilcrow">¶</a></p>
<p id="section-17.2-3">DocType values are described in <a href="#doctype" class="xref">Section 11.1.4.1</a>. DocTypes
are ASCII strings, defined in <a href="#string-element" class="xref">Section 7.4</a>, which
label the official name of the EBML Document Type. The strings may be
allocated according to the "First Come First Served" policy.<a href="#section-17.2-3" class="pilcrow">¶</a></p>
<p id="section-17.2-4">The use of ASCII corresponds to the types and code already in use; the
value is not meant to be visible to the user.<a href="#section-17.2-4" class="pilcrow">¶</a></p>
<p id="section-17.2-5">DocType string values of "matroska" and "webm" are RESERVED to the IETF for future use.
These can be assigned via the "IESG Approval" or "RFC Required" policies <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-17.2-5" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<section id="section-18">
      <h2 id="name-normative-references">
<a href="#section-18" class="section-number selfRef">18. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
      </h2>
<dl class="references">
<dt id="IEEE.754">[IEEE.754]</dt>
      <dd>
<span class="refAuthor">IEEE</span>, <span class="refTitle">"IEEE Standard for Binary Floating-Point Arithmetic"</span>, <time datetime="2019-06-13" class="refDate">13 June 2019</time>, <span>&lt;<a href="https://standards.ieee.org/standard/754-2019.html">https://standards.ieee.org/standard/754-2019.html</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="ISO3309">[ISO3309]</dt>
      <dd>
<span class="refAuthor">International Organization for Standardization</span>, <span class="refTitle">"Data communication -- High-level data link control procedures -- Frame structure"</span>, <span class="seriesInfo">ISO 3309, 3rd Edition</span>, <time datetime="1984-10" class="refDate">October 1984</time>, <span>&lt;<a href="https://www.iso.org/standard/8558.html">https://www.iso.org/standard/8558.html</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="ISO9899">[ISO9899]</dt>
      <dd>
<span class="refAuthor">International Organization for Standardization</span>, <span class="refTitle">"Information technology -- Programming languages -- C"</span>, <span class="seriesInfo">ISO/IEC 9899:2011</span>, <time datetime="2011" class="refDate">2011</time>, <span>&lt;<a href="https://www.iso.org/standard/57853.html">https://www.iso.org/standard/57853.html</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="ITU.V42">[ITU.V42]</dt>
      <dd>
<span class="refAuthor">International Telecommunications Union</span>, <span class="refTitle">"Error-correcting procedures for DCEs using asynchronous-to-synchronous conversion"</span>, <span class="seriesInfo">ITU-T Recommendation V.42</span>, <time datetime="2002-03" class="refDate">March 2002</time>, <span>&lt;<a href="https://www.itu.int/rec/T-REC-V.42">https://www.itu.int/rec/T-REC-V.42</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC0020">[RFC0020]</dt>
      <dd>
<span class="refAuthor">Cerf, V.</span>, <span class="refTitle">"ASCII format for network interchange"</span>, <span class="seriesInfo">STD 80</span>, <span class="seriesInfo">RFC 20</span>, <span class="seriesInfo">DOI 10.17487/RFC0020</span>, <time datetime="1969-10" class="refDate">October 1969</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc20">https://www.rfc-editor.org/info/rfc20</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC2119">[RFC2119]</dt>
      <dd>
<span class="refAuthor">Bradner, S.</span>, <span class="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 2119</span>, <span class="seriesInfo">DOI 10.17487/RFC2119</span>, <time datetime="1997-03" class="refDate">March 1997</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC2648">[RFC2648]</dt>
      <dd>
<span class="refAuthor">Moats, R.</span>, <span class="refTitle">"A URN Namespace for IETF Documents"</span>, <span class="seriesInfo">RFC 2648</span>, <span class="seriesInfo">DOI 10.17487/RFC2648</span>, <time datetime="1999-08" class="refDate">August 1999</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc2648">https://www.rfc-editor.org/info/rfc2648</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC3339">[RFC3339]</dt>
      <dd>
<span class="refAuthor">Klyne, G.</span><span class="refAuthor"> and C. Newman</span>, <span class="refTitle">"Date and Time on the Internet: Timestamps"</span>, <span class="seriesInfo">RFC 3339</span>, <span class="seriesInfo">DOI 10.17487/RFC3339</span>, <time datetime="2002-07" class="refDate">July 2002</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3339">https://www.rfc-editor.org/info/rfc3339</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC3629">[RFC3629]</dt>
      <dd>
<span class="refAuthor">Yergeau, F.</span>, <span class="refTitle">"UTF-8, a transformation format of ISO 10646"</span>, <span class="seriesInfo">STD 63</span>, <span class="seriesInfo">RFC 3629</span>, <span class="seriesInfo">DOI 10.17487/RFC3629</span>, <time datetime="2003-11" class="refDate">November 2003</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3629">https://www.rfc-editor.org/info/rfc3629</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC3688">[RFC3688]</dt>
      <dd>
<span class="refAuthor">Mealling, M.</span>, <span class="refTitle">"The IETF XML Registry"</span>, <span class="seriesInfo">BCP 81</span>, <span class="seriesInfo">RFC 3688</span>, <span class="seriesInfo">DOI 10.17487/RFC3688</span>, <time datetime="2004-01" class="refDate">January 2004</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3688">https://www.rfc-editor.org/info/rfc3688</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5234">[RFC5234]</dt>
      <dd>
<span class="refAuthor">Crocker, D., Ed.</span><span class="refAuthor"> and P. Overell</span>, <span class="refTitle">"Augmented BNF for Syntax Specifications: ABNF"</span>, <span class="seriesInfo">STD 68</span>, <span class="seriesInfo">RFC 5234</span>, <span class="seriesInfo">DOI 10.17487/RFC5234</span>, <time datetime="2008-01" class="refDate">January 2008</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5234">https://www.rfc-editor.org/info/rfc5234</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5646">[RFC5646]</dt>
      <dd>
<span class="refAuthor">Phillips, A., Ed.</span><span class="refAuthor"> and M. Davis, Ed.</span>, <span class="refTitle">"Tags for Identifying Languages"</span>, <span class="seriesInfo">BCP 47</span>, <span class="seriesInfo">RFC 5646</span>, <span class="seriesInfo">DOI 10.17487/RFC5646</span>, <time datetime="2009-09" class="refDate">September 2009</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5646">https://www.rfc-editor.org/info/rfc5646</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC7405">[RFC7405]</dt>
      <dd>
<span class="refAuthor">Kyzivat, P.</span>, <span class="refTitle">"Case-Sensitive String Support in ABNF"</span>, <span class="seriesInfo">RFC 7405</span>, <span class="seriesInfo">DOI 10.17487/RFC7405</span>, <time datetime="2014-12" class="refDate">December 2014</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc7405">https://www.rfc-editor.org/info/rfc7405</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8126">[RFC8126]</dt>
      <dd>
<span class="refAuthor">Cotton, M.</span><span class="refAuthor">, Leiba, B.</span><span class="refAuthor">, and T. Narten</span>, <span class="refTitle">"Guidelines for Writing an IANA Considerations Section in RFCs"</span>, <span class="seriesInfo">BCP 26</span>, <span class="seriesInfo">RFC 8126</span>, <span class="seriesInfo">DOI 10.17487/RFC8126</span>, <time datetime="2017-06" class="refDate">June 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8126">https://www.rfc-editor.org/info/rfc8126</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8141">[RFC8141]</dt>
      <dd>
<span class="refAuthor">Saint-Andre, P.</span><span class="refAuthor"> and J. Klensin</span>, <span class="refTitle">"Uniform Resource Names (URNs)"</span>, <span class="seriesInfo">RFC 8141</span>, <span class="seriesInfo">DOI 10.17487/RFC8141</span>, <time datetime="2017-04" class="refDate">April 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8141">https://www.rfc-editor.org/info/rfc8141</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8174">[RFC8174]</dt>
      <dd>
<span class="refAuthor">Leiba, B.</span>, <span class="refTitle">"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 8174</span>, <span class="seriesInfo">DOI 10.17487/RFC8174</span>, <time datetime="2017-05" class="refDate">May 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="XHTML">[XHTML]</dt>
      <dd>
<span class="refAuthor">McCarron, S.</span>, <span class="refTitle">"XHTML(tm) Basic 1.1 -- Second Edition"</span>, <span class="seriesInfo">Latest version available at https://www.w3.org/TR/xhtml-basic</span>, <time datetime="2018-03-27" class="refDate">27 March 2018</time>, <span>&lt;<a href="https://www.w3.org/TR/2018/SPSD-xhtml-basic-20180327/">https://www.w3.org/TR/2018/SPSD-xhtml-basic-20180327/</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="XML">[XML]</dt>
      <dd>
<span class="refAuthor">Bray, T., Ed.</span><span class="refAuthor">, Paoli, J., Ed.</span><span class="refAuthor">, Sperberg-McQueen, C.M., Ed.</span><span class="refAuthor">, Maler, E., Ed.</span><span class="refAuthor">, and F. Yergeau, Ed.</span>, <span class="refTitle">"Extensible Markup Language (XML) 1.0 (Fifth Edition)"</span>, <span class="seriesInfo">Latest version available at https://www.w3.org/TR/xml/</span>, <time datetime="2008-11-26" class="refDate">26 November 2008</time>, <span>&lt;<a href="https://www.w3.org/TR/2008/REC-xml-20081126/">https://www.w3.org/TR/2008/REC-xml-20081126/</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="XML-SCHEMA">[XML-SCHEMA]</dt>
    <dd>
<span class="refAuthor">Fallside, D.C.</span><span class="refAuthor"> and P. Walmsley</span>, <span class="refTitle">"XML Schema Part 0: Primer Second Edition"</span>, <span class="seriesInfo">Latest version available at http://www.w3.org/TR/xmlschema-0/</span>, <time datetime="2004-10-28" class="refDate">28 October 2004</time>, <span>&lt;<a href="https://www.w3.org/TR/2004/REC-xmlschema-0-20041028/">https://www.w3.org/TR/2004/REC-xmlschema-0-20041028/</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-19">
      <h2 id="name-informative-references">
<a href="#section-19" class="section-number selfRef">19. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
      </h2>
<dl class="references">
<dt id="I-D.ietf-cellar-matroska">[Matroska]</dt>
      <dd>
<span class="refAuthor">Lhomme, S.</span><span class="refAuthor">, Bunkus, M.</span><span class="refAuthor">, and D. Rice</span>, <span class="refTitle">"Matroska Media Container Format Specifications"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-ietf-cellar-matroska-05</span>, <time datetime="2020-04-17" class="refDate">17 April 2020</time>, <span>&lt;<a href="https://tools.ietf.org/html/draft-ietf-cellar-matroska-05">https://tools.ietf.org/html/draft-ietf-cellar-matroska-05</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="WebM">[WebM]</dt>
      <dd>
<span class="refAuthor">The WebM Project</span>, <span class="refTitle">"WebM Container Guidelines"</span>, <time datetime="2017-11-28" class="refDate">28 November 2017</time>, <span>&lt;<a href="https://www.webmproject.org/docs/container/">https://www.webmproject.org/docs/container/</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="XPath">[XPath]</dt>
    <dd>
<span class="refAuthor">Clark, J., Ed.</span><span class="refAuthor"> and S. DeRose</span>, <span class="refTitle">"XML Path Language (XPath) Version 1.0"</span>, <span class="seriesInfo">Latest version available at https://www.w3.org/TR/xpath</span>, <time datetime="1999-11-16" class="refDate">16 November 1999</time>, <span>&lt;<a href="https://www.w3.org/TR/1999/REC-xpath-19991116">https://www.w3.org/TR/1999/REC-xpath-19991116</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<div id="authors-addresses">
<section id="section-appendix.a">
      <h2 id="name-authors-addresses">
<a href="#name-authors-addresses" class="section-name selfRef">Authors' Addresses</a>
      </h2>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Steve Lhomme</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:slhomme@matroska.org" class="email">slhomme@matroska.org</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Dave Rice</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:dave@dericed.com" class="email">dave@dericed.com</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Moritz Bunkus</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:moritz@bunkus.org" class="email">moritz@bunkus.org</a>
</div>
</address>
</section>
</div>
<script>const toc = document.getElementById("toc");
toc.querySelector("h2").addEventListener("click", e => {
  toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
  toc.classList.remove("active");
});
</script>
</body>
</html>