Michał Politowski opened SPR-9757 and commented
EclipseLink MOXy supports defining the bindings in an external definitions file instead of using annotations. Currently the Jaxb2Marshaller cannot be used to marshal objects when the binding is defined completely externally, because it checks for the @XmlRootElement annotation.
It would be useful to support this case in Jaxb2Marshaller or possibly a separate marshaller.
Affects: 3.1 GA
Issue Links:
Referenced from: commits 682b0f2, bd018fc