1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

encoding: Deprecate xmlByteConsumed

This was only used by Chromium/WebKit to detect whether xmlParseContent
really succeeded. It's a horrible, overcomplicated hack.

See 8c5848bd and #767.
This commit is contained in:
Nick Wellnhofer
2024-07-13 00:17:18 +02:00
parent 440d11afd4
commit 69f12d6d47
3 changed files with 4 additions and 3 deletions

View File

@@ -1905,6 +1905,8 @@ xmlCharEncCloseFunc(xmlCharEncodingHandler *handler) {
* xmlByteConsumed:
* @ctxt: an XML parser context
*
* DEPRECATED: Don't use.
*
* This function provides the current index of the parser relative
* to the start of the current entity. This function is computed in
* bytes from the beginning starting at zero and finishing at the