[Home] [By Thread] [By Date] [Recent Entries]

  • From: "bryan rasmussen" <rasmussen.bryan@g...>
  • To: "Stephen Green" <stephengreenubl@g...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member