fixed small error checking missing in createViolationsFromXml: (xml).
Merge pull request #104 from GOUPIL-Robin/master

fixed small error checking missing in createViolationsFromXml: (xml).