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 50
    • Issues 50
    • 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
  • #153
Closed
Open
Issue created Jun 27, 2012 by IS Coordination@coordination.ISMaintainer

Grouping of <ocp> elements in <ocpGroup>

In recent discussions the need for a grouped operation control point was expressed. This shall have all the attributes of an element. Regarding the hierarchy, the attributes of the element shall be overwritten by the correspondent attributes of the if existent.

The following implementation is being proposed:

A new element is defined in infrastructure.xsd

<xs:complexType name="eOcpGroup">
    <xs:complexContent>
      <xs:extension base="rail:tOperationControlPoint">
        <xs:sequence>
          <xs:element name="ocpRef" type="rail:tOcpRefInGroup" maxOccurs="unbounded" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

and included in the infrastructure element:

<xs:element name="ocpGroups" type="rail:eOcpGroups" minOccurs="0" />

whereas is a container for several elements:

<xs:complexType name="eOcpGroups">
  <xs:sequence>
    <xs:element name="ocpGroup" type="rail:eOcpGroup" minOccurs="0" maxOccurs="unbounded" />
    <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
</xs:complexType>
Assignee
Assign to
Time tracking

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