OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: RFC: Attributes and XML-RPC

[ Lists Home | Date Index | Thread Index ]
  • From: Edd Dumbill <edd@usefulinc.com>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 21 Sep 1999 19:32:38 +0000

On Tue, Sep 21, 1999 at 08:49:56AM -0700, Dave Winer wrote:
> I agree that attributes are an unfortunate and unnecessary redundancy in
> XML. 

and Erik James Freed wrote:
> I would conclude that attributes were a truly unfortunate decision, and
> we will live to regret it more in the future,

<humour>
  Disturbing thought brewing: where would attribute-less XML leave XHTML?
</humour>

(I'm not wanting to cross-pollinate the XHTML thread with this one, by
the way!)

Some interesting presumptions come up in this thread, and attitudes vary
widely dependent on whether or not one comes from an SGML background or
not.

One point worth making is that readability and easy manual authoring is
very important for XML because of its application on the Web.  The best
HTML editor is still 'vi', and it can write XML too!  Take the SGML and
web heritage away and XML isn't any better than J Random
Delimited-Format.

The decision facing the XML DOCTYPE creator about element vs. attributes
is just the same one as faces the creator of an SQL schema, if you take
attributes == columns and elements == tables.  Perhaps because XML
documents are so easy to create we sometimes don't take as much care
over them as we would a database schema?

So if you want your spec to be free to evolve as demand requires, and
you're only likely to use machine-generated XML, there's no real need to
use attributes, agreed.

However, attributes not considered harmful.

I share in Tim's observed warm fuzzy glow from attributes, and imho
there's a pleasing, near-linguistic, aesthetic to a well-placed
attribute.

-- 
Edd

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS