mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 22:21:36 +09:00
xmllint versions between 2.11 and 2.12 (both included) contain a regression which makes it not return an error code. This commit uses xpath.rb in places where logic requires checking the return code, as well as some backwards-compatible modifications in xpath.rb to support it. Discussion: https://gitlab.gnome.org/GNOME/libxml2/-/issues/673 + https://gitlab.gnome.org/GNOME/libxml2/-/issues/690 Commit introducing regression: https://gitlab.gnome.org/GNOME/libxml2/-/commit/e85f9b98a5389c69167176ae6600091e719ec38f Commit fixing it: https://gitlab.gnome.org/GNOME/libxml2/-/commit/87bebd25f11be333f0742ee5dc80e07d306c76df Signed-off-by: Guillermo Ramos <gramos@opennebula.io>