The parser returns a string which is "line1\nline2\nline3" without the final \n.
My question is .. Is this bug if the xml parser does not return the final \n?
Well, the problem is somewhat fuzzy...
Quote:
This is how I fixed it:
Add this line to xmlparser class definition:
void Preserve(bool b) { npreserve = b; }
I have implemented very similar fix, only instead of using npreserve I have used another bool attribute.