Skip to content
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

Proposal for #399 #807

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

skinkie
Copy link
Contributor

@skinkie skinkie commented Dec 4, 2024

In order to futher the restrict the schema to sensible values and relations I would like to introduce two things:

  1. Have an explicit default for non-generic nameOfRefClass attributes, in the case below, ScheduledStopPointRef has a natural nameOfRefClass being ScheduledSopPoint. Now a parser does not have to guess what the default might be. And this could also help with schematron validation, since conditional key-identity-constraints are still far away.
  2. Further we would like to have a sane list of Elements that might be referenced. From my perspective this should include all objects up to some predefined point. I think that should be something like "every parent, excluding abstract parents, up to and not included DataManagedObject". I would like to prevent siblings to be included.

@skinkie skinkie added to be discussed hygiene Technical dept, results in a breaking change. group_decision_needed labels Dec 4, 2024
@skinkie skinkie self-assigned this Dec 4, 2024
@ue71603
Copy link
Contributor

ue71603 commented Dec 4, 2024

@skinkie does this not result in automatic cycles in the necesseray import of elements?

@skinkie
Copy link
Contributor Author

skinkie commented Dec 4, 2024

@skinkie does this not result in automatic cycles in the necesseray import of elements?

Not really, because the base element is a "xs:string" hence, is a pure text description, not limited to the actual elements defined.

@ue71603
Copy link
Contributor

ue71603 commented Dec 4, 2024

Ok, I see it is only the text "TimingPoint"

@ue71603 ue71603 added this to the netex_2.0 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group_decision_needed hygiene Technical dept, results in a breaking change. to be discussed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants