At the moment we have a bunch of if conditions for parsing the XMLs, and we also use regular expressions.
Yesterday I committed a fix for a NPE that happened because of one of these if's. This is still possible to happen, and makes our code less readable and brittle.