jenkinsci/cobertura-plugin — pull request #9 by ndeloof (2012-09-04 14:11:47+00:00)
Title: [JENKINS-15035] quick check report files identified by pattern to be xml...

validate xml prolog as a quick sanity test to avoid archiving invalid "coverage" files when user defined pattern is not well configured.
Would be even better to fully validate xml file and coverage DOCTYPE but more resource consuming