-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Debugging why attributes appear in classes #734
Comments
|
@tefra the tool reports the correct attributes. Document below validates against the NeTEx schema. I'll go back upstream. For the part of this ticket to 'explain' where an attribute originates from, I'll would like to keep this feature request open. <?xml version="1.0" encoding="UTF-8"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:gml="http://www.opengis.net/gml/3.2" version="ntx:1.1">
<PublicationTimestamp>2022-12-23T09:56:19.513998</PublicationTimestamp>
<ParticipantRef>NDOV</ParticipantRef>
<Description>NeTEx export</Description>
<dataObjects>
<GeneralFrame id="GF" version="1">
<members>
<ScheduledStopPoint id="SSP1" version="1">
<Name>SSP1</Name>
</ScheduledStopPoint>
<ScheduledStopPoint id="SSP2" version="1">
<Name>SSP2</Name>
</ScheduledStopPoint>
<ServiceJourneyPattern id="SJP" version="1">
<pointsInSequence>
<StopPointInJourneyPattern id="SPIJP1" version="1" order="1">
<ServiceJourneyPatternRef version="1" ref="SJP"/>
<ScheduledStopPointRef version="1" ref="SSP1"/>
</StopPointInJourneyPattern>
<StopPointInJourneyPattern id="SPIJP2" version="1" order="2">
<ScheduledStopPointRef version="1" ref="SSP2"/>
</StopPointInJourneyPattern>
</pointsInSequence>
</ServiceJourneyPattern>
</members>
</GeneralFrame>
</dataObjects>
</PublicationDelivery> |
I am closing this one for now, I will gladly accept any contributions |
I am currently evaluating why the NeTEx XSD adds the dated_vehicle_journey_ref to route_ref.
I can see that:
Might this be a bug in the schema creation?https://github.com/NeTEx-CEN/NeTEx/blob/master/xsd/netex_framework/netex_genericFramework/netex_pointAndLinkSequence_version.xsd#L134~
Would it be possible to annotate where an attribute originates from in a tree like representation?
Upon searching my hypothesis is now that "LinkSequenceRef" is to blame, which is used both as substitution group as it is as element ref.When removing this subsitutiongroup, navigation_path_ref is removed, so I am confident there is a relationship...https://github.com/NeTEx-CEN/NeTEx/blob/master/xsd/netex_part_1/part1_ifopt/netex_ifopt_path_support.xsd#L184
To summarize. I think there is a bug that introduces elements from a substitution group "LinkSequenceRef", based on every element that has the substitutionGroup "LinkSequenceRef".
The text was updated successfully, but these errors were encountered: