views:

27

answers:

1

Is there any tool to validate @XmlPath annotations used from MOXy JAXB at a specific xml file at compile time from Eclipse or IntelliJIdea java framework or something else?

A: 

There is no corresponding IDE tooling yet. You could use the MOXy JAXBContext to generate an XML schema and then use it to validate the XML document.

For more information of XPath based mapping an @XmlPath see:

Blaise Doughan