[xml] Repetitive structures and empty tags



Hallo Daniel, Hallo All!


<Data><EmptyTag/></Data>
<Data><EmptyTag/></Data>
<Data><EmptyTag/></Data>
<Data><EmptyTag/></Data>
           .
           .
           .
<Data><EmptyTag/></Data>

Parsing something like that causes, at least in my code, following libxml
error messages:
xmlBufferResize : out of memory!
xmlBufferAdd : out of memory!

I tried different repetitive structures and it worked but a empty tag like
above causes that memory problem. I had to read (SAX parser,
xmlParseChunk(..) ) more than 1000 lines of that structure to cause the
error.

What do you think did I found a bug or am I doing something wrong?


Heico amatec de


Attachment: Heinrich Mueller.vcf
Description: Vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]