The problem is that there are some xml files which have no header information available in the xml. When parsing an xml file vtd-xml uses utf-8 by default and throws an exception saying cannot parse document. (the xml encoding is 8859-2 but no header information for that.)
I tried to use -Dfile.encoding=iso-8859-2 but it does not help.
Question: How can I set (default) encoding for the xml file ?