-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Spec documentation states for inheritable child elements "Occurrence" as "0..*" or "0..1", meaning "optional", as they can also be defined in other levels. But some of these elements can be actually mandatory to have (even if via inheritance), and errors are returned by PackChk if not found, while other elements with similar "Occurrence" values can be optional to have and do not cause errors.
For example description of the <device> element (and its upper layers) gives an impression that only Dname is mandatory in it , but PackChk would report an error if is not present. However, no errors are reported if other possible elements such as <memory> or <flashinfo> are absent for <device>.
Spec shall provide more clear statement for mandatory and option child elements.