-
-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Please do not reuse propertyType for "environmentVar".
The annotations from propertyType do not match the case here.
better define a dedicated (abstract) key-value pair element type:
<xs:complexType name="KeyValuePair">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" use="required">
<xs:annotation><xs:documentation>The name of the env var</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>(PS: this "KeyValuePair" is not identical to current implementation of "propertyType")
and use it here
<xs:element name="environmentVar" type="bom:KeyValuePair" />Originally posted by @jkowalleck in #222 (comment)
Metadata
Metadata
Assignees
Labels
No labels