是否有任何工具可以在编译时从Eclipse或IntelliJIdea Java框架或其他工具中验证MOXy JAXB在特定xml文件中使用的@XmlPath批注?
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?
推荐答案尚无相应的IDE工具.您可以使用 EclipseLink MOXy JAXBContext生成XML模式,然后使用它来进行验证XML文档.
There is no corresponding IDE tooling yet. You could use the EclipseLink MOXy JAXBContext to generate an XML schema and then use it to validate the XML document.
有关基于XPath的@XmlPath映射的更多信息,请参见:
For more information of XPath based mapping an @XmlPath see:
- bdoughan.blogspot/2010/07/xpath-based-mapping.html
- bdoughan.blogspot/2010/09/xpath-based-mapping-geocode-example.html
- bdoughan.blogspot/2011/03/map-to-element-based-on-attribute-value.html
更新
Dali 小组正在即将发布的Eclipse Juno版本.您今天可以尝试一下:
The Dali team is adding this support in the upcoming Juno release of Eclipse. You can try this out today:
- www.eclipse/downloads/packages/eclipse-ide-java-ee-developers/junom6
更多推荐
是否有任何工具可以验证@XmlPath批注?
发布评论