From: Marc Sanfacon (sanm@copernic.com)
Date: Mon Dec 11 2000 - 14:45:16 EST
I found the problem. It is in encoding.c
line 1810:
toconv = in->use;
if (toconv == 0)
return(0);
written = out->size - out->use;
if (toconv * 2 >= written) {
/* Old line: xmlBufferGrow(out, toconv * 2); */
xmlBufferGrow(out, out->size + toconv * 2);
written = out->size - out->use - 1;
}
Marc.
> -----Original Message-----
> From: xml-request@rufus.w3.org [mailto:xml-request@rufus.w3.org]
> On Behalf Of Marc Sanfacon
> Sent: December 7, 2000 10:30 AM
> To: 'xml@rpmfind.net'
> Subject: HTML Parser problem with big files.
>
> We have encountered a problem with the HTMLParser when parsing a file that
> has big nodes. The parser returns a part of the node only (about 30K). I
> have attached a file that causes this problem.
>
> Regards,
> Marc.
>
> << File: ATT00013.txt >>
> << File: 09.htm >>
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Mon Dec 11 2000 - 15:43:54 EST