When using Apache XML Beans to generate types from xsd:enumeration types, XMLBeans generates custom classes that are not Java 5 enums but some kind of special class to represent the enumeration.
This might be the case, because XMLBeans is older than Java 5 and there were no enums at the time or you still want to keep Java 1.4 compatibility. However, I would like to get "real" enum types, so my question is: Is there a way to generate Java 5 enums with Apache XML Beans?
(Jaxb does this like I want, but I'm not sure if I want to remove XMLBeans and introduce Jaxb just for that detail.)