You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we must be able to generated a list of values that should be usable as nameOfRefClass, so we can prevent typo's here. I would love to see some sort of reusable enumeration which also could be used within TypeOfFrame.
Suggestion: creating 'inception' by adding the entire Class list in here?
<xsd:simpleType name="NameOfClass">
<xsd:annotation>
<xsd:documentation>Type for name of a class of an ENTITY.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:Name"/>
</xsd:simpleType>
What we should do is the question. If we take all the classes in NeTEx and would add them here as an enumeration, it would give the ability to check the correct usage of nameOfRefClass. But once a class is added, it must be added here too. If we want to be more specific nameOfRefClass might also be limited based on the elements that can be used to refer. This would require a per Ref-element list of potential classes (and hopefully a default).
Activity
ue71603 commentedon Apr 17, 2024
@skinkie frankly not quite clear, what I should do.
skinkie commentedon Apr 17, 2024
What we should do is the question. If we take all the classes in NeTEx and would add them here as an enumeration, it would give the ability to check the correct usage of nameOfRefClass. But once a class is added, it must be added here too. If we want to be more specific nameOfRefClass might also be limited based on the elements that can be used to refer. This would require a per Ref-element list of potential classes (and hopefully a default).
skinkie commentedon May 6, 2024
Also include FrameClassRef and ClassInFrameRef.