diff --git a/parser.c b/parser.c index da4f4ca5002ad17f6aabe20fa6fe9c120ed0da92_cGFyc2VyLmM=..acebe822a35ca497ee808b2aa33722b114162129_cGFyc2VyLmM= 100644 --- a/parser.c +++ b/parser.c @@ -12745,6 +12745,8 @@ * @ExternalID: a NAME* containing the External ID of the DTD * @SystemID: a NAME* containing the URL to the DTD * + * DEPRECATED: Don't use. + * * Load and parse an external subset. * * Returns the resulting xmlDtdPtr or NULL in case of error. @@ -13797,6 +13799,8 @@ * @sax: the SAX handler block * @filename: the filename * + * DEPRECATED: Don't use. + * * parse an XML external entity out of context and build a tree. * It use the given SAX function block to handle the parsing callback. * If sax is NULL, fallback to the default DOM tree building routines. diff --git a/parserInternals.c b/parserInternals.c index da4f4ca5002ad17f6aabe20fa6fe9c120ed0da92_cGFyc2VySW50ZXJuYWxzLmM=..acebe822a35ca497ee808b2aa33722b114162129_cGFyc2VySW50ZXJuYWxzLmM= 100644 --- a/parserInternals.c +++ b/parserInternals.c @@ -260,7 +260,7 @@ * @in: an XML parser input * @len: an indicative size for the lookahead * - * This function was internal and is deprecated. + * DEPRECATED: This function was internal and is deprecated. * * Returns -1 as this is an error to use it. */ @@ -274,6 +274,8 @@ * @in: an XML parser input * @len: an indicative size for the lookahead * + * DEPRECATED: Don't use. + * * This function increase the input for the parser. It tries to * preserve pointers to the input buffer, and keep already read data * @@ -1811,6 +1813,8 @@ * @ctx: an XML parser context * @node: an XML node within the tree * + * DEPRECATED: Don't use. + * * Find the parser node info struct for a given node * * Returns an xmlParserNodeInfo block pointer or NULL @@ -1836,6 +1840,8 @@ * xmlInitNodeInfoSeq: * @seq: a node info sequence pointer * + * DEPRECATED: Don't use. + * * -- Initialize (set to initial state) node info sequence */ void @@ -1852,6 +1858,8 @@ * xmlClearNodeInfoSeq: * @seq: a node info sequence pointer * + * DEPRECATED: Don't use. + * * -- Clear (release memory and reinitialize) node * info sequence */ @@ -1870,6 +1878,7 @@ * @seq: a node info sequence pointer * @node: an XML node pointer * + * DEPRECATED: Don't use. * * xmlParserFindNodeInfoIndex : Find the index that the info record for * the given node is or should be at in a sorted sequence @@ -1913,6 +1922,8 @@ * @ctxt: an XML parser context * @info: a node info sequence pointer * + * DEPRECATED: Don't use. + * * Insert node info record into the sorted sequence */ void @@ -1983,6 +1994,8 @@ * xmlPedanticParserDefault: * @val: int 0 or 1 * + * DEPRECATED: Use the modern options API with XML_PARSE_PEDANTIC. + * * Set and return the previous value for enabling pedantic warnings. * * Returns the last value for 0 for no substitution, 1 for substitution. @@ -2018,6 +2031,8 @@ * xmlSubstituteEntitiesDefault: * @val: int 0 or 1 * + * DEPRECATED: Use the modern options API with XML_PARSE_NOENT. + * * Set and return the previous value for default entity support. * Initially the parser always keep entity references instead of substituting * entity values in the output. This function has to be used to change the