[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Is Schematron (using XPath 2.0) functionally a superset of XML Schemas?
- From: "bryan rasmussen" <rasmussen.bryan@gmail.com>
- To: "Stephen Green" <stephengreenubl@gmail.com>
- Date: Tue, 13 Nov 2007 19:27:38 +0100
> Can a tool create an example instance from the
> assertions just as it can from the XSD?
Theoretically yes if the validation was a subset of Schematron
capabilities and if the validation was considered to be authoritative
- a complete validation of the XML format - but basically the correct
answer would be it wouldn't be worth doing because any single
Schematron validation is not likely to provide all XML structures
allowed in a format. Schematron usage is generally to validate the
parts that need validating. As an example consider if I wanted to
validate an Invoice calculation model, that could be done via a
Schematron with XPath 2.0 quite easy, but it certainly couldn't be
usable to generate a structure.
Cheers,
Bryan Rasmussen
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]