diff options
Diffstat (limited to 'doc/devhelp/libxml2-parserInternals.html')
-rw-r--r-- | doc/devhelp/libxml2-parserInternals.html | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/doc/devhelp/libxml2-parserInternals.html b/doc/devhelp/libxml2-parserInternals.html index d56ab17..915ad5b 100644 --- a/doc/devhelp/libxml2-parserInternals.html +++ b/doc/devhelp/libxml2-parserInternals.html @@ -2,7 +2,7 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title>parserInternals: internals routines exported by the parser.</title> + <title>parserInternals: internals routines and limits exported by the parser.</title> <meta name="generator" content="Libxml2 devhelp stylesheet"/> <link rel="start" href="index.html" title="libxml2 Reference Manual"/> <link rel="up" href="general.html" title="API"/> @@ -38,7 +38,7 @@ <h2> <span class="refentrytitle">parserInternals</span> </h2> - <p>parserInternals - internals routines exported by the parser.</p> + <p>parserInternals - internals routines and limits exported by the parser.</p> <p>this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing. </p> <p>Author(s): Daniel Veillard </p> <div class="refsynopsisdiv"> @@ -55,14 +55,17 @@ #define <a href="#IS_LETTER">IS_LETTER</a>(c); #define <a href="#IS_IDEOGRAPHIC">IS_IDEOGRAPHIC</a>(c); #define <a href="#MOVETO_STARTTAG">MOVETO_STARTTAG</a>(p); +#define <a href="#XML_MAX_NAME_LENGTH">XML_MAX_NAME_LENGTH</a>; #define <a href="#IS_ASCII_LETTER">IS_ASCII_LETTER</a>(c); #define <a href="#IS_DIGIT">IS_DIGIT</a>(c); +#define <a href="#XML_MAX_DICTIONARY_LIMIT">XML_MAX_DICTIONARY_LIMIT</a>; #define <a href="#XML_SUBSTITUTE_PEREF">XML_SUBSTITUTE_PEREF</a>; #define <a href="#MOVETO_ENDTAG">MOVETO_ENDTAG</a>(p); #define <a href="#SKIP_EOL">SKIP_EOL</a>(p); #define <a href="#IS_EXTENDER_CH">IS_EXTENDER_CH</a>(c); #define <a href="#IS_BLANK_CH">IS_BLANK_CH</a>(c); #define <a href="#IS_LETTER_CH">IS_LETTER_CH</a>(c); +#define <a href="#XML_MAX_LOOKUP_LIMIT">XML_MAX_LOOKUP_LIMIT</a>; #define <a href="#XML_MAX_TEXT_LENGTH">XML_MAX_TEXT_LENGTH</a>; #define <a href="#XML_SUBSTITUTE_NONE">XML_SUBSTITUTE_NONE</a>; #define <a href="#IS_COMBINING">IS_COMBINING</a>(c); @@ -263,12 +266,24 @@ void <a href="#xmlParseEntityDecl">xmlParseEntityDecl</a> (<a href="libxml2-tre </pre><p>Skips the end of line chars.</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>p</tt></i>:</span></td><td>and UTF8 string pointer</td></tr></tbody></table></div> </div> <hr/> + <div class="refsect2" lang="en"><h3><a name="XML_MAX_DICTIONARY_LIMIT">Macro </a>XML_MAX_DICTIONARY_LIMIT</h3><pre class="programlisting">#define <a href="#XML_MAX_DICTIONARY_LIMIT">XML_MAX_DICTIONARY_LIMIT</a>; +</pre><p>Maximum size allowed by the parser for a dictionary by default This is not a limitation of the parser but a safety boundary feature, use <a href="libxml2-parser.html#XML_PARSE_HUGE">XML_PARSE_HUGE</a> option to override it. Introduced in 2.9.0</p> +</div> + <hr/> + <div class="refsect2" lang="en"><h3><a name="XML_MAX_LOOKUP_LIMIT">Macro </a>XML_MAX_LOOKUP_LIMIT</h3><pre class="programlisting">#define <a href="#XML_MAX_LOOKUP_LIMIT">XML_MAX_LOOKUP_LIMIT</a>; +</pre><p>Maximum size allowed by the parser for ahead lookup This is an upper boundary enforced by the parser to avoid bad behaviour on "unfriendly' content Introduced in 2.9.0</p> +</div> + <hr/> <div class="refsect2" lang="en"><h3><a name="XML_MAX_NAMELEN">Macro </a>XML_MAX_NAMELEN</h3><pre class="programlisting">#define <a href="#XML_MAX_NAMELEN">XML_MAX_NAMELEN</a>; </pre><p>Identifiers can be longer, but this will be more costly at runtime.</p> </div> <hr/> + <div class="refsect2" lang="en"><h3><a name="XML_MAX_NAME_LENGTH">Macro </a>XML_MAX_NAME_LENGTH</h3><pre class="programlisting">#define <a href="#XML_MAX_NAME_LENGTH">XML_MAX_NAME_LENGTH</a>; +</pre><p>Maximum size allowed for a markup identitier This is not a limitation of the parser but a safety boundary feature, use <a href="libxml2-parser.html#XML_PARSE_HUGE">XML_PARSE_HUGE</a> option to override it. Note that with the use of parsing dictionaries overriding the limit may result in more runtime memory usage in face of "unfriendly' content Introduced in 2.9.0</p> +</div> + <hr/> <div class="refsect2" lang="en"><h3><a name="XML_MAX_TEXT_LENGTH">Macro </a>XML_MAX_TEXT_LENGTH</h3><pre class="programlisting">#define <a href="#XML_MAX_TEXT_LENGTH">XML_MAX_TEXT_LENGTH</a>; -</pre><p>Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use <a href="libxml2-parser.html#XML_PARSE_HUGE">XML_PARSE_HUGE</a> option to override it.</p> +</pre><p>Maximum size allowed for a single text node when building a tree. This is not a limitation of the parser but a safety boundary feature, use <a href="libxml2-parser.html#XML_PARSE_HUGE">XML_PARSE_HUGE</a> option to override it. Introduced in 2.9.0</p> </div> <hr/> <div class="refsect2" lang="en"><h3><a name="XML_SUBSTITUTE_BOTH">Macro </a>XML_SUBSTITUTE_BOTH</h3><pre class="programlisting">#define <a href="#XML_SUBSTITUTE_BOTH">XML_SUBSTITUTE_BOTH</a>; |