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

Re: Lessons learned from the XML experiment

  • From: Uche Ogbuji <uche@ogbuji.net>
  • Date: Thu, 14 Nov 2013 11:05:24 -0700

Re:  Lessons learned from the XML experiment
On Thu, Nov 14, 2013 at 11:00 AM, Timothy W. Cook <tim@mlhim.org> wrote:
On Thu, Nov 14, 2013 at 3:04 PM, Uche Ogbuji <uche@ogbuji.net> wrote:
...
> Although I'd never design XML like that. What on earth is wrong with the
> following?
>
>>
>> <person>
>>    <employer>
>>        <name>Megaco</name>
>>    </employer>
>>    <name>Fred Blogs</name>
>> <person>
>
>
> That's just as easy to process, and has the bonus of being easier to read.
>

Now, send that to someone else.

I do. Almost every day. I have done for some 15 years.

 
 Which of the several definitions of
'person' and 'employer' would you expect them to use?

Whichever one they need.

 
Your XML file has no semantic context.

What does that mean?

 
Therefore they are free to
interpret it as they wish, not necessarily how you meant it.

That doesn't matter to me. What matters is that we get work done. The idea that anyone will ever interpret any message I send, in any format, as I wish them to interpret it is utter hubris.

You said XML works fine for your little corner. Cool. XML with no namespaces works fine for my little corner.


--
Uche Ogbuji                                       http://uche.ogbuji.net
Founding Partner, Zepheira                  http://zepheira.com
Author, Ndewo, Colorado                     http://uche.ogbuji.net/ndewo/
Founding editor, Kin Poetry Journal      http://wearekin.org
Editor & Contributor, TNB     http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net    http://www.linkedin.com/in/ucheogbuji    http://twitter.com/uogbuji


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