From 04bda51cb2f0ab324543c2d5c8128fb45d7b7bc7 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 13 Oct 2022 18:29:49 +0200 Subject: [PATCH] schema: nodedev: Allow interleaving of sub-elements of 'device' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that the schema doesn't allow us to represent the two branches of optional and zero or more definitions, so I've merged them under the case. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/conf/schemas/nodedev.rng | 63 +++++++++++++++++------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/src/conf/schemas/nodedev.rng b/src/conf/schemas/nodedev.rng index 6299c52671..a9b32bb80f 100644 --- a/src/conf/schemas/nodedev.rng +++ b/src/conf/schemas/nodedev.rng @@ -9,41 +9,38 @@ - - - - - - - - - dev - - - - - - - - link - - - - - - - + + + + + + + + + + + dev + link + + + + + + + + - - - - - + + + + + - - - + + + +