Bug#794113: xmlindent is incorrectly consuming whitespace within text nodes

2015-07-30 Thread Miriam Ruiz
The issue seems to be around the function static void eat_whitespace(void) in indent.c. If that function is emptied by commenting out its contents, the issue does not appear: $ ./xmlindent ../a.xml a bc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject o

Bug#794113: xmlindent is incorrectly consuming whitespace within text nodes

2015-07-30 Thread Miriam Ruiz
Package: xmlindent Version: 0.2.17-3 Severity: important $ echo "a glass of water" | xmlindent aglass of water The result should be: "a glass", not "aglass". Some tests to get an idea of the situations in which the issue arises: $ echo "a b c" | xmlindent a b c OK $ echo