Re: [xml-dev] Lessons learned from the XML experiment

From
Pete Cordell <>
To
Uche Ogbuji <>
Date
2013-11-14T18:52:13
ID
<ECF21F6B21E345E6A73008A6986DCA42@codalogic>
Thread
Re: [xml-dev] Lessons learned from the XML experiment
----- Original Message From: "Uche Ogbuji"
> On Thu, Nov 14, 2013 at 9:48 AM, Pete Cordell 
> <>wrote:
> What on earth is wrong with
> the following?
>
>
>> <person>
>>    <employer>
>>        <name>Megaco</name>
>>    </employer>
>>    <name>Fred Blogs</name>
>> <person>

For my money it doesn't take into account Murphy's Law well enough.  YMMV. 
And if the system does morph so that there become two person or employer 
labelled objects then the distinction has to be carried out of band and we 
all know how that can end in tears!

Pete Cordell
Codalogic Ltd
C++ tools for C++ programmers, http://codalogic.com
Read & write XML in C++, http://www.xml2cpp.com