[jdom-interest] serialization test failure after the last cvs release

Bradley S. Huffman hip at a.cs.okstate.edu
Wed Apr 10 09:28:05 PDT 2002

Philip Nelson writes:

> I tracked this test failure in TestElement and TestDocument down.  Doesn't ha
> ve
> anything to do with serialization unfortunately for the EJB problem somebody 
> is
> having.  It seems (and  can't verify this while on the road) that the behavio
> ur
> of XMLOutputter.output(element, writer) (or printElement) has changed.  It us
> ed
> to recursively output element content but now only outputs the content of the
> element passed in.  Is that the intended behaviour now?

Definitely not.

> The tests are failin
> g
> because after deserializing, I output the element to a stringwriter and compa
> re
> against another string.  The child content got lost as a result of the change
> .

I get the same results when I run the tests against the latest cvs, but not
the b8 download.  Looks like CDATA extending Text has some side effects.


More information about the jdom-interest mailing list