ebu / ebu-tt-live-toolkit

Toolkit for supporting the EBU-TT Live specification
http://ebu.github.io/ebu-tt-live-toolkit/
BSD 3-Clause "New" or "Revised" License
25 stars 10 forks source link

layout element is wrongly allowed to be empty #524

Open nigelmegitt opened 4 years ago

nigelmegitt commented 4 years ago

Tech3350 v1.2 specifies that there must be at least 1 region element in a layout element, and in Part 1, that the layout element must be present. Tech3370 relaxes the constraint that layout must be present, but not the constraint that if a layout element exists it must have at least 1 region child. Currently the XSD and code wrongly allows empty layout elements.