--- embedaddon/libxml2/doc/devhelp/libxml2-parserInternals.html 2012/02/21 23:37:59 1.1 +++ embedaddon/libxml2/doc/devhelp/libxml2-parserInternals.html 2014/06/15 19:53:36 1.1.1.3 @@ -2,7 +2,7 @@
-parserInternals - internals routines exported by the parser.
+parserInternals - internals routines and limits exported by the parser.
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.
Author(s): Daniel Veillard
Skips the end of line chars.
p: | and UTF8 string pointer |
#define XML_MAX_DICTIONARY_LIMIT; +
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 XML_PARSE_HUGE option to override it. Introduced in 2.9.0
+#define XML_MAX_LOOKUP_LIMIT; +
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
+#define XML_MAX_NAMELEN;
Identifiers can be longer, but this will be more costly at runtime.
#define XML_MAX_NAME_LENGTH; +
Maximum size allowed for a markup identitier This is not a limitation of the parser but a safety boundary feature, use XML_PARSE_HUGE 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
+#define XML_MAX_TEXT_LENGTH; -
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 XML_PARSE_HUGE option to override it.
+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 XML_PARSE_HUGE option to override it. Introduced in 2.9.0
#define XML_SUBSTITUTE_BOTH; @@ -412,7 +427,7 @@ void xmlParseEntityDecl<
ctxt: an XML parser context filename: the filename to use as entity Returns: the new input stream or NULL in case of error
xmlParserInputPtr xmlNewInputStream (xmlParserCtxtPtr ctxt)
-
Create a new input stream structure
+Create a new input stream structure.
ctxt: | an XML parser context |
Returns: | the new input stream or NULL |
xmlParserInputPtr xmlNewStringInputStream (xmlParserCtxtPtr ctxt,
const xmlChar * buffer)