Get XML content from validator output body even when preceded by Java exception output