Java XML processing with various parsers