Closes #170: invalid xml-report after parsing traits
Changes documented.