mirror of https://gitee.com/openkylin/libvirt.git
build: Don't fail on '<' or '>' with old xmllint
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>
This commit is contained in:
parent
6cc4d6a3fe
commit
d96b08bb24
|
@ -105,7 +105,10 @@
|
||||||
<element name='target'>
|
<element name='target'>
|
||||||
<optional>
|
<optional>
|
||||||
<element name='path'>
|
<element name='path'>
|
||||||
<data type='anyURI'/>
|
<choice>
|
||||||
|
<data type='anyURI'/>
|
||||||
|
<ref name='absFilePath'/>
|
||||||
|
</choice>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
<ref name='format'/>
|
<ref name='format'/>
|
||||||
|
|
Loading…
Reference in New Issue