Added missing TransportMode field to accompany existing TransportSubmode#145
Added missing TransportMode field to accompany existing TransportSubmode#145seime wants to merge 8 commits intoNeTEx-CEN:masterfrom
Conversation
xsd/netex_part_3/part3_fares/netex_accessRightParameter_version.xsd
Outdated
Show resolved
Hide resolved
| <xsd:documentation>Vehicel Modes to which ACCESS RIGHTs apply.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="TransportMode" type="AllVehicleModesOfTransportEnumeration" minOccurs="0"> |
There was a problem hiding this comment.
I am a bit unsure about this one: What is the difference between the TransportMode and the previous VehicleModes?
And what would the single TransportMode/TransportSubmode pair express in the context of the OrganisationValidityParametersGroup?
There was a problem hiding this comment.
Christophe: The second pair is for TPEG compatibility.
There was a problem hiding this comment.
@Aurige I can't add a comment that this is for TPEG compatibility. Either you add it or we do it and afterwards think about it.
|
@ue71603 can you approve this one, typo is also fixed in my merge. |
|
What is the reason VehicleModes is prefered of TransportModes @Aurige ? |
|
you need to select one or the other, I just favour the original Transmodel over the TPEG compatibility one (own point of view here) |
* Removed comment about which editor made the change * Removed comment about which editor was used
* Added Spotless tool to verify and correct xsd/xml file formatting * Attempt at making Travis validate * Add more JVM memory, appears to speed up the formatting process * Only require reformatting of files that have changed since 'master' branch * Improved documentation * More docs on formatting * Fix command line option * Replaced shall with must for character encoding * Initial reformatting using Spotless - rules from Eclipse WTP project located in eclipsecodestyle/xml.prefs * More reformatting after rebasing * Updated copyright header year (just to trigger build) * Set travis timeout to 6 hours. Must be reverted after first build * Make jar plugin include all xsd files * Bump spotless to latest version * Run maven with debug trace * Attempt at getting travis to run * Disabled formatting checks in travis temporarily
| <xsd:documentation>Vehicel Modes to which ACCESS RIGHTs apply.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="TransportMode" type="AllVehicleModesOfTransportEnumeration" minOccurs="0"> |
There was a problem hiding this comment.
Christophe: The second pair is for TPEG compatibility.
| <xsd:documentation>Vehicel Modes to which ACCESS RIGHTs apply.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="TransportMode" type="AllVehicleModesOfTransportEnumeration" minOccurs="0"> |
There was a problem hiding this comment.
@Aurige I can't add a comment that this is for TPEG compatibility. Either you add it or we do it and afterwards think about it.
1da1c6f to
97bc148
Compare
|
Since PR was originally created, a new element This is of another enum again |
|
main part was already there. closed here and example and typo done here: #618 |
|
Removing "needs documentation update" label since closed without having been merged. |


TransportMode and TransportSubmode usually come in pairs several places in NeTEx.
In parameter assignments/validityParameters it is missing, instead there is a VehicleMode.
This PR adds TransportMode to accompany TransportSubmode
The PR has been discussed with @nick-knowles that will verify that it aligns well with other parts of Netex.