Schematron Eclipse插件用于创建和编辑ISO Schematron Schema文件,也能够依据XML文档进行schema校验。
官方网站:http://www.castledesigns.co.uk/schematron-ep.html
下载地址:http://www.castledesigns.co.uk/schematron-ep.html
Introduction - UNDER CONSTRUCTION
What is Schematron?
I assume that, if you are looking at this, you have at least a vague understanding of what XML and its relelated technologies are. If not, a great place to start (or to refresh) would be w3schools which covers all of the technologies here with the exception of Schematron itself.
If you are in the business of processing XML, whether it be a web service, configuration files, etc., you will undoubtedly, at some point, want to validate that the XML is "valid". But what does "valid" mean?
XML in its basic form must abide by various basic rules in order to be valid. For example, the document have a single root element, child elements must have an end element to match the start element (or use the abbreviated syntax), elements can be nested but not cross over (i.e. all child elements must have had their end element before their parents end element, attribute values must be quoted, etc. etc.
XML can then be validated against a specification that verifies that the structure of the document is correct, for example XML Schema, DTD, etc. These specifications define what the document should look like, e.g. what elements are valid child elements, what are the valid values that a text node or attribute can have. |