[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is Schematron (using XPath 2.0) functionally a supersetof
Costello, Roger L. a écrit : > Hi Folks, > > Is Schematron (using XPath 2.0) functionally a superset of XML Schemas? > > Using XPath 2.0, Schematron can now perform all of the grammar-type > checks that XML Schemas does, e.g. check that the correct tags are > being used, the tags are arranged properly, and the datatypes of each > element and attribute are correct. > > Plus Schematron can perform co-constraint checks, cardinality checks, > and algorithmic checks that XML Schemas cannot do. > > Are there things that XML Schemas can do that Schematron (using Xpath > 2.0) cannot do? 1) bind typed datas. Although this is not about validation but rather for applications, one could imagine to involve a typed data in an assertion ; I don't know how Schematron could take care of that ; in any case, before binding typed datas, Schematron cannot defined custom typed datas 2) is there an implementation of schematron that can validate extra-large documents (say 1GB) with XPath assertions that involve a reverse axis ? 3) Schematron doesn't act on content models (that is to say to what is allowed to find at some place) : within an editor, one can propose an element that Schematron would refuse ; for this reason, acting on content models is certainly more reliable or more smart... -- Cordialement, /// (. .) --------ooO--(_)--Ooo-------- | Philippe Poulard | ----------------------------- http://reflex.gforge.inria.fr/ Have the RefleX !
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|