Tuscany currently supports two Collection interfaces for the Atom Binding, one based on the Apache Abdera models, and another based on generics that uses Tuscany Databinding to transform the atom content to business objects. TUSCANY-2939 expose the scenario where you want to use the generic collection and reference a regular atom feed with html entries, which causes NPE exceptions due to databinding framework trying to parse html as xml. For now, I have a fix/workaround that checks the feed entry content type, and only uses the databinding framework when the contents are XML and default back to a Item when the content type is HTML, but wanted to hear from the databinding experts if there is any better solution here...
Thoughts ? -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
