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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [SML] Whether to support Attribute or not?

[ Lists Home | Date Index | Thread Index ]
  • From: "Reynolds, Gregg" <greynolds@datalogics.com>
  • To: 'Sean McGrath' <digitome@iol.ie>, xml-dev@ic.ac.uk
  • Date: Mon, 29 Nov 1999 18:02:12 -0600

> -----Original Message-----
> From: Sean McGrath [mailto:digitome@iol.ie]
> Sent: Sunday, November 28, 1999 3:49 AM
> >If you really want simplicity, why not make *all* the attribute names
> >explicit, instead of exempting only the generic identifier ("GI").
> ..snip..
> Turn it around for a moment. Think of it this way:
> 	1) elements are elements
> 	2) attribute values are kinda-sort elements except that they
> 	are constrained in various ways.

Beggin the question.  2 points deducted.  ;)

> Simplification:
> 	1) Make all attributes elements
> 
> Expressive power lost = 0
> 

Hm.  By my calculation, ExPow lossage = 50%.  I had a syntactic means of
expressing two different notions; now everything is one stew of elements.
I've lost the syntactic analog of what goes on in my itty bitty grey cell.

Most of the debate seems centered on what might make life easier for
software.  If that's the criterion, then no-atts wins by a mile.  But if the
criterion is making life easier for the writer/reader/designer of texts
(i.e. xml docs), then attributes are definitely in.

-gregg

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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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