You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/03/04 06:28:04 UTC

[jira] [Resolved] (CAMEL-8433) Camel XSD lacks Root Elements, does not generate round-trip Marshal/Unmarshal

     [ https://issues.apache.org/jira/browse/CAMEL-8433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-8433.
--------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

> Camel XSD lacks Root Elements, does not generate round-trip Marshal/Unmarshal
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-8433
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8433
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-javaconfig
>    Affects Versions: 2.14.1
>            Reporter: Jim Northrup
>            Assignee: Claus Ibsen
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)