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

Re: Six Reasons Not to use XML Attributes

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: Uche Ogbuji <uche@ogbuji.net>
  • Date: Fri, 2 Mar 2012 13:21:47 -0500

Re:  Six Reasons Not to use XML Attributes
Uche Ogbuji scripsit:

> 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.

That's what I meant by the field needing to be repeatable.  Chris
Maden devised the system that $EMPLOYER is using, which involves
personNameProfile elements which are themselves repeatable, and which have
children for purpose, pattern (what order to put the textual elements in),
the (meta-)name of this profile, full name, and five elements for name
parts: givenName (repeatable), familyName (repeatable), prefix, suffix,
nickname, and full name, all of which are optional.  There is continual
pressure to add middleName, but so far we have effectively resisted it:
canonical U.S. middle names are additional given names.

> 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.

Yes.

> 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.

Pointer to that?  I'm always interested in designs on this point.

-- 
John Cowan  cowan@ccil.org   http://ccil.org/~cowan
It's the old, old story.  Droid meets droid.  Droid becomes chameleon.
Droid loses chameleon, chameleon becomes blob, droid gets blob back
again.  It's a classic tale.  --Kryten, Red Dwarf


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.