Hi Matthieu, yesterday evening I detect the problem by debugging. I solve it by using a calloc instead of malloc, so that the buffer is already well terminated. So we are reaching the same problem. Thanks, Ermanno
Update: also if you replace the last '+' with '=' it not works.
XMLDoc_parse_buffer_DOM bug