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

Re: using Schematron for dispatch

xml dispatch
From: "Simon St.Laurent" <simonstl@s...>

> This morning, while reviewing a chapter on WSDL that mentions
> Schematron, I started wondering if something like Schematron would make
> sense for dispatching.  Schematron is capable of making descisions based
> on a much wider range of options than simple namespace-testing, and
> seems to deal with a lot of the context-sensitivity issue which panic
> the browser people as well.
> Any thoughts on this?  While I don't expect Schematron itself to do this
> work, Schematron seems like a great foundation on which to develop such
> things.
Actually, Dr. Peter Sefton made a system that uses Schematron schemas 
for this purpose.  I believe it looks at form answers coming in, marks the answers 
and then  generates a new form with questions that have not been answered, 
or inconsistently or wrongly answered.

Such a dispatch system would only be warranted if the number of rules
were great enough, or changing enough, compared to just using XSLT.
But certainly Schematron gives a simple way to declare rules,
associate the rules with natural language statements, roles and diagnostic messages.

It is open, so anyone can add extra attributes in their own namespace
to add particular behaviours or dispatch targets. For example, several 
people have raised the possibility of adding a dispatch or action attribute, such as
  <assert test="dubya/george" my:action="mailto:parent-mixup@w..."; 
        diagnostics="d1" >...</assert>
which would presumably mean that the diagnostics should be redirected
to the mailto address.

I don't know if there needs to be a dispatch or action attributes added to 
Schematron, because it seems to be some kind of processing instruction,
and I don't know if each application is similar enough to warrant it. 

Rick Jelliffe


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.