extract whitespace processing to new XML class

https://bugs.eclipse.org/bugs/show_bug.cgi?id=408453
2 files changed