NeTEx-CEN/NeTEx

ComplexFeature not in GeneralFrame

Closed this issue · 5 comments

@hennoit is using ComplexFeature as a GeneralFrame member, this is not part of the GeneralFrame member list.

Is this an omission?

According to the NeTEx documentation ComplexFeature inherits from SpatialFeature, which inherits from GroupOfPoints, which can be a member of a GeneralFrame.
I think that in the xsd the definition of SpatialFeature is missing a substitutionGroup.
<xsd:element name="SpatialFeature" type="GroupOfPoints_VersionStructure" abstract="false"> <xsd:annotation> <xsd:documentation>Abstract SPATIAL FEATURE.</xsd:documentation> </xsd:annotation> </xsd:element>

By the way, is it abstract (annotation) or not (attribute)? :-)

The ComplexFeature being a DataManagedObject and any DataManagedObject being possibly inserted in a GeneralFrame, it should work anyway ! If it's not possible, there is obviosly a bug somewhere !

image

@skinkie @Aurige : Is there anything to do here?

I just did a try and it looks that there is an issue.... I need to investigate it

Solved by #338