[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The awesome power of Schematron + XPath 2.0 ...Able to ex

  • From: Rick Jelliffe <rjelliffe@a...>
  • To: xml-dev@l...
  • Date: Thu, 25 Oct 2007 14:45:18 +1000

Re:  The awesome power of Schematron +  XPath 2.0 ...Able to ex
On Wed, 2007-10-24 at 19:49 -0400, Costello, Roger L. wrote:

> It was a very enlightening experience.  Schematron+XPath 2.0 was able
> to implement all of my data requirements (including all grammar
> constraints). Conversely, XML Schemas was only able to implement the
> grammar constraints (which are actually of lesser importance to me than
> my other data requirements).  

> Thanks Rick!

My pleasure.

We intend updating the ISO Schematron spec to include a standard binding
for XSLT2. One of the issues was whether to allow user-defined functions
or not. The solution seems to be to allow @queryBinding='xpath2' which
has no extensions and @queryBinding='xslt2' which allows xslt elements
for defining functions. This is analagous to the way that we have
@queryBinding='xpath' and @queryBinding='xslt' where the latter allows
<xsl:key> elements.  Ideas and comments are very welcome. 

I think there are two extremes for language development: the
mathematicists want the most power in the most terseness, while the
engineerists want the most organize-ability and integrate-ability. RELAX
NG is the former, XSD is the latter. I would put Schematron in the
latter actually: it may look simple but actually it pays a lot of
attention to organization: phases, abstract patterns, abstract rules,
the split between diagnostic text and assertion text, flags, roles,
etc. 

Its just that these are different abstractions than the XSD ones (type,
derivation, grammars, facets, substitution.) The XSD abstractions do
reify the various things that parameter entities did in DTDs, however
the question needs to be asked "Is what the parameter entities did
actually particularly useful, or just low-hanging fruit?"  (A
hypostatization problem resulting from bottom up design?) 

Cheers
Rick Jelliffe



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