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

Unknown property error, when parsing inherited dataclasses with different namespaces #654

Closed
THM-MA opened this issue Feb 4, 2022 · 3 comments · Fixed by #655
Closed
Labels
bug Something isn't working

Comments

@THM-MA
Copy link

THM-MA commented Feb 4, 2022

I try to use XSDATA to parse Business Process Model and Notation (BPMN) 2.0.2 diagrams.

https://www.omg.org/spec/BPMN/2.0.2/

The XS schema contains a waypoint Element that is not detected during parsing due to a namespace conflict caused by the parser class XmlMetaBuilder.

A working example with full error description and details (schema, generated dataclasses, parser code) can be found here:

https://github.com/THM-MA/XSDATA-waypoint

After debugging for several hours I truly believe that this is a parser bug.

Any help is highly appreciated!

Thank you so much for your support and this wonderful piece of software
Thomas

@tefra tefra added the bug Something isn't working label Feb 5, 2022
@tefra
Copy link
Owner

tefra commented Feb 5, 2022

Thanks for the excellent report @THM-MA and for the effort to troubleshoot it, I am on it!

@tefra
Copy link
Owner

tefra commented Feb 6, 2022

Thanks again @THM-MA amazing work on reporting the issue.

The xsd suite is very interesting and has some very rare at least to me features, I took the liberty of adding it to the samples repo.
https://github.com/tefra/xsdata-samples/tree/master/bpmn

@THM-MA
Copy link
Author

THM-MA commented Feb 6, 2022

Retest successful. Thank you so much @tefra for your kind support.

The BPMN 2.0 XSDs are a truly complex beast to tame, I also learned lots of new stuff from it.

Let me know if i can value the work you put into your excellent XSDATA package by providing some further text cases or something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants