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
Error: Cross reference detected
for unused complex types
#995
Comments
Okay, and thanks for the quick reaction! FWIW: The schema might be an interesting test case for |
At the moment xsdata doesn't know if the generated code has circular imports, but it comes with different structure styles that can resolve this issue. I took the liberty to add the suite in the samples repo, I used You can check it here, with some notes about some further limitations with mypy https://github.com/tefra/xsdata-samples/tree/main/sdmx_ml, check the .xsdata.xml config I used |
Give it a try @hoehrmann and if you find anything else, feel free to open another issue |
Tried xsdata with https://github.com/sdmx-twg/sdmx-ml/blob/29f1a3d856c4259429f5ec0eae811653adc5cdb5/schemas/SDMXMessage.xsd and got
Error: Cross reference detected
until I commented out the unused complex types it complains about.The text was updated successfully, but these errors were encountered: