]> xenbits.xensource.com Git - libvirt.git/commit
schema: allow a <rule> element with no subelements in a nwfilter
authorLaine Stump <laine@laine.org>
Thu, 21 Jun 2018 06:07:17 +0000 (02:07 -0400)
committerLaine Stump <laine@laine.org>
Thu, 21 Jun 2018 08:04:49 +0000 (04:04 -0400)
commit17b4734288ced5c34b3157c7c240f88823cbbfed
tree02ee7526e3a1959a1184a8aca3c07a35e7743a90
parent205462b60bf0e347187178b7e2a525d931e5db76
schema: allow a <rule> element with no subelements in a nwfilter

This is a regression in behavior caused by commit 37359814. It was
intended to limit the schema to allow only a single subelement of
<rule>, but it is also acceptable for <rule> to have no subelement at
all.

To prevent the same error from reoccurring in the future, the
examples/xml/nwfilter directory was added to the list of nwfilter
schema test directories.

Resolves: https://bugzilla.redhat.com/1593549

Signed-off-by: Laine Stump <laine@laine.org>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
docs/schemas/nwfilter.rng
tests/virschematest.c