After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 54322 - _private data lost when parsing external entities
_private data lost when parsing external entities
Status: VERIFIED INCOMPLETE
Product: libxml
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-05-08 09:40 UTC by matt
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description matt 2001-05-08 09:40:44 UTC
The ctxt pointer you pass to xmlParseChunk() is not used when parsing
external entities (a new ctxt is created), thus losing your _private data
which you might wish to use in callbacks.

A solution would be to either fix it to use the same ctxt pointer, or
somehow optionally copy the _private data over to the new ctxt structure.