Handle xml:space="default" white spaces (fixes #1270)