I finally got to the bottom of a problem I was having when parsing html from
a thread other than the main thread.
In the function xmlInitializeGlobalState in globals.c,
inithtmlDefaultSAXHandler is only called if LIBXML_LEGACY_ENABLED is
defined.
Maybe it is documented somewhere that legacy APIs need to be enabled in
order to parse html on a non-main thread, but I never saw it.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to