[xml] xmlOutputBufferGetSize and xmlOutputBufferGetContent

2013-06-05 Thread Breno Silva
Hello guys, I have a feature where i get an element using xmlGetProp then i change it and re-set using xmlSetProp. Using the old libxml2 (2.7.6) i could copy the right http response body to a local buffer just accessing the output->buffer->content memcpy(buf, output_buf->buffer->content, output_

Re: [xml] xmlOutputBufferGetSize and xmlOutputBufferGetContent

2013-06-05 Thread Breno Silva
Hello, Doing some tests even in libxml2 2.7.6 it is not working as i would expect using xmlSetProp to change the values of href elements and then trying to access the content output->conv-content is not giving me the entire data, it is truncated. So i think i'm missing something. Any idea ? Tha