remove whitespace
Replace equality-check with a semantic counterpart to avoid non-deterministic behaviour of JAXB. (it tends not to assign namespace-identifiers in the same way every time)