lib/xml: don't rely on zero terminated XML for debug
lib/xml: don't rely on zero terminated XML for debug

Only print the number of characters present in the buffer.

Signed-off-by: David Disseldorp <589a549dc9f982d9f46aeeb82a09ab6d87ccf1d8@suse.de>

ddiss/elasto,ddiss/elasto