]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: Don't fail on '<' or '>' with old xmllint
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 22 Nov 2013 04:26:30 +0000 (05:26 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 22 Nov 2013 04:31:15 +0000 (05:31 +0100)
Older xmllint version don't allow such characters in datatype anyURI.
In order not to change too much, I'm suggesting making a choice of
anyURI or 'absPathName' which should be fine (checked with upstream
and that old xmllint, both work fine).

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/schemas/storagevol.rng

index 8bc5907865f1139fbe4eb0d0b60e6dc0c5269b73..5da8e1febc2153fb12893b4943f36fd8b81d7fdd 100644 (file)
     <element name='target'>
       <optional>
         <element name='path'>
-          <data type='anyURI'/>
+          <choice>
+            <data type='anyURI'/>
+            <ref name='absFilePath'/>
+          </choice>
         </element>
       </optional>
       <ref name='format'/>