Switch to newer xml lib, use separate html emitting lib for embedded html in testng reports.