[elbe-devel] [PATCH v3 13/16] schema: partition-command: Add attributes for documentation

Bastian Germann bage at linutronix.de
Fri Oct 7 15:23:15 CEST 2022


Subject: same.

Am 23.09.22 um 16:03 schrieb Viraj Shah:
> * Add missing attribute for documentation of partition-command.
> * Fix indentation.
> 
> Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
> ---
>   schema/dbsfed.xsd | 18 +++++++++++++++---
>   1 file changed, 15 insertions(+), 3 deletions(-)
> 
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index 129ea6112..075960696 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -2386,13 +2386,25 @@
>       <complexType name="partition-command">
>       <annotation>
>         <documentation>
> -	The node's text should be a valid shell commands
> +       The value of tag should be valid shell commands.

The tag's text node should ...

>         </documentation>
>       </annotation>
>       <simpleContent>
>         <extension base="rfs:string">
> -        <attribute name="part" type="integer" use="required" />
> -        <attribute name="nomount" type="boolean" use="optional" />
> +       <attribute name="part" type="integer" use="required">
> +        <annotation>
> +         <documentation>
> +          This is the device partition in integer.

This is the device partition number.

(If you can add the context there will be bonus points)

> +         </documentation>
> +        </annotation>
> +       </attribute>
> +       <attribute name="nomount" type="boolean" use="optional">
> +        <annotation>
> +         <documentation>
> +          If true, device will not be mounted.
> +         </documentation>
> +        </annotation>
> +       </attribute>
>         </extension>
>       </simpleContent>
>     </complexType>

With the suggested changes:
Reviewed-by: Bastian Germann <bage at linutronix.de>


More information about the elbe-devel mailing list