Hello, having the same problem I decided to rewrite the file before parsing it. I use code below to be sure of the utf8 content :
the file is not modified when the parser begins, it leads to the same old java.net.UnknownHostException: because of the dtd. Have I done something wrong? thanks in advance.