[elbe-devel] [PATCH 3/5] Add XML tag's definition for ISO image options

Kurt Kanzenbach kurt.kanzenbach at linutronix.de
Wed Jul 17 09:41:52 CEST 2019


On Mon, Jul 15, 2019 at 11:22:00AM +0200, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
>
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>

> ---
>  schema/dbsfed.xsd | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index fbed8e98..a4bff10c 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -881,6 +881,13 @@
>            </documentation>
>          </annotation>
>        </element>
> +      <element name="src-opts" type="rfs:iso-opts" minOccurs="0" maxOccurs="1">
> +	<annotation>
> +          <documentation>
> +	    Give options for the source cdrom ISO image.
> +          </documentation>
> +        </annotation>
> +      </element>
>      </all>
>      <attribute ref="xml:base"/>
>    </complexType>
> @@ -2431,4 +2438,31 @@
>      </simpleContent>
>    </complexType>
>
> +  <complexType name="iso-opts">
> +    <annotation>
> +      <documentation>
> +        ISO image options passed to genisoimage(1) or mkisofs(8).
> +      </documentation>
> +    </annotation>
> +    <all>
> +      <element name="abstract" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="app" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="biblio" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="copyright" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="publisher" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="preparer" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="sysid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="volid" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +      <element name="volset" type="rfs:string" minOccurs="0" maxOccurs="1"></element>
> +    </all>
> +    <attribute name="strict" type="boolean" use="optional">
> +      <annotation>
> +        <documentation>
> +          If set to "true", fails in preprocessing stage if an option
> +          doesn't respect ISO-9660.  The default is "false".

Any reason why the default is set to false? I'd prefer a strict
validation by default.

> +        </documentation>
> +      </annotation>
> +    </attribute>
> +  </complexType>
> +
>  </schema>
> --
> 2.11.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190717/031e61d7/attachment.sig>


More information about the elbe-devel mailing list