[elbe-devel] [PATCH] schema: set target/console to be optional

Manuel Traut manut at linutronix.de
Thu Apr 5 15:45:00 CEST 2018


The code already checks if the tag is available before reading it.
So there is no need to set minOccurs to 1.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 schema/dbsfed.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 964a5ab4..232b5eb1 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -737,7 +737,7 @@
           </documentation>
         </annotation>
       </element>
-      <element name="console" type="rfs:string" minOccurs="1" maxOccurs="1">
+      <element name="console" type="rfs:string" minOccurs="0" maxOccurs="1">
         <annotation>
           <documentation>
             serial console for getty
-- 
2.16.2




More information about the elbe-devel mailing list