Hi,

On Fri, Mar 21, 2008 at 04:01:19PM -0600, Jason Wright wrote:
> How can I validate XML reported by my OCF resource agent? The logfile
> only tells me that it doesn't work, not what is wrong.

Just use xmllint:

$OCF_ROOT/.../MY_RA meta-data | xmllint --noout -

Though that's probably not where you have the problem, the dtd
ra-api-1.dtd is currently only available in the repository:

http://hg.linux-ha.org/dev/raw-file/tip/resources/OCF/ra-api-1.dtd

It will be packaged in the next release.

Thanks,

Dejan

> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to