--- 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. @@ -38,7 +38,7 @@

parserInternals

-

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

@@ -55,14 +55,17 @@ #define IS_LETTER(c); #define IS_IDEOGRAPHIC(c); #define MOVETO_STARTTAG(p); +#define XML_MAX_NAME_LENGTH; #define IS_ASCII_LETTER(c); #define IS_DIGIT(c); +#define XML_MAX_DICTIONARY_LIMIT; #define XML_SUBSTITUTE_PEREF; #define MOVETO_ENDTAG(p); #define SKIP_EOL(p); #define IS_EXTENDER_CH(c); #define IS_BLANK_CH(c); #define IS_LETTER_CH(c); +#define XML_MAX_LOOKUP_LIMIT; #define XML_MAX_TEXT_LENGTH; #define XML_SUBSTITUTE_NONE; #define IS_COMBINING(c); @@ -263,12 +266,24 @@ void xmlParseEntityDecl<

Skips the end of line chars.

p:and UTF8 string pointer

+

Macro XML_MAX_DICTIONARY_LIMIT

#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

+
+
+

Macro XML_MAX_LOOKUP_LIMIT

#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

+
+

Macro XML_MAX_NAMELEN

#define XML_MAX_NAMELEN;
 

Identifiers can be longer, but this will be more costly at runtime.


+

Macro XML_MAX_NAME_LENGTH

#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

+
+

Macro XML_MAX_TEXT_LENGTH

#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


Macro XML_SUBSTITUTE_BOTH

#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

xmlNewInputStream ()

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

xmlNewStringInputStream ()

xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)