-
Notifications
You must be signed in to change notification settings - Fork 46
Prefix netex as namespace of DistributionGroupRef #449
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
6860927
Prefix netex as namespace of DistributionGroupRef
skinkie 05ce7a7
try to fix the DistributionGroupRef
ue71603 8c5c26a
fixing
ue71603 ae73fce
another thing to fix
ue71603 aeecfd7
another ref
ue71603 fa1fe2c
Lint and update documentation tables
github-actions[bot] 00d67b8
probably right, but marked now
ue71603 ce49887
Merge branch 'fix_distributiongroupref' of https://github.com/NeTEx-C…
ue71603 310421f
Update xsd/NeTEx_publication.xsd
skinkie 968147b
Update xsd/NeTEx_publication.xsd
skinkie f2f26fd
Merge branch 'fix_distributiongroupref' of https://github.com/NeTEx-C…
ue71603 2b123e3
Lint and update documentation tables
github-actions[bot] c0231de
Update Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProduct.xml
ue71603 df559aa
Update examples/functions/fares/Netex_101.21_TfL_GeographicFares_Unit…
ue71603 32439ce
Lint and update documentation tables
github-actions[bot] ee847ae
Update Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProduct.xml
ue71603 0190911
Merge branch 'fix_distributiongroupref' of https://github.com/NeTEx-C…
ue71603 1460776
Update examples/functions/fares/Netex_101.21_TfL_GeographicFares_Unit…
ue71603 fe36228
Lint and update documentation tables
github-actions[bot] b844402
Update examples/functions/fares/Netex_101.21_TfL_GeographicFares_Unit…
ue71603 62dd1b2
fixing example
ue71603 7fb773b
Lint and update documentation tables
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why do you want the DistributionGroup to have the exact same Id as the DistributionChannel !!!?? That will not work
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.
it worked fined. There is no nr:Visitor_Centers that could be referenced. And the id are per class so it works as well. The id references the GeneralGroupOfEntities (and there is only tfl:Visitor_Centres):
<GeneralGroupOfEntities version="any" id="tfl:Visitor_Centres" nameOfMemberClass="AccessSpace"> <Name>List of visitor centres</Name> <members> <AccessSpaceRef version="1" ref="tfl:Piccadilly_Circus_Visitor_Centre"/> <AccessSpaceRef version="1" ref="tfl:Euston_Station_Visitor_Centre"/> <AccessSpaceRef version="1" ref="tfl:Victoria_Station_Visitor_Centre"/> <AccessSpaceRef version="1" ref="tfl:Heathrow_Terminal_123_Visitor_Centre"/> </members> </GeneralGroupOfEntities>it does not reference to the DistributionChannel:
<DistributionChannel version="any" id="tfl:Visitor_Centres"> <Name>Visitor centres</Name> <PaymentMethods>debitCard creditCard companyCheque cash</PaymentMethods> <DistributionGroupRef version="any" ref="tfl:Visitor_Centres"/> </DistributionChannel>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 lost here: in this example tfl:Visitor_Centres is the id of the DistributionChannel
<DistributionChannel version="any" id="tfl:Visitor_Centres">that has an element refering itself as a DistributionGroup ! I don't get the semantinc, neither the technical side of it !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 This is no my example. I just made it working. That the DistributionChannel and the Group used the same id text I don't know. Who knows? @nick-knowles ?
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.
in fact it was ok with a different namespace, but changing the namespace to "tfl" create an inconsistency !