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

Benedikt Spranger b.spranger at linutronix.de
Thu Apr 5 16:58:27 CEST 2018


On Thu,  5 Apr 2018 15:45:00 +0200
Manuel Traut <manut at linutronix.de> wrote:

> The code already checks if the tag is available before reading it.
> So there is no need to set minOccurs to 1.
There is need to check this in the schema, since the value is mandatory.
Please do not mix up formal checks with implementation robustness.

    Bene




More information about the elbe-devel mailing list