From 2073ed6f2064fc65a7f58256268eb70ec21cdcf3 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 9 Feb 2010 15:53:03 +0100 Subject: [PATCH] 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 --- docs/schemas/domain.rng | 109 +++++++++++++++++++++++----------------- 1 file changed, 63 insertions(+), 46 deletions(-) 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 + + + + + + + + + + + + + + + + + + + + -- GitLab