[
https://issues.apache.org/jira/browse/CXF-8900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741371#comment-17741371
]
Graham Leggett commented on CXF-8900:
-------------------------------------
Another data point.
Jakarta code has this banner at the top:
{code}
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source
schema.
// Generated on: 2023.07.09 at 12:09:03 PM BST
//
{code}
The javax code has no banner on the top.
> cxf-xjc-plugin: code generated is half javax.xml.bind.annotation, half
> jakarta.xml.bind.annotation
> --------------------------------------------------------------------------------------------------
>
> Key: CXF-8900
> URL: https://issues.apache.org/jira/browse/CXF-8900
> Project: CXF
> Issue Type: Task
> Components: JAXB Databinding
> Environment: openjdk version "18.0.1.1" 2022-04-22
> OpenJDK Runtime Environment (build 18.0.1.1+2-6)
> OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
> Reporter: Graham Leggett
> Priority: Major
>
> When upgrading an otherwise working project to cxf-xjc-plugin v4.0.0, which
> compiles a set of 17 XSD files into code, the resulting generated code has
> some XSD code using the javax.xml.bind namespace, and other XSD code using
> the jakarta.xml.bind namespace.
> I was expecting one namespace or the other, but to see both namespaces used
> apparently at random leaves me stuck.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)