schema: interleave domain name and uuid with other elements

Allow <name> and <uuid> anywhere under <domain>, not just at the top:

error:XML document failed to validate against schema: Unable to validate
doc against /usr/share/libvirt/schemas/domain.rng
Expecting an element name, got nothing
Invalid sequence in interleave
Element domain failed to validate content

Introduced with the first RelaxNG schema in commit c642103.

https://bugzilla.redhat.com/show_bug.cgi?id=1292131
This commit is contained in:
Ján Tomko 2015-12-17 13:43:58 +01:00
parent 7d65a355fa
commit b4e0549feb

View File

@ -30,8 +30,8 @@
<define name="domain">
<element name="domain">
<ref name="hvs"/>
<ref name="ids"/>
<interleave>
<ref name="ids"/>
<optional>
<ref name="title"/>
</optional>