[Pacemaker] xml comments and validating against relaxng schema

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Wed Nov 12 11:46:10 EST 2008

Andrew Beekhof wrote:
>> question 1: what is the correct way to use comments inside the cib.xml
>> file?
> In all honesty, i don't know.
> I haven't been able to figure out how to allow them in the schema... if
> anyone has any pointers I'd be grateful.

thank you for clarification - i now use the following trick with sed to
filter all comments prior to verifying and upgrading. maybe we can do
something similar inside the crm tools?

cat $CIB_FILE_NAME | sed -ne '/<!--/ { :c; /-->/! { N; b c; };
/-->/s/<!--.*-->//g }; /^  *$/!p;' > $CIB_TEMP_NAME

>> question 2: why is my configuration "internally upgraded"?
> a bug that has since been fixed

i kind of fear that i might encounter bugs that have been fixed
since the last debian etch 1.0.0 build. do you have any plans for
an interim package or do i have to wait for the next stable (e.g. 1.0.1)
release? afairc they should happen on a monthly basis, right?

DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15

More information about the Pacemaker mailing list