[jdom-interest] Bug in XMLOutputter.skipLeadingWhite()

Philip Nelson panmanphil at yahoo.com
Wed Apr 17 20:15:32 PDT 2002

I have finally gotten back to updating the test suite.  After downloading the
latest in cvs and rerunning the tests, the serialization tests were still
failing.  I have traced the problem to the skipLeadingWhite method.  In my
serialization test, I have a document with two child nodes, a root node and no
whitespace.  This method should be returning 1 (I think) indicating that the
first non whitespace node is the first node in the content list.  Instead, it
returns the size of the content list, and the effective result is that
outputting of any child nodes is skipped.

I am going to update all the tests and leave the failing tests in there.  This
bug is probabably causing other problems for people, and the person with the
ejb serialization problem comes to mind, though it has nothing to do with
serialization.  If I have some exta time, I may get 'round to the fix as well.

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

More information about the jdom-interest mailing list