Bug fix for XML escaping.