OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] [newbie] Mapping a Map 101?

[ Lists Home | Date Index | Thread Index ]


On Dec 13, 2004, at 14:13, Elliotte Harold wrote:

> I wouldn't rely on sibling relationships.

Ok. Why would relying on such relationships be a "bad" thing though? 
What are the benefits of introducing an <entry> tag in the <dict> 
structure?

As far as a dictionary goes, one could be as "succinct" as a succession 
of key value pairs:

<dict>
     <string>aKey</string>
     <integer>123</integer>
</dict>

In this case, the "meaning" of the elements is defined by their 
relative ordering. How "bad" is it that the "semantic" of the elements 
is not explicitly spelled out? Pros? Cons?

> I might also rethink the notion of embedding the data types in the tag 
> names, but then again I might not.

Ok. I'm not quiet sure what you mean by "embedding the data types" 
though? Care to elaborate on this? How would an alternative version 
which does not embed data types looks like?

Thanks!

Cheers,

PA.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS