Skip to content

Commit

Permalink
Relax definition of common simple types
Browse files Browse the repository at this point in the history
Relax the definition of the common simple types ParticipantCodeType,
OperatorCodeType, LineCodeType, DirectionCodeType, JourneyCodeType,
VehicleCodeType, FacilityCodeType, OwnerCodeType, OperatingDayCodeType
from xs:NMTOKEN to xs:normalizedString in order to allow definitions
containing more characters, e.g. | as defined in DLID (VDV 433).
  • Loading branch information
sgrossberndt authored Sep 17, 2019
1 parent dc99e2b commit b9fb9b9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Trias_Common.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<xs:annotation>
<xs:documentation>Participant identifier</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="ParticipantRefStructure">
<xs:annotation>
Expand All @@ -68,7 +68,7 @@
<xs:annotation>
<xs:documentation>Identifier of an Operator</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="OperatorRefStructure">
<xs:annotation>
Expand Down Expand Up @@ -143,7 +143,7 @@
<xs:annotation>
<xs:documentation>Line identifier.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="LineRefStructure">
<xs:annotation>
Expand All @@ -162,7 +162,7 @@
<xs:annotation>
<xs:documentation>Identifier of a Direction.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="DirectionRefStructure">
<xs:annotation>
Expand Down Expand Up @@ -194,7 +194,7 @@
<xs:annotation>
<xs:documentation>Identifier of a Journey</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="JourneyRefStructure">
<xs:annotation>
Expand Down Expand Up @@ -223,7 +223,7 @@
<xs:annotation>
<xs:documentation>Identifier of a Vehicle.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="VehicleRefStructure">
<xs:annotation>
Expand Down Expand Up @@ -328,7 +328,7 @@
<xs:annotation>
<xs:documentation>Identifier of a Facility.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="FacilityRefStructure">
<xs:annotation>
Expand All @@ -348,7 +348,7 @@
<xs:annotation>
<xs:documentation>Identifier of an Owner.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="OwnerRefStructure">
<xs:annotation>
Expand All @@ -368,7 +368,7 @@
<xs:annotation>
<xs:documentation>Identifier of an Operating Day</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN"/>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="OperatingDayRefStructure">
<xs:annotation>
Expand Down

0 comments on commit b9fb9b9

Please sign in to comment.