I am having some issues understanding how to avoid the error mentioned above while trying to generate some Java classes from XSDs.
I know the XSDs are correct because xsdata, a Python tool, can generate good Python classes from the same files and I am probably missing some specific config.
I cannot share those XSDs here unfortunately. Is there any change the error message I pasted above give you any hints at all?
But let me try to extract the some useful information to make it easier for you to help me maybe.
I have a complexType with some complex content which contains the problematic element throwing the above mentioned error:
`
Some doc.
`
**MyType** is imported from another XSD, which defines it. IntelliJ is able to navigate the relationship correctly:
`
...
`
Even _xjc_ from command line fails for the same reason.
Tried with different JVM versions from Java 8 till Java 17.
Any clue what might be wrong please?
I have the same issue with that. Seems it's related to referring to the type with a prefix. I haven't been able to solve this up to now so I'd appreciate any feedback someone might have.
Dear jaxb2-maven-team,
I am having some issues understanding how to avoid the error mentioned above while trying to generate some Java classes from XSDs. I know the XSDs are correct because xsdata, a Python tool, can generate good Python classes from the same files and I am probably missing some specific config.
I cannot share those XSDs here unfortunately. Is there any change the error message I pasted above give you any hints at all? But let me try to extract the some useful information to make it easier for you to help me maybe.
I have a complexType with some complex content which contains the problematic element throwing the above mentioned error: `