Do not barf on "post-comments" (ones that come at the end of a xml-node).
Eg.
<!-- pre-comment --> <crm_config> <nvpair id="no_quorum_policy" name="no_quorum_policy" value="ignore"/> <!-- post-comment --> </crm_config>
CVS patchset: 7502
CVS date: 2005/09/08 09:49:18
Mercurial revision: 089a2b600194c2daa2b2abda0008a34b821d5fc5