diff -Nurd -x'*~' libxml2-2.7.8.orig/python/tests/serialize.py libxml2-2.7.8/python/tests/serialize.py
--- libxml2-2.7.8.orig/python/tests/serialize.py	2009-09-24 11:31:59.000000000 -0400
+++ libxml2-2.7.8/python/tests/serialize.py	2011-01-04 02:52:56.000000000 -0500
@@ -96,7 +96,7 @@
 if str != """<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <title>Hello</title>
 </head>
 <body><p>hello</p></body>
@@ -111,7 +111,7 @@
 doc.htmlSetMetaEncoding(None)
 root = doc.getRootElement()
 str = root.serialize()
-if str != """<html><head><title>Hello</title></head><body><p>hello</p></body></html>""":
+if str != """<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Hello</title></head><body><p>hello</p></body></html>""":
    print "error serializing HTML root 1"
    sys.exit(1)
 str = root.serialize("ISO-8859-1")
@@ -131,7 +131,7 @@
 str = root.serialize("iso-8859-1", 1)
 if str != """<html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <title>Hello</title>
 </head>
 <body><p>hello</p></body>
