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
When schema expects a single child from a range of options, validated element with no children throws error saying that "one or more" children are acceptable.
For example this schema expects test element to have either inner1 or inner2 child:
element test { (element inner1 { text } | element inner2 { text }) }
When element test is created with no child inside, following message is used:
Element test is missing a required instance of one or more of the following child elements: inner1, inner2.
More appropriate message would be:
Element test is missing a required instance of one of the following child elements: inner1, inner2.
The text was updated successfully, but these errors were encountered:
When schema expects a single child from a range of options, validated element with no children throws error saying that "one or more" children are acceptable.
For example this schema expects
test
element to have eitherinner1
orinner2
child:When element test is created with no child inside, following message is used:
More appropriate message would be:
The text was updated successfully, but these errors were encountered: