Skip to content

refactor anyUnitsAttr #555

@prjemian

Description

@prjemian

per PR #549 (for #545), consider the change in nxdlTypes.xsd of anyUnitsAttr from:

<xs:simpleType name="anyUnitsAttr">
	<xs:restriction base="xs:string">
	</xs:restriction>
</xs:simpleType>

to:

<xs:simpleType name="anyUnitsAttr">
	<xs:union memberTypes="xs:string">
	</xs:union>
</xs:simpleType>

and then converting <xs:enumeration to <xs:simpleType for each type of units

IMPORTANT The result of these changes in nxdlTypes.xsd should bump the minor version number of the XML Schema.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions