added XML assertion listener