SAX Parser和XML Schema(XSD)验证 [英] SAX Parser and XML Schema (XSD) validation

查看:222
本文介绍了SAX Parser和XML Schema(XSD)验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些Java XML库可以同时对XML Schema(XSD)进行基于SAX的解析和验证?

Which Java XML libraries can do SAX-based parsing and validation against an XML Schema (XSD) at the same time?

我真的在寻找最多阅读验证大型XML文件的有效解决方案。

I'm really looking for the most efficient solution for reading and validating large XML files.

如果您能提供示例代码,则可获得奖励积分。

bonus points if you can provide sample code.

推荐答案

Xerces 是其中的一部分Sun JDK可以进行验证。您可以在文档中查看。

Xerces which is part of the Sun JDK can do validation. You can see in the docs.

这篇关于SAX Parser和XML Schema(XSD)验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆