Hi

I spot a problem with the DTD from [1] and the validation using cibadmin.
If I write a configuration snippet like

<crm_config>
      <cluster_property_set id="cib-bootstrap-options">
            <attributes>
                  ...
            </attributes>
      </cluster_property_set>
</crm_config>

then I got the following message from cibadmin:

cibadmin --cib_update --xml-file cib_1_crm_config.xml
Call cib_modify failed (-47): Update does not conform to the configured
schema/DTD
<null>

If I remove the <attributes> tag and place the <nvpair> tags directly into
<cluster_property_set>, then cibadmin works as expected but the xml is not
valid with the DTD from [1]. This problem is going on with other tags like
<resources>. So currently I can't write DTD validated xml snippets because
they are not accepted by cibadmin. Is there another DTD available which
corresponds to the current version?

I'm using these version:
- cluster-glue    1.0-12.1
- heartbeat       3.0.0-33.2
- libdlm          2.99.08-15.1
- libdlm2         2.99.08-15.1
- libglue1        1.0-12.1
- libopenais2     0.80.5-15.1
- libpacemaker3   1.0.5-4.1
- lvm2            2.02.39-43.8
- openais         0.80.5-15.1
- pacemaker       1.0.5-4.1
- pacemaker-pygui 1.99.2-6.2
- resource-agents 1.0-31.4

[1] http://hg.clusterlabs.org/pacemaker/stable-1.0/raw-file/tip/xml/crm.dtd

Regards,

Yves Schumann
Softwareentwicklungsingenieur Security Solutions Division
IT-Koordinator
______________________________
Ascom (Schweiz) AG
http://www.ascom.com

"Walking on water and developing software from a specification are easy if
both are frozen" -- Edward V. Berard

_______________________________________________
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