HomeClusterLabs Projects

Refactor: libcrmcommon: Allow more specs in pcmk__xml_artefact_path.

Description

Refactor: libcrmcommon: Allow more specs in pcmk__xml_artefact_path.

If the given filespec already has a .rng or .xsl extension, don't add an
additional one. This allows reusing this function to grab files given
in another schema file's externalRef links without modification.

Details

Provenance
clumensAuthored on Sep 11 2023, 8:56 AM
Parents
rPe7d7c33eb832: Feature: libcrmcommon: Add pcmk__schema_files_later_than.
Branches
Unknown
Tags
Unknown