Framework to validate XML order against XSD

℡╲_俬逩灬. 提交于 2019-12-12 05:26:19

问题


I am looking for a Java framework which can validate order of elements in XML against XSD. I have already tried JDK 5's javax.xml.Validate and popular article http://www.ibm.com/developerworks/xml/library/x-javaxmlvalidapi/index.html But none of it gave me specific result.These implementation one way or another told me that xml is invalid but could not provide me specific error description.


回答1:


maybe take a look at this page: https://www.java-tips.org/java-ee-tips-100042/175-java-architecture-for-xml-binding/1833-what-is-new-in-jaxb-20.html

You can do nearly everything in XML with the JAXB



来源:https://stackoverflow.com/questions/10089089/framework-to-validate-xml-order-against-xsd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!