XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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?

> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS