Use attr->val rather than attr->node Created Removed parts dealing with

2001-02-20  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (compare_xml_nodes): Use attr->val rather than
	attr->node
	* tests/test-3.sh: Created
	* tests/test-2.sh: Removed parts dealing with partial containment
This commit is contained in:
Bradford Hovinen 2001-02-20 15:37:48 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent afc3333a5a
commit 737118953b
5 changed files with 260 additions and 73 deletions

View file

@ -1645,9 +1645,9 @@ compare_xml_nodes (xmlNodePtr node1, xmlNodePtr node2)
*/
for (attr = node1->properties; attr != NULL; attr = attr->next) {
g_assert (xmlNodeIsText (attr->node));
g_assert (xmlNodeIsText (attr->val));
if (strcmp (xmlNodeGetContent (attr->node),
if (strcmp (xmlNodeGetContent (attr->val),
xmlGetProp (node2, attr->name)))
return FALSE;