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

Re: Pragmatic namespaces

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "Michael Kay" <mike@saxonica.com>,"'Tim Bray'" <Tim.Bray@S...>
  • Date: Thu, 6 Aug 2009 10:39:15 +0100

Re:  Pragmatic namespaces
Original Message From: "Michael Kay"

>
>>
>> Non-reversed still works better for me, i.e.:
>>
>> <father.donkeys.tbray.org>
>> <birth-date.donkeys.tbray.org>
>> <feed.atom.ietf.org>
>> <entry.atom.ietf.org>
>>
>> It's easier to read, code completion tools will work better
>> and non-programmers will understand it more readily.
>>
>
> Reversed works better for me.
>
> Indeed reversed would work better in DNS: the old UK Janet email addresses
> used major-to-minor ordering, which is far more logical and is far more
> common in "designed" hierarchic naming schemes (phone numbers, Dewey 
> decimal
> codes, IP addresses): postal addresses, Western personal names, and UK 
> date
> formats are exceptions to the rule.

I disagree that they are exceptions.  They have equal merit.

E-mail addresses are minor to major.  I can just look at the start, e.g. 
john.smith, and I know who an e-mail is from, as opposed to having to scan 
all of com.gmail@smith.john.  Not a big issue with an e-mail address, but 
with hundreds of tags it makes a difference.

Also, in my e-mail client, if I typed jo, it would probably suggest 
john.smith@gmail.com.  One more tab and I'm done.  With the other scheme I 
would have to type com.gmail@sm or similar before it became unambiguous. 
Again, not a problem with an e-mail address, but it makes a difference with 
hundreds of tags.

> I don't think phone users have ever had trouble understanding that you add 
> a
> prefix to the number if you're calling from outside the local area.

Doesn't seem a compelling argument for reversed names to me.  I'm sure if 
the phone system could cope with suffixed area codes, the users could cope 
with it too.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info




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