Parsing invalid xml chars through a string buffer to deal with heap overlow issues on large set of data.