[PATCH] build: Don't fail on '< ' or '> ' with old xmllint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---

Notes:
    Pushed as a build-breaker

 docs/schemas/storagevol.rng | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng
index 8bc5907..5da8e1f 100644
--- a/docs/schemas/storagevol.rng
+++ b/docs/schemas/storagevol.rng
@@ -105,7 +105,10 @@
     <element name='target'>
       <optional>
         <element name='path'>
-          <data type='anyURI'/>
+          <choice>
+            <data type='anyURI'/>
+            <ref name='absFilePath'/>
+          </choice>
         </element>
       </optional>
       <ref name='format'/>
-- 
1.8.4.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]