NeTEx-CEN/NeTEx

StopPointInJourneyPatternRef must validate towards StopPointInJourneyPattern

Opened this issue · 3 comments

I could argue that a proper validator would also validate that this StopPointInJourneyPattern is actually part of the same ServiceJourneyPatternRef. One may dream :-)

I think I want to have some input. Should StopPointInJourneyPatternRef include an order attribute. The examples (and documentation does not have it) but the XML Schema suggests that it boils down to OrderedVersionOfObjectRefStructure which makes virtually every EPIP implementation wrong...

The StopPointInJourneyPattern has a (possible) order as an attribute, so when you refer it with StopPointInJourneyPatternRef that implicitely includes that order

The StopPointInJourneyPattern has a (possible) order as an attribute, so when you refer it with StopPointInJourneyPatternRef that implicitely includes that order

The point is that StopPointInJourneyPattern@id+version+order is unique. But one cannot refer to it via StopPointInJourneyPatternRef@ref+version because order is missing.