abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Controlling serialization w/extensions
Date Wed, 28 Feb 2007 06:08:22 GMT
Adam Constabaris wrote:
> I'm currently trying to track down the cause of some bad output from my
> Provider's getFeed() method (building against trunk).   I'm not sure
> whether it's a bug yet.  I've written an ExtensionFactory because my
> entries contain some Dublin Core elements, but the namespace handling on
> output isn't working correctly -- in some environments.  When I run my
> provider in a servlet container, only the first atom:entry element in
> the output contains declarations for the DC namespace; subsequent
> atom:entry elements lack the declarations.  Tests mimicking the servlet
> environment as closely as possible don't exhibit the same problem.

Hmm... I'm not able to actually duplicate this at all.  Is there any
chance you could put together a complete test case (code) that recreates
the problem every time and put it into Jira?

> This symptom suggests that there's a bug in the serializer somewhere
> ("I've already output a declaration for those, so I don't need to do it
> again"), but the successful unit tests don't fit with that diagnosis. 

Which Stax parser are you using, btw?

- James

View raw message