mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
Mark more parser functions as deprecated
No compiler warnings generated yet.
This commit is contained in:
4
parser.c
4
parser.c
@@ -12745,6 +12745,8 @@ xmlIOParseDTD(xmlSAXHandlerPtr sax, xmlParserInputBufferPtr input,
|
|||||||
* @ExternalID: a NAME* containing the External ID of the DTD
|
* @ExternalID: a NAME* containing the External ID of the DTD
|
||||||
* @SystemID: a NAME* containing the URL to the DTD
|
* @SystemID: a NAME* containing the URL to the DTD
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Load and parse an external subset.
|
* Load and parse an external subset.
|
||||||
*
|
*
|
||||||
* Returns the resulting xmlDtdPtr or NULL in case of error.
|
* Returns the resulting xmlDtdPtr or NULL in case of error.
|
||||||
@@ -13797,6 +13799,8 @@ xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc, xmlSAXHandlerPtr sax,
|
|||||||
* @sax: the SAX handler block
|
* @sax: the SAX handler block
|
||||||
* @filename: the filename
|
* @filename: the filename
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* parse an XML external entity out of context and build a tree.
|
* parse an XML external entity out of context and build a tree.
|
||||||
* It use the given SAX function block to handle the parsing callback.
|
* It use the given SAX function block to handle the parsing callback.
|
||||||
* If sax is NULL, fallback to the default DOM tree building routines.
|
* If sax is NULL, fallback to the default DOM tree building routines.
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ void check_buffer(xmlParserInputPtr in) {
|
|||||||
* @in: an XML parser input
|
* @in: an XML parser input
|
||||||
* @len: an indicative size for the lookahead
|
* @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.
|
* Returns -1 as this is an error to use it.
|
||||||
*/
|
*/
|
||||||
@@ -274,6 +274,8 @@ xmlParserInputRead(xmlParserInputPtr in ATTRIBUTE_UNUSED, int len ATTRIBUTE_UNUS
|
|||||||
* @in: an XML parser input
|
* @in: an XML parser input
|
||||||
* @len: an indicative size for the lookahead
|
* @len: an indicative size for the lookahead
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* This function increase the input for the parser. It tries to
|
* This function increase the input for the parser. It tries to
|
||||||
* preserve pointers to the input buffer, and keep already read data
|
* preserve pointers to the input buffer, and keep already read data
|
||||||
*
|
*
|
||||||
@@ -1811,6 +1813,8 @@ xmlClearParserCtxt(xmlParserCtxtPtr ctxt)
|
|||||||
* @ctx: an XML parser context
|
* @ctx: an XML parser context
|
||||||
* @node: an XML node within the tree
|
* @node: an XML node within the tree
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Find the parser node info struct for a given node
|
* Find the parser node info struct for a given node
|
||||||
*
|
*
|
||||||
* Returns an xmlParserNodeInfo block pointer or NULL
|
* Returns an xmlParserNodeInfo block pointer or NULL
|
||||||
@@ -1836,6 +1840,8 @@ xmlParserFindNodeInfo(const xmlParserCtxtPtr ctx, const xmlNodePtr node)
|
|||||||
* xmlInitNodeInfoSeq:
|
* xmlInitNodeInfoSeq:
|
||||||
* @seq: a node info sequence pointer
|
* @seq: a node info sequence pointer
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* -- Initialize (set to initial state) node info sequence
|
* -- Initialize (set to initial state) node info sequence
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@@ -1852,6 +1858,8 @@ xmlInitNodeInfoSeq(xmlParserNodeInfoSeqPtr seq)
|
|||||||
* xmlClearNodeInfoSeq:
|
* xmlClearNodeInfoSeq:
|
||||||
* @seq: a node info sequence pointer
|
* @seq: a node info sequence pointer
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* -- Clear (release memory and reinitialize) node
|
* -- Clear (release memory and reinitialize) node
|
||||||
* info sequence
|
* info sequence
|
||||||
*/
|
*/
|
||||||
@@ -1870,6 +1878,7 @@ xmlClearNodeInfoSeq(xmlParserNodeInfoSeqPtr seq)
|
|||||||
* @seq: a node info sequence pointer
|
* @seq: a node info sequence pointer
|
||||||
* @node: an XML node pointer
|
* @node: an XML node pointer
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
*
|
*
|
||||||
* xmlParserFindNodeInfoIndex : Find the index that the info record for
|
* xmlParserFindNodeInfoIndex : Find the index that the info record for
|
||||||
* the given node is or should be at in a sorted sequence
|
* the given node is or should be at in a sorted sequence
|
||||||
@@ -1913,6 +1922,8 @@ xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq,
|
|||||||
* @ctxt: an XML parser context
|
* @ctxt: an XML parser context
|
||||||
* @info: a node info sequence pointer
|
* @info: a node info sequence pointer
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: Don't use.
|
||||||
|
*
|
||||||
* Insert node info record into the sorted sequence
|
* Insert node info record into the sorted sequence
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@@ -1983,6 +1994,8 @@ xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt,
|
|||||||
* xmlPedanticParserDefault:
|
* xmlPedanticParserDefault:
|
||||||
* @val: int 0 or 1
|
* @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.
|
* Set and return the previous value for enabling pedantic warnings.
|
||||||
*
|
*
|
||||||
* Returns the last value for 0 for no substitution, 1 for substitution.
|
* Returns the last value for 0 for no substitution, 1 for substitution.
|
||||||
@@ -2018,6 +2031,8 @@ xmlLineNumbersDefault(int val) {
|
|||||||
* xmlSubstituteEntitiesDefault:
|
* xmlSubstituteEntitiesDefault:
|
||||||
* @val: int 0 or 1
|
* @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.
|
* Set and return the previous value for default entity support.
|
||||||
* Initially the parser always keep entity references instead of substituting
|
* Initially the parser always keep entity references instead of substituting
|
||||||
* entity values in the output. This function has to be used to change the
|
* entity values in the output. This function has to be used to change the
|
||||||
|
|||||||
Reference in New Issue
Block a user