Validating XML Documents from Remote Sources in Java