开发者

Checking an XML schema for correctness using tools

I have a schema that I would like to validate (note: not a document, but the schema itself) for correctness and catching any silly errors. The schema references other schemas, which ar开发者_开发技巧e all together in the same directory. We can't host the schema publicly just yet.

Is there a command-line tool or script for any recent Windows or Unix OS which will allow me to validate each of the schemas and get a report (in any reasonable format)? I don't really want a GUI.


I am using Ant for validation (and other XML tasks, like XSLT transformations). The Validate Task allows you to validate one or more documents. In your specific case, for validating XML Schemas, you need to validate it with the XML Schema Schema.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜