Open ue71603 opened 2 months ago
This is absolutely correct. Our code takes a shortcut, for one of the more principle reasons that the original XML Schema did not enforce the order as mandatory attribute. But I wonder if something else is going on here: is the StopPointInJourneyPattern here actually of the ServiceJourneyPattern referenced by the ServiceJourney?
Then why do I get the key error?
My guess: it is referencing a different ServiceJourneyPattern. Must investigate.
The key error lets me assume that if we use order, then the reference must use order too. If we think this should not be necessary (or it is impossible, then probably we will need to change the code....
see also https://github.com/MMTIS/QA/issues/6