Skip to content

Specify and fill nameofclass#870

Closed
skinkie wants to merge 11 commits intonextfrom
specify_nameofclass
Closed

Specify and fill nameofclass#870
skinkie wants to merge 11 commits intonextfrom
specify_nameofclass

Conversation

@skinkie
Copy link
Contributor

@skinkie skinkie commented Apr 21, 2025

Implement #806

Uncovers issues related to #862

@skinkie skinkie added the hygiene Technical dept, results in a breaking change. label Apr 21, 2025
@skinkie skinkie requested review from Aurige and ue71603 April 21, 2025 23:50
@skinkie skinkie self-assigned this Apr 21, 2025
@skinkie skinkie added this to the netex_2.0 milestone Apr 22, 2025
Copy link
Contributor

@Aurige Aurige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just did a quick walk through and a few comments ... it's a nice improvement but difficult to check that no inheritance or substitution group was forgotten. Was this generated automatically ?

</xsd:sequence>
<xsd:attribute name="id" type="TypeOfOperationIdType"/>
<xsd:attribute name="nameOfClassifiedEntityClass" type="NameOfClass" use="optional" fixed="Operation">
<xsd:attribute name="nameOfClassifiedEntityClass" type="NameOfClass" use="optional">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the purpose for removing the fixed="Operation" ?
Also why only on TypeOfOperation (the same pattern is in all TypeOfEntity_VersionStructure inherited structure...) ?

<xsd:enumeration value="RoutingConstraintZone"/>
<xsd:enumeration value="StopArea"/>
<xsd:enumeration value="TariffZone"/>
<xsd:enumeration value="TariffZoneRef_"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TariffZoneRef_ is a substitution group (this happens multiple times, just pointing it her for the example)

@TuThoThai
Copy link
Collaborator

Must be regenerated taking into account the "_" for the Dummy types.
After that, can be merged for v2.0

@TuThoThai TuThoThai mentioned this pull request Sep 23, 2025
skinkie added a commit that referenced this pull request Oct 5, 2025
@skinkie
Copy link
Contributor Author

skinkie commented Oct 8, 2025

Implemented in #962

@skinkie skinkie closed this Oct 8, 2025
@TuThoThai TuThoThai deleted the specify_nameofclass branch February 24, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hygiene Technical dept, results in a breaking change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants