[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 superset of

  • From: "bryan rasmussen" <rasmussen.bryan@g...>
  • To: "Michael Kay" <mike@s...>
  • Date: Sat, 10 Nov 2007 18:43:04 +0100

Re:  Is Schematron (using XPath 2.0) functionally a superset of
I agree that Regular Expressions by themselves are inadequate, but
considering that they can also be combined with XPath 2.0
functionality I suppose that it should be adequate enough for the ease
of implementing a grammar, which is what you discussed earlier.

Bryan Rasmussen

On Nov 10, 2007 11:00 AM, Michael Kay <mike@s...> wrote:
> > I think in ISO Schematron content models are simple enough
> > http://www.oreillynet.com/xml/blog/2007/11/converting_xml_sche
> > mas_to_sche_7.html
> Yes, you can always use regular expressions to implement the grammar rules.
> Interestingly, I considered that when I started work on my schema processor,
> but abandoned it for two reasons: (a) because of the issue Rick mentions -
> diagnostics, and (b) because you don't get any information back about type
> assignment, which XSLT and XQuery need.
> Since one of the major goals and benefits of Schematron is good diagnostics,
> reducing a content model to a regular expression doesn't seem a particularly
> smart idea.
> Michael Kay
> http://www.saxonica.com/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.