rem: !doc->children->name
add: !root->name
context: gboolean charge_etat ( gchar *nom_etat ){    xmlDocPtr doc;    doc = utf8_xmlParseFile ( nom_etat );    if ( doc )    {	/* vérifications d'usage */	if ( !doc->children	     ||	     !doc->children->name	     ||	     g_strcasecmp ( doc->children->name,			    "Grisbi_etat" ))	{	    dialogue_error_hint ( _("Grisbi is unable to parse this file as a report file.  Be sure it is valid."), 				  _("Invalid Grisbi report file") );	    xmlFreeDoc ( doc );	    return ( FALSE );	}	/* récupère la version de fichier */	if (( strcmp (  xmlNodeGetContent ( doc->children->children->children ), VERSION )))	  {	    dialogue_warning_hint ( g_strdup_printf (_("This report has been produced with grisbi version %s, Grisbi will nevertheless try to import it."), xmlNodeGetContent ( doc->children->children->children )),				    _("Version mismatch") );	  }	return ( charge_etat_version_0_4_0 ( doc ));    }    else    {	dialogue_error_hint ( _("Grisbi is unable to parse this file as a report file.  Be sure it is valid."), 			      _("Invalid Grisbi report file") );	return ( FALSE );    }}