[jdom-interest] Error on line -1: Premature end of file

J. McConnell jdotmc at gmail.com
Mon Dec 26 09:08:46 PST 2005

On 12/26/05, Mehrshad Setayesh <mehrshad at collectiveintellect.com> wrote:
> Every once in a while, I get the following exception when trying to read in
> my XML file. The file looks ok and seems to be valid. Any hints would be
> appreciated.

I don't know if parsers fail on this, but is it possible that you are
missing a newline at the end of the file?  Other than that, I couldn't
begin to guess without the XML.

- J.

More information about the jdom-interest mailing list