Trying to fix a Java xmpparse issue