On Fri, Mar 14, 2008 at 5:14 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>  On Fri, Mar 14, 2008 at 01:47:40PM +0100, Michael Schwartzkopff wrote:
>  > Hi,
>  >
>  > I tried to enter a resource with cibadmin -C -o resources -x monitor.xml
>  >
>  > monitor.xml:
>  > <primitive id="resource_Sysinfo" class="ocf" type="SysInfo"
>  > provider="heartbeat">
>  >  <meta_attributes/>
>  >      <operations>
>  >        <op id="op_sysinfo" name="monitor" interval="60s" timeout="20s"
>  > disabled="false" role="Started" prereq="nothing" on_fail="ignore"/>
>  >      </operations>
>  >    </primitive>
>  >
>  > results in:
>  > Call cib_create failed (-47): Update does not conform to the DTD
>  > in /usr/share/heartbeat/crm.dtd
>  >
>  > Although it look like a valid XML statement to me. The xml statement 
> without
>  > the line
>  >  <meta_attributes/>
>  >
>  > works. Is it a bug of heartbeat or an error of me?
>
>  Looks like that can only work like this:
>
>         <meta_attributes id="Dummy_2-meta-options">
>         <attributes/>
>         </meta_attributes>
>
>  Not an expert on XML, so can't say if it's a bug.

According to the DTD its a feature ;-) ... attributes are mandatory.

...
<!ELEMENT meta_attributes (rule*, attributes)>
...

Regards,
Andreas

>
>  Thanks,
>
>  Dejan
>
>
>  >
>  > Version: heartbeat 2.1.3 on debian etch.
>  >
>  > --
>  > Dr. Michael Schwartzkopff
>  > MultiNET Services GmbH
>  > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
>  > Tel: +49 - 89 - 45 69 11 0
>  > Fax: +49 - 89 - 45 69 11 21
>  > mob: +49 - 174 - 343 28 75
>  >
>  > mail: [EMAIL PROTECTED]
>  > web: www.multinet.de
>  >
>  > Sitz der Gesellschaft: 85630 Grasbrunn
>  > Registergericht: Amtsgericht M?nchen HRB 114375
>  > Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens
>
>
> >
>  > ---
>  >
>  > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
>  > Skype: misch42
>  > _______________________________________________
>  > 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
>
_______________________________________________
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