[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: Paul Tchistopolskii <paul@q...>
  • To: Charles Reitzel <creitzel@m...>, xml-dev@l...
  • Date: Wed, 31 Jan 2001 18:42:51 -0800

Re: Are we losing out  because of grammars?

From: Charles Reitzel <creitzel@m...>


> Sorry old thread.  Nice analysis.  I have often found it necessary to
> re-normalize based on data dynamics.
> 
> Rules, due to their invocation at a points in time, make inroads into the
> "route" (e.g. SQL triggers).  Declarative rules *use* grammar for their
> definition and depend on "grammar valid" data on which to operate.  

I'm very glad you've wrote that, because this means I'm not the only 
one who looks at SQL all the time.

This is exactly the view I'm trying to promote ( and to implement ) last days. 
I call it 'layered schema'. I should say that to the best of my knowledge 
none of the current schema efforts ( including TREX and RELAX ) is 
pushing this direction. I'l be very happy to be wrong, because reinventing 
the wheel is a painful thing. TREX is cool, but it is really 'for validation only'
and it also gives up on types.

> Anyway, it would have never occurred to me that XML Schema should
> incorporate rules in the sense you describe.  At least not in 1.0, eh? 

Not only that, but I doubt that XSD ( or even TREX ) 
is a good layer to build upon. I'm not saying that XSD or TREX
is a bad thing. I'm saying that it is not a good thing for 
the logical layering ( when trying to express the  rules in 
the terms of 'core layer' - XSD or TREX become not a 
good 'core layer' )

Separation of the 2 layers mentioned by James Clark ( I agree 
with him that those 2 things should be separated ) does not impiles 
that those 2 layers can not *use* each other. 

I think they can and I think they should.
 
> To put it in perspective, SQL didn't get basic triggers until 2.0.  Now on
> version 3, SQL has got some basic OO features, even if little implemented or
> used.  Heck, most people never use triggers.  They just put it somewhere in
> the application code.

Well ... I'd say that 'constrains' are 'closer'  than 'triggers'. 

Rgds.Paul.



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.