XML Schema 来验证 XML Schemas? [英] XML Schema to validate XML Schemas?

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

问题描述

有谁知道是否可以用另一个 XML 模式验证 XML 模式?如果是这样,那里有参考实现吗?我想使用 JAXB 解析 Schema 文档.

Does anyone know if its possible to validate an XML schema with another XML schema? If so, is there a reference implementation out there? I would like to parse a Schema doc using JAXB.

推荐答案

当然.大多数情况下,您只需将浏览器指向用作 XML 文档名称空间的 URL.这也适用于 XML Schema:http://www.w3.org/2001/XMLSchema

Of course. Most of the time you can just point your browser to the URL that serves as the namespace for the XML document. This also works with XML Schema: http://www.w3.org/2001/XMLSchema

XSD 从那里链接.

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

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