Hi,
I have a problem with whitespace handling of the default BaseX XML parser. If I have:
<s>and <a>this</a> is</s>
the parser deletes the spaces after "and" and before "is". Why not preserving the space as default option here? This kind of space is very important.
I know that with adding xml:space I can solve the problem, but this is not easy to do automatically (moreover I cannot do this with copy/modify because all spaces are deleted after adding xm:space ).
Is there a parameter which forces the parser to keep the spaces, without modifying the file? And in general, can the behavior of the parser be changed?