用于验证XML模式的XML模式? [英] XML Schema to validate XML Schemas?

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

问题描述

是否有人知道是否可以使用其他XML架构验证XML架构?如果是的话,那里有参考实施吗?我想使用JAXB解析Schema doc。

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模式的XML模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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