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

RE: What is the advantage of RELAX in comparison to Schemas?

  • From: Bob Kline <bkline@r...>
  • To: "Bullard, Claude L (Len)" <clbullar@i...>
  • Date: Tue, 30 Jan 2001 10:12:07 -0500 (EST)

RE: What is the advantage of RELAX in comparison to Schemas?
On Tue, 30 Jan 2001, Bullard, Claude L (Len) wrote:

> Yes and no.  If done sensibly, context sensitive constraints in the
> schema are useful.  The problem comes when the information gets
> repurposed along a chain of users.  These rules can vary instance to
> instance, site to site.  Contracting for a schema that works in all
> of those sites is much harder if they have to share narrower and
> narrower context rules.  It may be that the most practical approach
> is to separate out the context rules either into the application or
> into a separately cited document such as TREX, Schematron, etc.

The problem with separating out context rules into the application is
that we would undermine one of the primary benefits of the current
project to replace the customer's legacy document creation/maintenance
system, in which it is impossible to modify document structures or
business rules without dragging in a programmer.

The problem with separating out context rules into a separate document
(such as Schematron) is the standard one of keeping modifications to
separate specifications of the document structures in sync.

We could ignore W3C's schema syntax altogether and simply adopt one of
the competing models (e.g., Schematron or RELAX) but this path incurs
the risk of much lower levels of support from third-party toolsets.

It may well be true that for some projects separating out different
components of document constraints will be the most appropriate
approach.  It is unfortunate, however, that the spec most likely to
attract third-party support (by virtue of its sponsorship by W3C)
assumes that this is the *only* valid approach.

-- 
Bob Kline
mailto:bkline@r...
http://www.rksystems.com


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.