[fpc-devel] XML Stream capacity

2010-01-14 Thread Leonardo M . Ramé
I'm using fcl-xml to parse a XML data from a TMemoryStream/TStringStream and noted it can parse streams with a maximum capacity of 4096 bytes, why can't it receive bigger streams?. The maximum capacity is defined in the constructor of TXMLStreamInputSource, in XMLRead.pp. -

Re: [fpc-devel] XML Stream capacity

2010-01-14 Thread Sergei Gorelkin
Leonardo M. Ramé wrote: I'm using fcl-xml to parse a XML data from a TMemoryStream/TStringStream and noted it can parse streams with a maximum capacity of 4096 bytes, why can't it receive bigger streams?. The maximum capacity is defined in the constructor of TXMLStreamInputSource, in XMLRead.

Re: [fpc-devel] XML Stream capacity

2010-01-14 Thread Leonardo M . Ramé
onger deppends on AVL_Tree, that wasn'n thread safe. I attached the file I'm using for testing. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Thu, 1/14/10, Sergei Gorelkin wrote: > From: Sergei Gorelkin > Subject: Re: [fpc-devel] XML Stream capacity > To: "

Re: [fpc-devel] XML Stream capacity

2010-01-14 Thread Sergei Gorelkin
Leonardo M. Ramé wrote: Thanks Sergey. I tought that was why my program was stopping with an assertion in procedure TNodePool.AddExtent of dom.pp, the assertion dissapears when I work with smaller XML files. BTW: the file worked with older versions of fcl-xml, now I'm using the trunk version

Re: [fpc-devel] XML Stream capacity

2010-01-14 Thread Leonardo M . Ramé
Yes!, thank you very much Sergei. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Thu, 1/14/10, Sergei Gorelkin wrote: > From: Sergei Gorelkin > Subject: Re: [fpc-devel] XML Stream capacity > To: "FPC developers' list" > Date: Thursday, January 14, 2010,