From: Jiri Denemark Date: Tue, 9 Feb 2010 14:53:03 +0000 (+0100) Subject: Fix element in domain XML schema X-Git-Tag: v0.7.7~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2073ed6f2064fc65a7f58256268eb70ec21cdcf3;p=thirdparty%2Flibvirt.git Fix element in domain XML schema The current schema is more permissive than the XML parsing code in libvirt. Precisely, 'match' attribute is optional in schema while in reality its use is bound to element: - element without 'match' attribute is allowed only if element is the only child element of - element with 'match' attribute requires element to be present; and elements are optional Signed-off-by: Jiri Denemark --- diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index bb6d00d7c1..c913a509bc 100644 --- a/docs/schemas/domain.rng +++ b/docs/schemas/domain.rng @@ -1313,52 +1313,69 @@ --> - - - - minimum - exact - strict - - - - - - - - - - - - - - - - - - - - - - - - - - - force - require - optional - disable - forbid - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + minimum + exact + strict + + + + + + + + + + + + + + + force + require + optional + disable + forbid + + + + + + + + + + + + + + + + + + + +