On Tue, Jul 05, 2011 at 03:59:14PM +0200, Ulrich Windl wrote:
> >>> Dejan Muhamedagic <[email protected]> schrieb am 05.07.2011 um 15:41 in
> Nachricht <20110705134105.GA3767@squib>:
> > Hi,
> > 
> > On Tue, Jul 05, 2011 at 03:32:49PM +0200, Ulrich Windl wrote:
> > > Hello again!
> > > 
> > > I'm wondering whether "ra-api-1.dtd" is still current:
> > > element action: validity error : Value "monitor" for attribute name of 
> > action is not among the enumerated set
> > > element action: validity error : Value "validate-all" for attribute name 
> > > of 
> > action is not among the enumerated set
> > > 
> > > The DTD has "status" for "monitor" and "verify-all" for "validate-all".
> > 
> > Where did you find this dtd? The one which is currently used to
> > verify RA compliance is distributed with resource-agents. You
> > can also find the latest version in the github resource-agents
> > repository in heartbeat/
> 
> Hi Dejan,
> 
> the DTD was found in the location that "Open Clustering Framework Resource 
> Agent API" mentioned: www.opencf.org/standards/ra-api-1.dtd 
> 
> Can the correct DTD be downloaded by a simple method like wget? I'd like to 
> have a package with DTD, guidelines and maybe an RA example.

I'm sure there's a way to wget it from github.com.

> As I had just finished my very first version of my resource agent, I found 
> out that "ocf-tester" uses a different DTD that I had for validating:

ocf-tester uses the dtd distributed with the package. That's the
version everybody should be using.

> * rc=4: Your agent produces meta-data which does not conform to ra-api-1.dtd
> 
> Now the funny thing is that you cahnged the DTD in an incompatible way 
> without changing the version number. That's very bad practice!

You're right, the version should've been changed. But, to the
best of my knowledge, the dtd at www.opencf.org has never been
used.

Thanks,

Dejan

> Regards,
> Ulrich
> [...XML frustration deleted...]
> 
> 
> _______________________________________________
> 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