We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the generators tries to create two class A and two class B, thankfully the class resolver raises an exception before that.
class A
class B
raise ResolverValueError(f"Duplicate class: `{obj.name}`") E xsdata.exceptions.ResolverValueError: Duplicate class: `A`
<?xml version="1.0" encoding="utf-8" ?> <xs:schema id="repro" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="A" type="base-A" substitutionGroup="item"/> <xs:element name="B" type="base-B" substitutionGroup="item"/> <xs:element name="a" type="A" substitutionGroup="item"/> <xs:element name="b" type="B" substitutionGroup="item"/>
The text was updated successfully, but these errors were encountered:
22c70d8
No branches or pull requests
Currently the generators tries to create two
class A
and twoclass B
, thankfully the class resolver raises an exception before that.The text was updated successfully, but these errors were encountered: