[Pacemaker] xml comments and validating against relaxng schema

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Nov 12 13:37:24 EST 2008


On Wed, Nov 12, 2008 at 05:46:10PM +0100, Raoul Bhatia [IPAX] wrote:
> 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

Cool ;-)

> 
> >> 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?
> 
> cheers,
> raoul
> -- 
> ____________________________________________________________________
> 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
> ____________________________________________________________________
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list