In the SWS_Rte_07111 of the AUTOSAR_SWS_RTE document it says:
For each Array Implementation Data Type which leaf ImplementationDataTypeElement is typed by an ImplementationDataType [...]
In this sentence, to get to the "leaf", should I follow an eventual element of category TYPE_REFERENCE?
If I do and if the TYPE_REFERENCE refers to a BaseType, then SWS_Rte_02317 and SWS_Rte_07110 applies. If I don't then SWS_Rte_07111 and SWS_Rte_02318 applies.
The sentence says that the properties of the
ImplementationDataTypeElementare described by anImplementationDataType, which means that the attributecategoryof theImplementationDataTypeElementis set toTYPE_REFERENCE.But the "leaf element" is still an
ImplementationDataTypeElement, not anImplementationDataType.But it may be that the
ImplementationDataTypeto which theImplementationDataTypeElementrefers to sets that value of attributecategoryagain toTYPE_REFERENCE.So, you might need to resolve a chain of type references until you arrive at the actually applicable data type.