Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • railML 2 railML 2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 52
    • Issues 52
    • 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 2railML 2
  • Issues
  • #485
Closed
Open
Issue created Jan 27, 2025 by CO Onto@onto.CODeveloper

Documentation of tOtherEnumerationValue needs to be corrected

Background:

Nobody knew that underscore is excluded by regex.

Current state

  <xs:simpleType name="tOtherEnumerationValue">
    <xs:annotation>
      <xs:documentation>an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="other:\w{2,}" />
    </xs:restriction>
  </xs:simpleType>

Needed state:

  <xs:simpleType name="tOtherEnumerationValue">
    <xs:annotation>
      <xs:documentation>an arbitrary string starting with 'other:' followed by at minimum two letters or numbers. Anything else is not allowed for extending railML enumeration lists</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="other:\w{2,}" />
    </xs:restriction>
  </xs:simpleType>

Related tickets

  • version3#651 (closed) railML 3.1
  • version3#626 (closed) railML 3.2
  • version3#625 (closed) railML 3.3
  • version3#630 (closed) Change pattern for tOtherEnumerationValue (railML 3.4)
Edited Apr 25, 2025 by CO Onto
Assignee
Assign to
Time tracking

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