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

Re: Rick Jelliffe quotable quote on the purpose of schemas

  • From: "Rick Jelliffe" <rjelliffe@a...>
  • To: xml-dev@l...
  • Date: Thu, 14 Dec 2006 13:06:20 +1100 (EST)

Re:  Rick Jelliffe quotable quote on the purpose of     schemas
Philippe Poulard said:
> Michael Kay wrote:
>>>"The flaw with grammars is that they only allow to constraint
>>>content models in a declarative manner
>>
>>
>> There's nothing wrong with constraints being declarative
>
> Except that you will need 3000 tags to express all that people expect
> and will expect.

Philippe and Michael have different meanings for "declarative".  I think
Philippe means declarative in the sense of the specific semantics of the
operation being labelled. I think Michael means it in the sense of their
being a general label for the whole thing, combined with the properties
being expressed non-procedurally or functionally.

It is the difference between a "declarative" label
  X is an ID attribute scoped to X
and a "declarative" recipe
  X has a unique value for all Xs - not(preceding::*[@X][@X = current()/@X])
Now these may look the same, but they are not in fact the same; because
the advantage of the first is that a semantic label allows re-use: for
example, your software might have a jump table for all IDs to allow faster
link traversal.

So Philipe is saying that there is world of semantics and you cannot make
labels for each of them. Eventually you need to use a recipe. And Michael
is saying you can use a recipe. Not much disagreement actually.

This is where the abstract pattern idea comes in: by providing a simple
parameterization syntax, we can have labels and recipes.

Cheers
Rick




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.