diff options
author | Peter Krempa <pkrempa@redhat.com> | 2022-10-13 14:01:24 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2022-10-14 09:40:56 +0200 |
commit | ad5c4be09fe415b4161c4b04ca2ef96f30a0509b (patch) | |
tree | e1f3415b74a196089a5d786aaa409733a91ad055 /docs/formatnetworkport.rst | |
parent | 06ebad7c783fc44b23284c86cbaf4052f99834fd (diff) | |
download | libvirt-ad5c4be09fe415b4161c4b04ca2ef96f30a0509b.tar.gz |
schema: Re-structure schema for <filesystem> to avoid broken validation
The validation of a '<filesystem type='mount'>' device fails if the
elements inside are not ordered in the order in the schema despite using
<interleave>. This is a bug in libxml2's validator as removing the
'<optional>' property from the definition of the 'type' attribute with
'mount' variable fixes the problem.
I've reported it as another instance of a seemingly related issue:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/131
Meanwhile libvirt can re-arrange the schema by extracting the common
bits into a new definition and referencing them from each of the choice
groups explicitly.
Resolves: https://gitlab.com/libvirt/libvirt/-/issues/392
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/formatnetworkport.rst')
0 files changed, 0 insertions, 0 deletions