Hi! Thanks for the answer, but I failed to locate that directory in my local installation, as well as on github.
Kind regards, Ulrich Windl > -----Original Message----- > From: Users <[email protected]> On Behalf Of Oyvind > Albrigtsen > Sent: Monday, May 12, 2025 5:12 PM > To: Cluster Labs - All topics related to open-source clustering welcomed > <[email protected]> > Subject: [EXT] Re: [ClusterLabs] Q: Validate RA metadata XML > > On 12/05/25 06:45 +0000, Windl, Ulrich wrote: > >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. > You can run "make <agent>.check" from the heartbeat directory or read the > %.check rule in heartbeat/Makefile.am to see how it's supposed to be run. > > > Oyvind Albrigtsen > > > >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 > > > > >_______________________________________________ > >Manage your subscription: > >https://lists.clusterlabs.org/mailman/listinfo/users > > > >ClusterLabs home: https://www.clusterlabs.org/ > > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
