tDOM/tdom — Issue #6: DOM parser ignores xml:space="preserve"
Author: dkfellows
Created: 2011-10-27 15:10:59+00:00
State: open

Following up on http://stackoverflow.com/q/7908627/301832 which gives the full background.

If you have a document containing an element with the attribute xml:space="preserve" then the spaces in the content of that element should be preserved _even if -keepSpaces is not specified_. This is the defined behavior of xml:space (there may be other types of space management that should be applied by default, but this is the critical one).