Skip to content

substitutionGroup fails: Unexpected <gml:ElectricLine>, expected: <gml:AbstractFeature>#12

Merged
do- merged 4 commits intodo-:mainfrom
jonny64:substitutionGroup
Mar 17, 2026
Merged

substitutionGroup fails: Unexpected <gml:ElectricLine>, expected: <gml:AbstractFeature>#12
do- merged 4 commits intodo-:mainfrom
jonny64:substitutionGroup

Conversation

@jonny64
Copy link
Contributor

@jonny64 jonny64 commented Mar 15, 2026

need to overcome Unexpected <gml:ElectricLine>, expected: <gml:AbstractFeature>

https://www.w3.org/TR/xmlschema11-1/#Element_Declaration_details 2.2.2.2 Element Substitution Group states

a reference to the head validates not just the head itself,
but elements corresponding to any other member of the substitution group as well

@jonny64 jonny64 changed the title substitutionGroup fails add test substitutionGroup fails: Unexpected <gml:ElectricLine>, expected: <gml:AbstractFeature> Mar 15, 2026
@jonny64 jonny64 marked this pull request as ready for review March 15, 2026 19:11
@do-
Copy link
Owner

do- commented Mar 16, 2026

After 5581b70, a conflict emerged

@jonny64
Copy link
Contributor Author

jonny64 commented Mar 17, 2026

@do- cb209b1

@do-
Copy link
Owner

do- commented Mar 17, 2026

1 more merge, 1 more conflict (since all tests were inserted at one position)

@jonny64
Copy link
Contributor Author

jonny64 commented Mar 17, 2026

e3d9c42

@do- do- merged commit 8e13533 into do-:main Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants