[
https://issues.apache.org/jira/browse/CXF-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045296#comment-17045296
]
Somnath Mallick commented on CXF-8224:
--------------------------------------
Just wanted to add, currently I am using XMLBeans for this XSD, and the rest of
my code base is with JAXB. I just wanted to migrate everything to JAXB and
ditch XMLBeans altogether. But I cant at the moment.
> Base complex type "A" is derived by restriction, while this complex type "B"
> is derived by extension.
> -----------------------------------------------------------------------------------------------------
>
> Key: CXF-8224
> URL: https://issues.apache.org/jira/browse/CXF-8224
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Affects Versions: 3.3.1
> Environment: Windows 10. Maven 3.6.3
> Reporter: Somnath Mallick
> Priority: Major
>
> Hello,
>
> I am trying to generate classes for a large intertwined XSD schema using
> "cxf-xjc-plugin"
>
> But I get an error saying:
>
> Caused by: com.sun.istack.SAXParseException2: Base complex type
> "PlPosInterfaceBaseData" is derived by restriction, while this complex type
> "PlPosInterfaceData" is derived by extension. This is not currently handled
> by XJC, but we are seeking input on this issue. Please report this to the
> JAXB team.
>
> Now I know this is an old error. I saw references to it as old as 2006. I
> just wanted to know that is there a workaround for this yet. And by JAXB
> team, does it mean Oracle?
>
> I have never raised an issue before. So I have no idea what to fill in all
> the fields! So I am not sure if this is the right place for it.
>
> If you can guide me, that would be great. Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)