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

Identify the issue when a wrong property tag is used #7473

Open
naveedkhan8067 opened this issue Dec 10, 2024 · 0 comments · May be fixed by iTwin/imodel-native#970 or #7599
Open

Identify the issue when a wrong property tag is used #7473

naveedkhan8067 opened this issue Dec 10, 2024 · 0 comments · May be fixed by iTwin/imodel-native#970 or #7599
Assignees
Labels
ecschema Issues related to the various ecschema packages

Comments

@naveedkhan8067
Copy link
Contributor

naveedkhan8067 commented Dec 10, 2024

If we have a struct-based property ECStructClass, but in the XML, we incorrectly <ECProperty tag rather than <ECStructProperty then we do not provide good error output.

Test current behavior, is behavior the same in C++ and TypeScript?
Behavior should be the same and both should provide good error output.
If EC version is newer than what the code knows about we should allow unknown types to be loaded (@RohitPtnkr1996 can comment on behavior here). If EC version is known then we should treat unknown types as an error if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ecschema Issues related to the various ecschema packages
Projects
None yet
2 participants