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

Re: Are we losing out because of grammars?

  • From: Eric van der Vlist <vdv@d...>
  • To: Paul Tchistopolskii <paul@q...>
  • Date: Thu, 01 Feb 2001 09:36:50 +0100

tchistopolskii
Paul Tchistopolskii wrote:
> 
> To me this way is a bit different from what SQL does.
> 
> In SQL :
> 
> 1. The second layer ( triggers ) is the 'slave',
> but the core layer ( create table ) is the 'owner'
> 
> 2. Not only layer 1 is using entities from layer 2,
> but layer 2 is also using entities from layer 1 - and
> the result is 'kinda elegant'.
> 
> In your design it looks like Schematron is the 'owner',
> and TREX is the 'slave' == library for regular expressions
> ( because this is what TREX really is ). This gives
> us the "high-level language" == Schematron
> driving the show, and I don't like it.

Both ways of thinking are powerful and complementary and I'd like to
keep both !

I have developed a simple publishing system where I am using Schematron
to detect the type of document submitted to the system and to determine
what treatment needs to be performed on these documents.

The doc type, namespaces or root element are not sufficient to take this
decision as some types (for instance (X)HTML) are very generic and can
lead many "types" of treatments and the full power of Schematron is
needed for this.

Choosing a schema according to rules seems to proceed of the same logic:
I do a pre-analyse of the document ant I choose the best fitted
schema... Seems very cool.

The opposite would be an extension of the unique/key/keyref function
that W3C XML Schema is considering leaving out of version 1.0.

This also seems to be very useful and needed...

Eric
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.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.