Happy New Year.

I want to add content to an atom:entry, but it's intended for use by 
computers not humans. I know atom:content can hold arbitrary XML, but I'm 
not sure if I should use that or if I should put it as a direct child of 
the atom:entry element.

I don't like usurping the "human-readable" intent of atom:content. Also, 
since it's Language-Sensitive, I have a slight concern about someone 
translating machine field names and the like. There's a (slight) chance 
that the content could from different components, which is why I prefer 
inserting elements into atom:entry instead of "rewriting" atom:content.  I 
don't have any justficiation for that other than "gut feel" however.

I want to be able to associate a schema with the data (see 
http://www.ibm.com/developerworks/blogs/page/soma), and using atom:entry 
seems cleaner.  But it's a small matter to say the schema link relation is 
scoped to the atom:entry atomInlineOtherContent type.

So, what should I do?

        /r$

--
Visiting Member, IBM Academy
STSM, DataPower Chief Programmer
WebSphere DataPower SOA Appliances
http://www.ibm.com/software/integration/datapower/

Reply via email to