Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.14.1
-
None
-
None
-
Patch Available
-
Novice
Description
using xjc on the provided XSD file enclosing CamelContextFactory within a spring Beans XSD proxy creates an element "<CamelContextFactory>" instead of element "<camelContext>".
additionally the Schema lacks root level element declarations and so the user of the generated beans is forced to hand-edit the generated output to insert @XmlRootElement("camelContext") in the camelContextFactoryBean generated bean.
the solution is shown in github patch https://github.com/jnorthrup/xcaml/commit/531f042d8f8d5835a3030d6d8c1e6c3608c7b585?w=1 along with other xjc descriptor amenities to successfully generate proxies that have elements sharing symbol names with attributes