mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Deprecate old HTML SAX API
This commit is contained in:
@ -6402,6 +6402,8 @@ htmlCreatePushParserCtxt(htmlSAXHandlerPtr sax, void *user_data,
|
||||
* @sax: the SAX handler block
|
||||
* @userData: if using SAX, this pointer will be provided on callbacks.
|
||||
*
|
||||
* DEPRECATED: Use htmlNewSAXParserCtxt and htmlCtxtReadDoc.
|
||||
*
|
||||
* Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks
|
||||
* to handle parse events. If sax is NULL, fallback to the default DOM
|
||||
* behavior and return a tree.
|
||||
@ -6523,6 +6525,8 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
|
||||
* @sax: the SAX handler block
|
||||
* @userData: if using SAX, this pointer will be provided on callbacks.
|
||||
*
|
||||
* DEPRECATED: Use htmlNewSAXParserCtxt and htmlCtxtReadFile.
|
||||
*
|
||||
* parse an HTML file and build a tree. Automatic support for ZLIB/Compress
|
||||
* compressed document is provided by default if found at compile-time.
|
||||
* It use the given SAX function block to handle the parsing callback.
|
||||
|
Reference in New Issue
Block a user