-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layout element is wrongly allowed to be empty #524
Labels
Comments
nigelmegitt
added a commit
that referenced
this issue
Nov 15, 2019
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: