-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added CustomerServiceContactDetails and updates Vehicle/VehicleRef #584
Conversation
and I think a Type and a Vehicle might be possible. Added example from @codeape2
There is a MobilityServiceFrameGroup with all you need but it is in a MobilityServiceFrame !! |
So that should be added to the GeneralFrame? |
The GeneralFrame includes any DatamanagedObject, so that's automatic for all first class objects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like!
But question, shouldn't vehicleRef / VehicleTypeRef be a choice?
I pondered it. But then thought you may have both. But I think we can briefly discuss this with @Aurige |
In my perspective a Vehicle is part of a VehicleType, and the VehicleType may not conflict with a Vehicle. |
A VEHICLE is an instance of a VEHICLE TYPE, not part of it VEHICLES and FLEETs may be declared in a RESOURCE FRAME (we should probbaly have a separate frame for all vehicle related stuff likr vehicles, vehilce types and deck plans - future) |
xsd/netex_framework/netex_reusableComponents/netex_vehicleType_version.xsd
Outdated
Show resolved
Hide resolved
xsd/netex_framework/netex_reusableComponents/netex_vehicleType_version.xsd
Outdated
Show resolved
Hide resolved
…_version.xsd Co-authored-by: Christophe Duquesne <[email protected]>
…_version.xsd Co-authored-by: Christophe Duquesne <[email protected]>
I don't really like breaking example (unless they were obviously wrong) The VehicleCodeGroup is only used once (in VehicleGroup): so I would remove the equipmentProfiles and VehicleModelProfileRef from it and move them to this line 182 (in fact just remove them from VehicleCodeGroup and add equipmentProfiles before VehicleModelProfileRef of line 182 ... removed tmp0000. checked examples
xsd/netex_framework/netex_reusableComponents/netex_vehicleType_version.xsd
Outdated
Show resolved
Hide resolved
…_version.xsd Co-authored-by: trurlurl <[email protected]>
xsd/netex_framework/netex_reusableComponents/netex_vehicleType_version.xsd
Outdated
Show resolved
Hide resolved
@@ -374,6 +379,7 @@ | |||
<members> | |||
<Vehicle version="any" id="car_01"> | |||
<OperatorRef version="any" ref="coc:MCR"/> | |||
<ContactRef ref="contact1" version="any"/> | |||
<SimpleVehicleTypeRef version="any" ref="small_car"/> | |||
<VehicleModelRef version="any" ref="mini_whiz"/> | |||
<CarModelProfileRef version="any" ref="model_a"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm puzzled because this still does not validated (error on CarModelProfileRef ) as if the VehicleCodeGroup has changed position... but it does not seem to be the case !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aurige What is not validating?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NeTEx\examples\functions\newModes\NewModes-CarClubExample.xml (and it validates in master, so we broke something at some point)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aurige to provide the details of the error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aurige for me it validates in the branch..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes coming from this code are here. It is only Contact and ContactRef. However, we might have changed it before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aurige Sorry, I can't do nothing. It is valid on my end. I think you must find the error on your side. |
Ok, I found the issue (a weird network error between Github Desktop and Github site ... with no error at check out, until you re-ask for Fetch). Sorry for bothering ! |
Part 1 was updated (includes multiple PRs on Vehicle Element) |
fixes #401
@Aurige Where would I put vehicles in the GeneralFrame? I think I can't add vehicles or Fleet there? Or did I miss something?