Title: Message Title
Anders Hammar commented on an issue
Mojo's JAXB-2 Maven Plugin / Bug MJAXB-76
XmlRootElement annotation not added to root element class if it has a type that's defined in the same schema
If my root element uses an anonymous complex type, the generated Java class is correctly annotated with XmlRootElement. If it's a custom type defined in the same schema then the class doesn't have the XmlRootElement annotation.

*anonymous complex type*
{code:xml}
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">...
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to