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

RE: RFC: Attributes and XML-RPC

  • From: "Erik James Freed" <ejfreed@i...>
  • To: "Reynolds, Gregg" <greynolds@d...>, <xml-dev@i...>
  • Date: Tue, 21 Sep 1999 14:15:42 -0700

eric greynolds
I believe that a good modeling approach would be to define 'exactly' what
you
mean by the difference between hair color and pet ownership. I would guess
that you would use words like: 'sharing', 'containment', 'separability',
'ownership'
or 'lifetime'.

Lots of time has been spent in data modeling trying to understand the
simplest
constructs to capture these nuances expressively and concisely. Its hard
stuff.
Attributes versus elements is not, I would
claim, a particular elegant way to capture this, no matter how fuzzy one
subculture
feels about it. So the question is: how high level does XML want to be? One
could
consider it a low level implementation language, or a high level modeling
language
or both or something in-between, but that choice would drive both how to
handle data modeling
problems such as you are concerned with and also how to allow 'readability'
to effect
design decisions.

(I have not yet looked at Groves and perhaps this is the answer to some or
all of my wonderings...)

erik



> -----Original Message-----
> From: Reynolds, Gregg [mailto:greynolds@d...]
> Sent: Tuesday, September 21, 1999 12:52 PM
> To: 'Erik James Freed'; xml-dev@i...
> Subject: RE: RFC: Attributes and XML-RPC
>
>
> I can't resist chipping in my tuppence, since this touches on one of the
> truly horrific aspects of the design of SGML and, yes, Groves.  (Feel free
> to ignore my adjectives; I'm in a hyper bolic mood.)
>
> > -----Original Message-----
> > From: Erik James Freed [mailto:ejfreed@i...]
> > Sent: Tuesday, September 21, 1999 1:03 PM
> > To: xml-dev@i...
> > Subject: RE: RFC: Attributes and XML-RPC
> >
> >
> > My thinking is that it is considered harmful to have two ways of doing
> > such semantically equivalent things, because this can easily
>
> This is true; but it doesn't apply.  Attribution is not the same as
> structure; the problem is not that we have two ways of doing
> essentially the
> same thing, its that we try to model two essentially different things  in
> the same way.  Getting rid of attributes fixes the wrong problem.  XML and
> similar languages represent attempts to model the way we think, and its
> pretty indisputable that the mind (well, the Western mind, in any case)
> thinks about the world in terms of things, their properties, and their
> relations to other things.  The warm fuzzy glow  Tim has observer comes, I
> suspect, when people find they can think with an artificial
> language in the
> same way they think ordinarily.  Or maybe it's the relief they feel when
> they realize that the computer geeks have not rammed yet another round peg
> through a square hole.
>
> A man has red hair and a dog.  To suggest that his relationship with his
> hair (or its redness) is no different than his relationship with
> his dog is,
> well, shocking.  It's an outrage!
>
> >
> > I would conclude that attributes were a truly unfortunate
> > decision, and we
>
> Not the fact of attribution, but the horrible way in which it is modeled,
> for which we can thank SGML.  "Groves" is even more monstrous in its
> treatment of this.
>
> Sincerely,
>
> -gregg
> (The opinions expressed in this screed should not be attributed to my
> employer, only to me.)
>
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



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.