开发者

Validate an XSD using Java

开发者 https://www.devze.com 2023-01-14 20:35 出处:网络
I would like to automatically val开发者_开发问答idate that an XSD Schema is correct. Is there a java API or something Í can call to do this automatically?Super-short answer: http://download.oracle.co

I would like to automatically val开发者_开发问答idate that an XSD Schema is correct. Is there a java API or something Í can call to do this automatically?


Super-short answer: http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/validation/package-summary.html


This can be done with Xerces. We did in in Apache CXF. The easiest thing is to read the source.

To look at just the subproject that does this, read here.

0

精彩评论

暂无评论...
验证码 换一张
取 消