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

Re: [Summary] Characterization of Schematron - Usage and Featu

  • From: "Peter Hunsberger" <peter.hunsberger@g...>
  • To: "bryan rasmussen" <rasmussen.bryan@g...>
  • Date: Thu, 25 Jan 2007 08:30:51 -0600

Re:  [Summary] Characterization of Schematron - Usage and Featu
On 1/25/07, bryan rasmussen <rasmussen.bryan@g...> wrote:
> I agree it will be easier in iso schematron , because of let
> basically, and if you're bound to xpath 2.0 as you have for and
> conditional expression. I don't feel comfortable doing it for public
> projects yet though, given the newness of all standards used in such a
> scenario.
>

We've been using Schematron with XSLT 2.0 and xPath 2.0 in a high
visibility production system since shortly after Saxon 8.0 came out.
We have a set of Web pages where we need to loop over an array of
values looking for co-constraints (as well as the usual value
constraint stuff).  We use an intermediate XSLT that takes an ordinary
Schematron rule (generated from an front end administration editor
that our business analysts use), recognises that the particular use
case needs to run over an array and re-writes the xPath appropriately.
 We could have just picked some large upper bound (say 100 rows) and
automatically written rules for every row but the XSLT and xPath 2.0
solution is a lot simpler.

As to your other note on the size of xPath expressions growing, most
definitely yes.  We already see this, since our business analysts are
using an editor that hides most of the xPath they seem to have no
problem writing rules that run for many lines.  Simple for them, but a
real pain when something breaks and the developers have to figure out
why a particular set of validation rules isn't yielding the results
they expect.
-- 
Peter Hunsberger


[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

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.