On Mon, Oct 05, 2015 at 16:39:25 +0200, Michal Privoznik wrote:
On 05.10.2015 10:56, Peter Krempa wrote:
> Our docs state that subelements of <metadata> shall have a namespace
> and the medatata APIs expect that too. To avoid inaccessible
> <metadata> sub-elements, just remove those that don't conform to the
> documentation.
>
> Apart from adding the new condition this patch renames the function and
> refactors the code flow to allow the changes.
>
> Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1245525
> ---
> src/conf/domain_conf.c | 29 ++++++++++++++++++++++-------
> 1 file changed, 22 insertions(+), 7 deletions(-)
>
...
ACK, but minding adding a simple test case?
Added test and pushed; Thanks.
Peter