--- embedaddon/libxml2/doc/devhelp/libxml2-parser.html 2012/02/21 23:37:59 1.1.1.1 +++ embedaddon/libxml2/doc/devhelp/libxml2-parser.html 2014/06/15 19:53:36 1.1.1.3 @@ -221,6 +221,7 @@ void xmlSetExter XML_WITH_DEBUG_RUN = 30 XML_WITH_ZLIB = 31 XML_WITH_ICU = 32 + XML_WITH_LZMA = 33 XML_WITH_NONE = 99999 /* just to be sure of allocation size */ };
@@ -307,7 +308,9 @@ void xmlSetExter XML_PARSE_OLD10 = 131072 /* parse using XML-1.0 before update 5 */ XML_PARSE_NOBASEFIX = 262144 /* do not fixup XINCLUDE xml:base uris */ XML_PARSE_HUGE = 524288 /* relax any hardcoded limit from the parser */ - XML_PARSE_OLDSAX = 1048576 /* parse using SAX2 interface from before 2.7.0 */ + XML_PARSE_OLDSAX = 1048576 /* parse using SAX2 interface before 2.7.0 */ + XML_PARSE_IGNORE_ENC = 2097152 /* ignore internal document encoding hint */ + XML_PARSE_BIG_LINES = 4194304 /* Store big lines numbers in text PSVI field */ }; @@ -659,11 +662,11 @@ void xmlSetExterint xmlParserInputGrow (xmlParserInputPtr in,
int len)
This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data
-in: | an XML parser input |
len: | an indicative size for the lookahead |
Returns: | the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity |
in: | an XML parser input |
len: | an indicative size for the lookahead |
Returns: | the amount of char read, or -1 in case of error, 0 indicate the end of this entity |
int xmlParserInputRead (xmlParserInputPtr in,
int len)
-
This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data
-in: | an XML parser input |
len: | an indicative size for the lookahead |
Returns: | the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity |
This function was internal and is deprecated.
+in: | an XML parser input |
len: | an indicative size for the lookahead |
Returns: | -1 as this is an error to use it. |