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
while reading.
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).
Sergei
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel