Consolidated changes and fixes until May 17th 2019#88
Conversation
…ctIdType instead of reffering to "id". Because jaxb generation of the model causes generated netex xml to have namespace prefix
…ill not let GroupOfStopPlaces use xsd group 'ZoneGroup', because it contains fields only relevant to Zones (ParentZoneRef/typeOfZoneRefs_RelStructure). Will neither let GroupOfStopPlaces extend Zone_VersionStructure. Because it's not a zone, and it will cause a name collision with members
…nt by adding documentation (from NeTEx spec Part 1) to OrganistaionTypeEnums
…to date after additional pull requests merged.
correction to new feature
… build fail for example changes after that), incl resolve conflict in README.md
| <xsd:keyref name="Equipment_KeyRef" refer="netex:Equipment_AnyVersionedKey"> | ||
| <xsd:selector xpath=".//netex:EquipmentRef"/> | ||
| </xsd:unique>--> | ||
| <!-- === (GENERAL) Equipment Key ========================== --> |
| @@ -3066,17 +3171,17 @@ Provides a general purpose wrapper for NeTEx data content.</xsd:documentation> | |||
| <xsd:field xpath="@id"/> | |||
| <xsd:field xpath="@version"/> | |||
| </xsd:key> | |||
| <!-- =====Entrance============================== --> | |||
| <!-- =====Entrance============================== | |||
There was a problem hiding this comment.
Will assume an error, as
xsd:element name="Entrance" type="SiteEntrance_VersionStructure" abstract="false" substitutionGroup="SiteComponent">
is defined in netex_part_1/part1_ifopt/netex_ifopt_site_version.xsd:337
REMARK: Have kept the comment regardless, someone (@nick-knowles ?) should review and (maybe) revert to again include the
<xsd:keyref name="Entrance_AnyKeyRef" refer="netex:Entrance_AnyVersionedKey">
| @@ -3435,6 +3610,30 @@ Provides a general purpose wrapper for NeTEx data content.</xsd:documentation> | |||
| <xsd:field xpath="@id"/> | |||
| <xsd:field xpath="@version"/> | |||
| </xsd:key> | |||
|
|
|||
| <!-- =====ParkingProperties============================== --> | |||
| @@ -3837,7 +4036,7 @@ Provides a general purpose wrapper for NeTEx data content.</xsd:documentation> | |||
| </xsd:unique> | |||
| <!-- =====RailwayJunction Key ========================== --> | |||
| <xsd:keyref name="RailwayJunction_KeyRef" refer="netex:RailwayJunction_AnyVersionedKey"> | |||
| <xsd:selector xpath=".//netex:RailwayJunctionRef | .//netex:RailwayPointRef | .//netex:RailwayElement/netex:FromPointRef | .//netex:RailwayElement/netex:ToPointRef"/> | |||
| <xsd:selector xpath=" .//netex:RailwayPointRef | .//netex:RailwayElement/netex:FromPointRef | .//netex:RailwayElement/netex:ToPointRef"/> | |||
| <xsd:field xpath="@id"/> | ||
| <xsd:field xpath="@version"/> | ||
| </xsd:key> | ||
| <!-- =====PointInJourneyPatternLink============================== --> |
There was a problem hiding this comment.
Just wondering where did go to...
There was a problem hiding this comment.
Moved to NeTEx_publication_timetable.xsd:5316
(diff v1.0 vs v1.1 are similar, but the concept is removed from xsd/NeTEx_publication_timetable.xsd in v1.1)
| <xsd:field xpath="@id"/> | ||
| <xsd:field xpath="@version"/> | ||
| </xsd:key> | ||
| <!-- =====FareProduct============================== --> | ||
| <!-- =====FareProduct Key ========================== --> |
There was a problem hiding this comment.
This should be looked into, as it seems the refactoring missed this concept in the NeTEx_publication_timetable.xsd
See output from
grep -irHn5 "FareProduct Key" *
for v1.09 and v1.1 (May 17th 2019).
There was a problem hiding this comment.
(file attachement failed)
v1.0:
xsd/NeTEx_publication.xsd-6368- <xsd:selector xpath=".//netex:BorderPoint "/>
xsd/NeTEx_publication.xsd-6369- <xsd:field xpath="@id"/>
xsd/NeTEx_publication.xsd-6370- <xsd:field xpath="@version"/>
xsd/NeTEx_publication.xsd-6371- </xsd:key>
xsd/NeTEx_publication.xsd-6372- <!-- =====FareProduct============================== -->
xsd/NeTEx_publication.xsd:6373: <!-- =====FareProduct Key ========================== -->
xsd/NeTEx_publication.xsd-6374- <!--
xsd/NeTEx_publication.xsd-6375- <xsd:keyref name="FareProduct_KeyRef" refer="netex:FareProduct_AnyVersionedKey">
xsd/NeTEx_publication.xsd-6376- <xsd:selector xpath=".//netex:FareProductRef |.//netex:SupplementToFareProductRef "/>
xsd/NeTEx_publication.xsd-6377- <xsd:field xpath="@ref"/>
xsd/NeTEx_publication.xsd-6378- <xsd:field xpath="@version"/>
--
--
xsd/NeTEx_publication.xsd-6474- </xsd:annotation>
xsd/NeTEx_publication.xsd-6475- <xsd:selector xpath=".//netex:PreassignedFareProduct "/>
xsd/NeTEx_publication.xsd-6476- <xsd:field xpath="@id"/>
xsd/NeTEx_publication.xsd-6477- <xsd:field xpath="@version"/>
xsd/NeTEx_publication.xsd-6478- </xsd:unique>
xsd/NeTEx_publication.xsd:6479: <!-- =====PreassignedFareProduct Key ========================== -->
xsd/NeTEx_publication.xsd-6480- <xsd:keyref name="PreassignedFareProduct_KeyRef" refer="netex:PreassignedFareProduct_AnyVersionedKey">
xsd/NeTEx_publication.xsd-6481- <xsd:selector xpath=".//netex:PreassignedFareProductRef"/>
xsd/NeTEx_publication.xsd-6482- <xsd:field xpath="@ref"/>
xsd/NeTEx_publication.xsd-6483- <xsd:field xpath="@version"/>
xsd/NeTEx_publication.xsd-6484- </xsd:keyref>
--
--
xsd/NeTEx_publication_timetable.xsd-6382- <xsd:selector xpath=".//netex:BorderPoint "/>
xsd/NeTEx_publication_timetable.xsd-6383- <xsd:field xpath="@id"/>
xsd/NeTEx_publication_timetable.xsd-6384- <xsd:field xpath="@version"/>
xsd/NeTEx_publication_timetable.xsd-6385- </xsd:key>
xsd/NeTEx_publication_timetable.xsd-6386- <!-- =====FareProduct============================== -->
xsd/NeTEx_publication_timetable.xsd:6387: <!-- =====FareProduct Key ========================== -->
xsd/NeTEx_publication_timetable.xsd-6388- <!--
xsd/NeTEx_publication_timetable.xsd-6389- <xsd:keyref name="FareProduct_KeyRef" refer="netex:FareProduct_AnyVersionedKey">
xsd/NeTEx_publication_timetable.xsd-6390- <xsd:selector xpath=".//netex:FareProductRef |.//netex:SupplementToFareProductRef "/>
xsd/NeTEx_publication_timetable.xsd-6391- <xsd:field xpath="@ref"/>
xsd/NeTEx_publication_timetable.xsd-6392- <xsd:field xpath="@version"/>
--
--
xsd/NeTEx_publication_timetable.xsd-6488- </xsd:annotation>
xsd/NeTEx_publication_timetable.xsd-6489- <xsd:selector xpath=".//netex:PreassignedFareProduct "/>
xsd/NeTEx_publication_timetable.xsd-6490- <xsd:field xpath="@id"/>
xsd/NeTEx_publication_timetable.xsd-6491- <xsd:field xpath="@version"/>
xsd/NeTEx_publication_timetable.xsd-6492- </xsd:unique>
xsd/NeTEx_publication_timetable.xsd:6493: <!-- =====PreassignedFareProduct Key ========================== -->
xsd/NeTEx_publication_timetable.xsd-6494- <xsd:keyref name="PreassignedFareProduct_KeyRef" refer="netex:PreassignedFareProduct_AnyVersionedKey">
xsd/NeTEx_publication_timetable.xsd-6495- <xsd:selector xpath=".//netex:PreassignedFareProductRef"/>
xsd/NeTEx_publication_timetable.xsd-6496- <xsd:field xpath="@ref"/>
xsd/NeTEx_publication_timetable.xsd-6497- <xsd:field xpath="@version"/>
xsd/NeTEx_publication_timetable.xsd-6498- </xsd:keyref>
There was a problem hiding this comment.
v1.1 (per 17th may 2019)
NeTEx_publication.xsd-6622- </xsd:annotation>
NeTEx_publication.xsd-6623- <xsd:selector xpath=".//netex:PreassignedFareProduct"/>
NeTEx_publication.xsd-6624- <xsd:field xpath="@id"/>
NeTEx_publication.xsd-6625- <xsd:field xpath="@version"/>
NeTEx_publication.xsd-6626- </xsd:unique>
NeTEx_publication.xsd:6627: <!-- =====PreassignedFareProduct Key ========================== -->
NeTEx_publication.xsd-6628- <xsd:keyref name="PreassignedFareProduct_KeyRef" refer="netex:PreassignedFareProduct_AnyVersionedKey">
NeTEx_publication.xsd-6629- <xsd:selector xpath=".//netex:PreassignedFareProductRef | .//netex:SupplementToFareProductRef"/>
NeTEx_publication.xsd-6630- <xsd:field xpath="@ref"/>
NeTEx_publication.xsd-6631- <xsd:field xpath="@version"/>
NeTEx_publication.xsd-6632- </xsd:keyref>
| @@ -7241,7 +7431,7 @@ Provides a general purpose wrapper for NeTEx data content.</xsd:documentation> | |||
| <xsd:annotation> | |||
| <xsd:documentation>Every [FareTable Id + Version] must be unique within document.</xsd:documentation> | |||
| </xsd:annotation> | |||
| <xsd:selector xpath=".//netex:FareTable"/> | |||
| <xsd:selector xpath=".//netex:FareTable | .//netex:StandardFareTable"/> | |||
There was a problem hiding this comment.
Many of the Fare selectors are using multiple spaces around |
There was a problem hiding this comment.
Have also corrected these where spottet, but probably heaps more in the code. Though cosmetic, does not affect the functionality, these and similar issues should be cleaned up iterative when spotted.
| <xsd:field xpath="@version"/> | ||
| </xsd:unique> | ||
| <xsd:keyref name="EligibilityChangePolicy_KeyRef" refer="netex:EligibilityChangePolicy_AnyVersionedKey"> | ||
| <xsd:selector xpath=" .//netex:EligibilityChangePolicyRef"/> |
| @@ -118,18 +132,6 @@ Rail transport, Roads and Road transport | |||
| </xsd:sequence> | |||
| </xsd:group> | |||
| <!-- =====GROUPING=============================================== --> | |||
| <xsd:complexType name="groupOfEntitiesInFrame_RelStructure"> | |||
There was a problem hiding this comment.
Moved to netex_framework/netex_genericFramework/netex_grouping_version.xsd:67
(except that, contents of v1.0 and v.1.1 seems to be the same)
|
I did a quick walk throug but didn't spot other points than Stefan ! So most important seems to ba a cleaning of some trailing spaces in NeTEx_publication.xsd |
|
I can fix the spottet errors in NeTEx_publication.xsd and add the update to the pull in a little while |
… see commit thread for further comments
|
Ok, so shall we merge this version ? |
|
Yes indeed, I believe we should. |
Consolidation of compatible changes and fixes up until May 17th 2019, used in Norway from August 2019.
For manual rebasing of CEN NeTEx master per NeTEx spec v1.1 document updates of late (August/November) 2019.