From d2cf546b03ddd724847daa477fe9791ffa78ebe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Mon, 5 Oct 2020 09:34:59 +0200 Subject: [PATCH] Delete length limitation of image id attribute For legacy reasons the attributes was limited to 10digits. The contents of /etc/ImageID are now free format and no longer strictly evaluated. Thus the limitations on the id attribute can be deleted --- kiwi/schema/kiwi.rnc | 2 +- kiwi/schema/kiwi.rng | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/kiwi/schema/kiwi.rnc b/kiwi/schema/kiwi.rnc index 07cc973d..fd2598d7 100644 --- a/kiwi/schema/kiwi.rnc +++ b/kiwi/schema/kiwi.rnc @@ -66,7 +66,7 @@ div { k.image.id = ## An identification number which is represented in a file ## named /etc/ImageID - attribute id { xsd:string {length="10"} } + attribute id { text } k.image.attlist = k.image.name.attribute & k.image.displayname.attribute? & k.image.id? diff --git a/kiwi/schema/kiwi.rng b/kiwi/schema/kiwi.rng index 577c18c6..368aeaf5 100644 --- a/kiwi/schema/kiwi.rng +++ b/kiwi/schema/kiwi.rng @@ -137,9 +137,6 @@ second the location of the XSD Schema An identification number which is represented in a file named /etc/ImageID - - 10 -