--- include/libxml/valid.h.orig Sat Sep 28 13:29:26 2002 +++ include/libxml/valid.h Sat Sep 28 13:30:36 2002 @@ -177,6 +177,7 @@ xmlAttributeDefault def, const xmlChar *defaultValue, xmlEnumerationPtr tree); +void xmlFreeAttribute (xmlAttributePtr attr); xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table); void xmlFreeAttributeTable (xmlAttributeTablePtr table); void xmlDumpAttributeTable (xmlBufferPtr buf, --- valid.c.orig Sat Sep 28 13:28:40 2002 +++ valid.c Sat Sep 28 13:28:59 2002 @@ -1204,7 +1204,7 @@ * * Deallocate the memory used by an attribute definition */ -static void +void xmlFreeAttribute(xmlAttributePtr attr) { if (attr == NULL) return; xmlUnlinkNode((xmlNodePtr) attr);