Re: [xml-dev] Six Reasons Not to use XML Attributes

From
Uche Ogbuji <>
To
Date
2012-03-02T17:53:07Z
ID
<CAPJCua12KB5rDZeVfdhFzYt9Bh6RL6R+wUyhtO=>
Thread
Re: [xml-dev] Six Reasons Not to use XML Attributes
On Fri, Mar 2, 2012 at 10:20 AM, John Cowan <[email protected]> wrote:
Uche Ogbuji scripsit:

> Excellent stuff. I'll throw in my own bits:
>
> http://www.ibm.com/developerworks/xml/library/x-eleatt/index.html

En passant, I disagree with you that a simple text element is the wrong
way to represent a personal name (although it should be repeatable).
See my rant "Against Structured Names and Telephone Numbers" at
https://docs.google.com/document/d/1Of_rL8gMtHcfPaE5DfZ1xahrOtOaxFEHiQkcxvvR3lY


I think that if you have a straight-up name field, you either end up being culturally obtuse or  also needing a bunch of parallel fields for various collation scenarios.  I think we can both agree than treating names is harder than most developers think, and the point of my advice was to get that pont across. As to the details of structured names, I definitely hear your rant. Sometimes I think e.g. TEI's treatment is absolute genius, and sometimes I think it's ludicrous over-engineering, and often I carry both thoughts at the very same time.


--
Uche Ogbuji                       http://uche.ogbuji.net
Weblog: http://copia.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira        http://zepheira.com
Linked-in: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji