Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • railML 3 railML 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • railML.orgrailML.org
  • railML 3railML 3
  • Issues
  • #509
Closed
Open
Issue created Sep 27, 2022 by CO Coordination@coordination.COMaintainer

Consider changing order of top-level domain elements

Martin Zien stated in the forum that it is desirable that the <metadata> element by default appears before the other top-level domains (<common>, <infrastructure>, <interlocking>, <rollingstock>, <timetable> and <visualizations>). According to the current specification, the elements can be listed in any order. The issue is that export interfaces following the order from the XSD (e.g. because the code was generated from the XSDs or UML) will list <metadata> between <interlocking> and <rollingstock>, rather than as the first element.

Martin Zien's suggestion is to reorder the elements in the XSD. This will not change the syntactic specification, and therefore not break any compatibility (it will still be legal to list the elements in any order). The goal is that export interfaces following the order from the XSD will list <metadata> first.

The implementation is simple if we agree that it is best practice to list <metadata> before the other elements.

Forum thread: https://www.railml.org/forum/index.php?t=msg&th=890&start=0&

Assignee
Assign to
Time tracking

railML.org e.V. (Registry of Associations: VR 5750) Phone: +49 351 47582911 Altplauen 19h; 01187 Dresden; Germany