> If ever you're having trouble finding and loading a document, you
> could try
> just using standard java.io.* classes to read it first and see if that
> works. e.g. does this work...
>
> BufferedReader in
> = new BufferedReader( new FileReader( ENGLISH_STAGING_FILE));
> String line = in.readLine();
Yep - I tried that long ago, that was why I knew it wasn't the file itself
that was the problem.
> If you can get that far, i.e. you are capable of opening and reading from
> the file on your environment then you can just pass in the Reader to the
> SAXReader. e.g.
>
> BufferedReader in
> = new BufferedReader( new FileReader( ENGLISH_STAGING_FILE));
> SAXReader saxReader = new SAXReader();
> Document doc = saxReader.read( in );
That works just fine. Very, very strange. I would say that there must be
something just a little broken somewhere in there, but I'm glad I can
continue my work.
Thanks for the help!
Regards,
Bruce Ritchie
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user