Added special case for 'character X is not allowed in attribute Y'