Wrong assignment of ActualVehicleEquipmentGroup#947
Wrong assignment of ActualVehicleEquipmentGroup#947Robbendebiene wants to merge 3 commits intoNeTEx-CEN:v2.0from
Conversation
…AccessVehicleEquipment
|
I don't think this is the right solution. I think that the cause is more in the direction of the subsitution group... |
|
@skinkie you disagree it seems |
|
@skinkie Can you please elaborate what substitution group you are referring to (I assume In my solution I probably would also have to change |
|
@Robbendebiene therefore I want to have @Aurige or @nick-knowles comment here. |
|
I feel like there might be a small misunderstanding, so I just want to restate that the problem I'm reporting is more about Simply speaking I think I think
That is actually a question I had as well which I raised here #875 (comment) So perhaps it makes sense to discuss these topics together. |
|
Happy to approve if @skinkie running the script confirms that no examples are broken |
|
THIS FAILS. examples/functions/timetable/Netex_21_Rail_NetworkTimetable_eurostar.xml:11730: Schemas validity error : Element '{http://www.netex.org.uk/netex}AccessibilityAssessment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}validityConditions, {http://www.netex.org.uk/netex}ValidBetween, {http://www.netex.org.uk/netex}alternativeTexts, {http://www.netex.org.uk/netex}keyList, {http://www.netex.org.uk/netex}privateCodes, {http://www.netex.org.uk/netex}Extensions, {http://www.netex.org.uk/netex}BrandingRef, {http://www.netex.org.uk/netex}Name, {http://www.netex.org.uk/netex}PrivateCode, {http://www.netex.org.uk/netex}PublicCode ). Where it fails: <WheelchairVehicleEquipment version="any" id="est:WheelchairVehicleEquipment:sfe_veheq_trne_LP01_10_02">
<AccessibilityAssessment version="any" id="est:acaa_sfe_veheq_trne_LP01_10_02">
<MobilityImpairedAccess>true</MobilityImpairedAccess>
<suitabilities>
<Suitability id="est:acsst_sfe_veheq_trne_LP01_10_02">
<MobilityNeed>wheelchair</MobilityNeed>
<Suitable>notSuitable</Suitable>
</Suitability>
</suitabilities>
</AccessibilityAssessment>
<NumberOfWheelchairAreas>1</NumberOfWheelchairAreas>
<WidthOfAccessArea>1.0</WidthOfAccessArea>
<CompanionSeat>true</CompanionSeat>
</WheelchairVehicleEquipment> |
Interesting, it is a modelling way we do not use in France as for us it is a bit redundant. If you are describing a |
|
So there are two options:
Which way to go? |
|
The online view of Transmodel 2021 (https://transmodel-cen.eu/model/) also contains the inheritance of
The question basically boils down to: |
|
I am all for deprecating erronous modeling. |
|
I added a separate group to annotate the properties as deprecated. |


I noticed that
EquipmentRefcan be assigned toWheelchairVehicleEquipmentandAccessVehicleEquipment. This seemed wrong to me. My guess is that theActualVehicleEquipmentGroupshouldn't be part of them.Currently things like this can be done:
I think only this should be possible
The commit states that these changes are originally from @nick-knowles