From 65e8ac6f92e6653d3486f258a34be49de93f8f6a Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Thu, 11 Aug 2022 16:31:13 -0600 Subject: [PATCH] schema: Don't enforce ordering of hostcpu capabilities elements The change to caps-test.xml demonstrates the need for the change to cputypes.rng. Signed-off-by: Jim Fehlig Reviewed-by: Michal Privoznik --- src/conf/schemas/cputypes.rng | 166 ++++++++++++----------- tests/capabilityschemadata/caps-test.xml | 1 + 2 files changed, 85 insertions(+), 82 deletions(-) diff --git a/src/conf/schemas/cputypes.rng b/src/conf/schemas/cputypes.rng index 6fbb069661..219acaef14 100644 --- a/src/conf/schemas/cputypes.rng +++ b/src/conf/schemas/cputypes.rng @@ -326,90 +326,92 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - [a-zA-Z0-9\-_]+ - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a-zA-Z0-9\-_]+ + + + + + + + + + + + + + + + + + + diff --git a/tests/capabilityschemadata/caps-test.xml b/tests/capabilityschemadata/caps-test.xml index da199611ea..44a390a5b6 100644 --- a/tests/capabilityschemadata/caps-test.xml +++ b/tests/capabilityschemadata/caps-test.xml @@ -3,6 +3,7 @@ i686 + Intel -- 2.39.5