fix-orchestra icon indicating copy to clipboard operation
fix-orchestra copied to clipboard

[repository schema] Attribute group messageAttribGrp seems to be unused

Open kleihan opened this issue 2 years ago • 1 comments

The schema file repositoryTypes.xsd contains the following definition that does not seem to be used anywhere else. Please confirm whether this is obsolete and can be removed.

	<xs:attributeGroup name="messageAttribGrp">
		<xs:attribute name="msgType" type="fixr:MsgType_t"/>
		<xs:attribute name="category" type="fixr:Name_t"/>
		<xs:attribute name="abbrName" type="fixr:Name_t"/>
		<xs:attribute name="rendering" type="xs:string">
			<xs:annotation>
				<xs:documentation>A hint to processes about how to interpret the element. Not validated</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:attributeGroup>

The message attributes msgType, category, abbrName are all part of the complex type messageType:

	<xs:complexType name="messageType">
                 ...
		<xs:attribute name="msgType" type="fixr:MsgType_t"/>
		<xs:attribute name="category" type="fixr:Name_t"/>
		<xs:attributeGroup ref="fixr:oidGrp"/>
                ...
	</xs:complexType>

The message attribute abbrName is part of the attribute group oidGrp inside the complex type messageType:

	<xs:attributeGroup name="oidGrp">
                 ...
		<xs:attribute name="abbrName" type="fixr:Name_t"/>
                 ...
	</xs:attributeGroup>

Only the rendering attribute is not defined for a message.

kleihan avatar Sep 16 '23 15:09 kleihan

Agree this is obsolete and can be removed in RC2.

martinswanson avatar Sep 09 '24 10:09 martinswanson