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

hsd export is missing <hsd:entry> element for property with same name as type #987

Closed
JohannaOtt opened this issue Sep 26, 2022 · 3 comments
Assignees

Comments

@JohannaOtt
Copy link
Contributor

JohannaOtt commented Sep 26, 2022

Version 4.2.0.SNAPSHOT

Build 202208171957
Revision e09ae31

When loading a schema with a type containing a property using the same name as the type itself, the hsd exported from it does only contain one hsd:entry element with that name.
That leads to the index for this index being used in both, the hsd:type element and the hsd:property element:

grafik

When loading the schema again with hale studio, it assumes the type being used in itself:
grafik

@Kate-Lyndegaard
Copy link
Contributor

Potential cause of #985

@stempler
Copy link
Member

stempler commented May 6, 2024

The problem is that the schema that the schema reader for Shapefiles creates, in this case includes two types with the same local name and namespace, so there are two competing definitions for the same type, which is invalid and can't be represented.

@JohannaOtt
Copy link
Contributor Author

Cannot be reproduced with Build 202404171400 - Revision 1190433
grafik
grafik
Therefore closing this issue.

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

No branches or pull requests

4 participants