]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: Allow interleaving the /domain/os/type element
authorPeter Krempa <pkrempa@redhat.com>
Wed, 25 Feb 2015 10:19:15 +0000 (11:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Feb 2015 16:04:09 +0000 (17:04 +0100)
The element wasn't declared under the interleave thus it was required
always to be first. This made it inconvenient when pasting new stuff to
the XML manually in the "wrong" place.

docs/schemas/domaincommon.rng

index 6e73e7c13430502ca1f0690595004bac784ac3c7..4e4fe9fc8e28ec0c91429f45eba0746111ecd7ff 100644 (file)
       <ref name="bootloader"/>
     </optional>
     <element name="os">
-      <ref name="ostypehvm"/>
       <interleave>
+        <ref name="ostypehvm"/>
         <optional>
           <element name="loader">
             <optional>