--- embedaddon/libxml2/doc/html/libxml-parser.html 2013/07/22 01:22:26 1.1.1.2 +++ embedaddon/libxml2/doc/html/libxml-parser.html 2014/06/15 19:53:36 1.1.1.3 @@ -289,6 +289,7 @@ void xmlParserInpu XML_PARSE_HUGE = 524288 : relax any hardcoded limit from the parser 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 }
Structure xmlSAXHandlerV1
struct _xmlSAXHandlerV1 { internalSubsetSAXFunc internalSubset @@ -507,9 +508,9 @@ void xmlParserInputDeallocate (
str: | the string to deallocate |
int 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 |
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 |
int xmlPedanticParserDefault (int val)
+
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 Function: xmlParserInputRead
int xmlParserInputRead (xmlParserInputPtr in,
int len)
+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. Function: xmlPedanticParserDefault
int xmlPedanticParserDefault (int val)
Set and return the previous value for enabling pedantic warnings.
val: int 0 or 1 Returns: the last value for 0 for no substitution, 1 for substitution. Function: xmlReadDoc
xmlDocPtr xmlReadDoc (const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
parse an XML in-memory document and build a tree.