expat/doc reference.html,1.59,1.60
"Fred L. Drake" <[email protected]> Thu, 15 Jul 2004 19:31:30 -0700
| Newsgroups | gmane.text.xml.expat.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/expat/expat/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16507 Modified Files: reference.html Log Message: added more detail about XML_CONTEXT_BYTES Index: reference.html =================================================================== RCS file: /cvsroot/expat/expat/doc/reference.html,v retrieving revision 1.59 retrieving revision 1.60 diff -u -d -r1.59 -r1.60 --- reference.html 16 Jul 2004 02:10:57 -0000 1.59 +++ reference.html 16 Jul 2004 02:31:27 -0000 1.60 @@ -345,10 +345,11 @@ <dd>The number of input bytes of markup context which the parser will ensure are available for reporting via <code><a href= "#XML_GetInputContext" >XML_GetInputContext</a></code>. This is -normally set to 1024. If this is not defined, the input context will -not be available and <code><a href= "#XML_GetInputContext" ->XML_GetInputContext</a></code> will always report NULL. Without -this, Expat has a smaller memory footprint and can be faster.</dd> +normally set to 1024, and must be set to a positive interger. If this +is not defined, the input context will not be available and <code><a +href= "#XML_GetInputContext" >XML_GetInputContext</a></code> will +always report NULL. Without this, Expat has a smaller memory +footprint and can be faster.</dd> <dt>XML_STATIC</dt> <dd>On Windows, this should be set if Expat is going to be linked @@ -1685,6 +1686,9 @@ <p>Only a limited amount of context is kept, so if the event triggering a call spans over a very large amount of input, the actual parse position may be before the beginning of the buffer.</p> + +<p>If <code>XML_CONTEXT_BYTES</code> is not defined, this will always +return NULL.</p> </div> <h3><a name="miscellaneous">Miscellaneous functions</a></h3>