diff --git a/doc/program-sax.xml b/doc/program-sax.xml index 0f13c4cdb2e41047e3531fa28a2003caf0f4f7be..54469cf54609fd39a1d50170ad66d10d8c11ab4d 100644 --- a/doc/program-sax.xml +++ b/doc/program-sax.xml @@ -477,6 +477,26 @@ void MySAXHandler::fatalError(const SAXParseException& exception) performed. </td></tr> <tr><th><em>Value Type</em></th><td> SecurityManager* </td></tr> + </table> + + <p/> + + <table> + <tr><th + colspan="2"><em>setInputBufferSize(const size_t bufferSize)</em></th></tr> + <tr><th><em>Description</em></th> + <td> + Set maximum input buffer size. + This method allows users to limit the size of buffers used in parsing + XML character data. The effect of setting this size is to limit the + size of a ContentHandler::characters() call. + The parser's default input buffer size is 1 megabyte. + </td></tr> + <tr><th><em>Value</em></th> + <td> + The maximum input buffer size + </td></tr> + <tr><th><em>Value Type</em></th><td> XMLCh* </td></tr> </table> <p/> </s3> diff --git a/doc/program-sax2.xml b/doc/program-sax2.xml index 739f058affb3e72afa4f913864fcd2bcc0e4438c..75f140d860499dd6c53dc6936f75f970a2b33109 100644 --- a/doc/program-sax2.xml +++ b/doc/program-sax2.xml @@ -536,6 +536,27 @@ void MySAX2Handler::fatalError(const SAXParseException& exception) <tr><th><em>Value Type</em></th><td> SecurityManager* </td></tr> <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesSecurityManager </td></tr> </table> + + <p/> + + <table> + <tr><th + colspan="2"><em>setInputBufferSize(const size_t bufferSize)</em></th></tr> + <tr><th><em>Description</em></th> + <td> + Set maximum input buffer size. + This method allows users to limit the size of buffers used in parsing + XML character data. The effect of setting this size is to limit the + size of a ContentHandler::characters() call. + The parser's default input buffer size is 1 megabyte. + </td></tr> + <tr><th><em>Value</em></th> + <td> + The maximum input buffer size + </td></tr> + <tr><th><em>Value Type</em></th><td> XMLCh* </td></tr> + </table> + <p/> </s4> </s3>