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: "Dave Winer" <dave@userland.com>
  • To: "Mark Nutter" <mnutter@fore.com>, <xml-dev@ic.ac.uk>
  • Date: Wed, 22 Sep 1999 06:43:39 -0700

>>The "warm fuzzy" feeling you get from attributes may just be relief that
you don't have to type so much!  But that's an accidental consequence of
the fact that we have to write our XML by hand--a more automated process
would have no such feelings.  Attributes are a shortcut that make XML
easier to code by hand, at the cost of introducing a certain amount of
unavoidable ambiguity regarding how a given piece of data should be
modelled.

Bravo!

Exactly right.

We trade off warm fuzzies for future expandability, when with a little more
thought and another layer, we could have both.

Sometimes software design requires this kind of insight.

In XML-RPC, you almost never look at the payload, and you never write it by
hand.

Other kinds of XML we do write by hand, and in those cases, attributes are
very welcome and nice.

But for the boiler-room applications, the ones that humans never type by
hand, you have to watch out for those trade-offs.

Dave


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