Check all schemes for unnecessary @minOccurs, @maxOccurs and @usage
Description
Clone of railML 2.4 ticket #344 (closed)
In railML schemes there are elements that occur exactly one time. Thus, @minOccurs="1" and @maxOccurs="1". Since these are default values, they don't have to be given explicitly. The same applies for @use="optional" for attributes.
Background
See #344 (closed)
Links
- Trac tickets:
- #344 (closed)
Proposed solution
Before finalising railML 2.5, remove in all schema files:
- minOccurs="1"
- maxOccurs="1"
- use="optional"