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 supersetof XML Schemas?

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]


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