[ClusterLabs] Q: Validate RA metadata XML
Windl, Ulrich
u.windl at ukr.de
Mon May 12 06:45:34 UTC 2025
Hi!
Somewhat stupid question: How does a developer validate the RA's XML metadata (beyond well-formedness)?
I see that there a DTD and a RNG file, and I have xmllint, but I'm fighting with the syntax in SLES 15:
What I think worked once, does not any more.
I'm seeing errors like:
metadata.xml:2: warning: failed to load external entity "ra-api-1.dtd"
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
Before it says:
Resolve: sysID ra-api-1.dtd
-1503287488 Parsing catalog file:///etc/xml/catalog
file:///etc/xml/catalog added to file hash
file:///etc/xml/catalog-d.xml not found in file hash
-1503287488 Parsing catalog file:///etc/xml/catalog-d.xml
file:///etc/xml/catalog-d.xml added to file hash
file:///etc/xml/suse-catalog.xml not found in file hash
-1503287488 Parsing catalog file:///etc/xml/suse-catalog.xml
file:///etc/xml/suse-catalog.xml added to file hash
Resolve URI ra-api-1.dtd
Resolve: sysID ra-api-1.dtd
Resolve URI ra-api-1.dtd
Resolve: sysID ra-api-1.dtd
Resolve URI ra-api-1.dtd
Kind regards,
Ulrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20250512/85daabb9/attachment.htm>
More information about the Users
mailing list