[fpc-devel] XML Stream capacity
sergei_gorelkin at mail.ru
Thu Jan 14 15:51:09 CET 2010
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.pp.
This value has nothing to do with total possible stream size, it is only the size of buffer used
The maximum size of XML data that can be read with DOM on a 32-bit machine is about 40 to 150 MBytes
(depending on the data structure).
More information about the fpc-devel