Skip to content

Explicit nameOfRefClass check #668

Open

Description

@skinkie

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.

Related to #650

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>

Activity

  1. added
    enhancement
    on Feb 27, 2024
  2. ue71603 commented on Apr 17, 2024

    @ue71603
    Contributor

    @skinkie frankly not quite clear, what I should do.

  3. skinkie commented on Apr 17, 2024

    @skinkie
    ContributorAuthor

    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).

  4. modified the milestones: netex_2.0, netex_2.1 on Apr 17, 2024
  5. removed their assignment
    on Apr 19, 2024
  6. skinkie commented on May 6, 2024

    @skinkie
    ContributorAuthor

    Also include FrameClassRef and ClassInFrameRef.

    <FrameClassRef nameOfClass="CompositeFrame"/>
    <ClassInFrameRef nameOfClass="DataManagedObject">Use Common definitions</ClassInFrameRef>
  7. added
    triage-needed
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtriage-needed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions