HomeClusterLabs Projects

Fix: libcrmcommon: Drop xmlRegisterNodeDefault()

Description

Fix: libcrmcommon: Drop xmlRegisterNodeDefault()

...and xmlDeregisterNodeDefault().

Within libxml2, these are tagged with the "deprecated" compiler
attribute, causing builds on some bleeding-edge distributions (currently
at least debian-experimental) to fail.

Instead, allocate and free private data as needed when creating and
freeing XML nodes.

Fixes T838

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Sat, Sep 7, 4:40 AM
Parents
rP2d25cfe87e3b: Refactor: libcrmcommon: Improve pcmk__xe_set_content() error checking
Branches
Unknown
Tags
Unknown
Tasks
T838: Manage libxml2 private data better