Pavel Ilyashenko wrote:
Hi,

In our application we use Xerces's API SAXParser::*parse* (const InputSource
&source).



During  enforcement after its work we have seen that the function

XMLReader::*refreshCharBuffer*() calls to
BinFileInputStream::*readBytes*(XMLByte
*const   toFill,    const unsigned int  maxToRead) function.

One of *readBytes* function's parameters defines the max amount bytes which
will be read.

So my question is: How we can control this value? Does it some environment
variable or something else?
It's a compile-time constant defined in xercesc/internal/XMLReader.hpp:

    enum Constants
    {
        kCharBufSize        = 16 * 1024
        , kRawBufSize       = 48 * 1024
    };

Dave

Reply via email to