Been using latest JAXB Sun implementation but can rely on the XJC to generate correct annotations. Have several examples whereby the XJC doesn't attached XMLElement or XMLAttribute annotations for no logical reason. Plus have problems with the logic behind the plugins framework. Anyways I want to ditch the idea of writing schemas just to produce POJOs and then have to load schemas against only to validate.
Anybody have a way to validate directly against the Javax bind annotations? Saw a cool workaround at: http://stackoverflow.com/questions/2603778/how-can-i-unmarshall-in-jaxb-and-enjoy-the-schema-validation-without-using-an-exp
Where a schema was dynamically created just to do validation. Looking for an approach the goes directly against the annotations (like Hibernate Validator and JSR 303 but specifically for Javax bind annotations)?