Guard plugin for checking XML files for well-formedness and validity