xkbcommon / libxkbcommon

keymap handling library for toolkits and window systems
https://xkbcommon.org
Other
286 stars 125 forks source link

Registry: use safe libxml2 API #531

Closed wismill closed 1 month ago

wismill commented 1 month ago

See: #529 and the related comment in the original Gnome issue.

wismill commented 1 month ago

@nwellnhof I do not see how to get rid of xmlSetGenericErrorFunc when using xmlIOParseDTD and xmlValidateDtd.

nwellnhof commented 1 month ago

Yes, we need additional function for parsing and validating against external DTDs that take a parser context. I just created a libxml2 issue: https://gitlab.gnome.org/GNOME/libxml2/-/issues/808

wismill commented 1 month ago

Tested with libxml2-master.