[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

  • From: Philippe Poulard <philippe.poulard@s...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Fri, 09 Nov 2007 18:14:07 +0100

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.