libxml2.debugMemory(1)
expect="""--> (3) test1:1:xmlns: URI foo is not absolute
---> (4) test1:1:Opening and ending tag mismatch: c and a
+--> (4) test1:1:Opening and ending tag mismatch: c line 0 and a
"""
err=""
def myErrorHandler(arg,msg,severity,locator):