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

Re: (Correction) Re: Are we losing out because of grammars?

  • From: Francis Norton <francis@r...>
  • To: James Clark <jjc@j...>
  • Date: Mon, 05 Feb 2001 13:14:38 +0000

synonym for losing out
James Clark wrote:
> 
...
> 
> But I've never argued that path-based rule systems are inferior to
> grammars.  As I said at the beginning of my last message I think they're
> a valuable complement to grammars, and for *some* problems they're a
> better solution than grammars.  All I'm claiming is that there are also
> some problems for which grammars are a better solution than path-based
> rules.
> 
"*some*" - hmmm... which? 

I've been looking at the Object Constraint Language for UML, used for
expressing features in UML that cannot easily be expressed in the
diagram set.

Page 1 of the book [1] defines constraint as a synonym for assertion.
This makes me think, naturally, of the schematron. Some of OCL could be
expressed in XPath, though to do the whole thing would require switch
and iterator constructs, which I'm idly wondering if could be done in
XSLT.

I'm just noodling around here, but is it possible that there is a
natural mapping between grammars and diagrams which mean that they can
solve the same kind of problems, and that they can both be complemented
in a similar way by assertion-based rule systems?

Francis.

[1]
http://www.amazon.com/exec/obidos/ASIN/0201379406/qid%3D981374393/107-0392824-5712560

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.