Skip to content

Unclear documentation on what child elements are mandatory to have in case of inheritance #180

@vovamarch

Description

@vovamarch

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.

Metadata

Metadata

Assignees

Labels

In DiscussionDiscussion for this issue is open and ongoingdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions