Made this protected: 
List<XmlValidationError> validateXml(String xmlPathName, Resource
resource)