Re: [xml] about xmlReadMemory()

2021-03-02 Thread nicolas bats via xml
Thank you Nick for your answer, I'll give a try to xmlReadIO. thanks again. ++ Le mar. 2 mars 2021 à 18:02, Nick Wellnhofer a écrit : > On 02/03/2021 16:28, nicolas bats via xml wrote: > > Hi, > > is there's a reason why xmlReadMemory > >

Re: [xml] about xmlReadMemory()

2021-03-02 Thread Nick Wellnhofer via xml
On 02/03/2021 16:28, nicolas bats via xml wrote: Hi, is there's a reason why xmlReadMemory () accepts int as the size of the array to transform to xmlDocPtr. no doubt there's one... That's simply a design mistake. The API was created

[xml] about xmlReadMemory()

2021-03-02 Thread nicolas bats via xml
Hi, is there's a reason why xmlReadMemory () accepts int as the size of the array to transform to xmlDocPtr. no doubt there's one... and in that case how could I retrieve a xmlDocPtr from memory where size is type of size_t? thank you,