On Sat, Jul 12, 2008 at 11:25 PM, David Primmer <[EMAIL PROTECTED]> wrote:
> I haven't looked too far for prior art in this area but the youtube > api does have an approach to formatting error response bodies: > [CUT] I was thinking at something similar for the error reporting part: we could use custom namespaced elements for reporting errors to clients, the same way as YouTube does. However, I think the most important changes have to be made to the Abdera server implementation, in order to properly gather error conditions. For example, the whole Atom validation stuff, currently performed by the ProviderHelper class, could be refactored (where "refactoring" here is somewhat improperly used, but you get the idea) in order to be performed by a specific "Validator" class, which would better handle error conditions. There would probably be several refactorings/modifications, so I'd like to know if you, guys, are interested in such an issue. Thanks, Cheers, Sergio B. -- Sergio Bossa Software Passionate, Java Technologies Specialist and Open Source Enthusiast. Blog : http://sbtourist.blogspot.com Sourcesense - making sense of Open Source : http://www.sourcesense.com Pro-netics s.p.a. : http://www.pronetics.it