We can avoid accessing these classes by checking whether there actually is a META-INF/validation.xml file prior to loading XmlParserHelper.