You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Updates the XSD to match the spec, which requires that if a `layout` element is present, it must have at least one `region` child. In Part 3 the `layout` element itself is optional, but in Part 1 it is required.
Also update the test XML templates to be valid: many of them had invalid empty `layout` elements.
Fix the Segmenter so that if a `layout` element has no `region` children, the `layout` element itself is removed.
Closes#524.
Tech3350 v1.2 specifies that there must be at least 1
region
element in alayout
element, and in Part 1, that thelayout
element must be present. Tech3370 relaxes the constraint thatlayout
must be present, but not the constraint that if alayout
element exists it must have at least 1region
child. Currently the XSD and code wrongly allows emptylayout
elements.The text was updated successfully, but these errors were encountered: