From: Eric Blake Date: Fri, 10 Jan 2014 17:40:01 +0000 (-0700) Subject: schema: fix idmap validation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dd0dda2e4a80bacb78125e0236e93590f3c4dc5d;p=libvirt.git schema: fix idmap validation When idmap was added to LXC, we forgot to cover it in the testsuite. The schema was missing an layer, and as a result, virt-xml-validate was failing on valid dumpxml output. Reported by Eduard - Gabriel Munteanu on IRC. * docs/schemas/domaincommon.rng (idmap): Include element, and support interleaves. * tests/lxcxml2xmldata/lxc-idmap.xml: New file. * tests/lxcxml2xmltest.c (mymain): Test it. Signed-off-by: Eric Blake --- diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 86a60c9fb3..a69f6b6317 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -506,32 +506,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +