diff -u -rup libxml2-2.5.8/testReader.c libxml2-2.5.8-fixed/testReader.c
--- libxml2-2.5.8/testReader.c	Thu Dec 19 16:16:23 2002
+++ libxml2-2.5.8-fixed/testReader.c	Thu Jul 17 18:52:56 2003
@@ -50,6 +50,7 @@ static int elem, attrs;
 
 static void processNode(xmlTextReaderPtr reader) {
     int type;
+    xmlChar *string;
 
     type = xmlTextReaderNodeType(reader);
     if (count) {
@@ -58,6 +59,14 @@ static void processNode(xmlTextReaderPtr
 	    attrs += xmlTextReaderAttributeCount(reader);
 	}
     }
+    string=xmlTextReaderName(reader);
+    printf("%s:",string);
+    xmlFree(string);
+    if ((string=xmlTextReaderValue(reader))) {
+	printf(" string=%d",strlen(string));
+	xmlFree(string);
+    }
+    putchar('\n');
 }
 
 static void handleFile(const char *filename) {
