pub fn discover_catalog_paths() -> Vec<PathBuf>Expand description
Discover XML catalog files using libxml2-compatible rules.
- If the
XML_CATALOG_FILESenvironment variable is set, split it on whitespace and use those paths. Each entry can be a plain path or afile://URI. This overrides the default list entirely. - Otherwise, return
conventional_pathsfor the current OS.
The returned list contains paths that might exist; callers
should filter for paths that actually do (or rely on
load_default which silently skips missing files).