[xml] bug when parsing html?



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]