开发者

How to import "javax.xml.validation"

开发者 https://www.devze.com 2023-02-15 22:21 出处:网络
I am trying to import \"javax.xml.validation\" to valid some XML I am download开发者_运维百科ing, and eclipse throws an error. I am using the 1.5 API, was it even implemented then? If so what other op

I am trying to import "javax.xml.validation" to valid some XML I am download开发者_运维百科ing, and eclipse throws an error. I am using the 1.5 API, was it even implemented then? If so what other options do I have?


Don't use the JAXP implementation that comes with the Sun JDK - it's buggy. Use Xerces from Apache: it's more up-to-date with the various W3C specs, and it's far more reliable.

0

精彩评论

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