1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

parser: Revert change to doc->encoding

Fixes #579.
This commit is contained in:
Nick Wellnhofer
2023-08-16 19:43:02 +02:00
parent 61b8e097b9
commit f1c1f5c6b4
4 changed files with 29 additions and 16 deletions

View File

@@ -573,7 +573,7 @@ struct _xmlDoc {
struct _xmlDtd *extSubset; /* the document external subset */
struct _xmlNs *oldNs; /* Global namespace, the old way */
const xmlChar *version; /* the XML version string */
const xmlChar *encoding; /* encoding from XML declaration, if any */
const xmlChar *encoding; /* actual encoding, if any */
void *ids; /* Hash table for ID attributes if any */
void *refs; /* Hash table for IDREFs attributes if any */
const xmlChar *URL; /* The URI for that document */