5 expect=' xmlns:a="urn:whatevar"'
7 # Memory debug specific
10 d = libxml2.parseDoc("<a:a xmlns:a='urn:whatevar'/>")
12 for n in d.xpathEval("//namespace::*"):
13 res = res + n.serialize()
17 print "test5 failed: unexpected output"
22 # Memory debug specific
23 libxml2.cleanupParser()
25 if libxml2.debugMemory(1) == 0:
28 print "Memory leak %d bytes" % (libxml2.debugMemory(1))