#
# this test exercise the XPath basic engine, parser, etc, and
# allows to detect memory leaks
#
import sys
import libxml2
# Memory debug specific
print "doc.name error"
print "xpath query: wrong node set size"
print "xpath query: wrong node set value"
print "xpath query: wrong node set size"
print "xpath query: wrong node set value"
i = 1000
while i > 0:
i = i -1
del ctxt
# Memory debug specific
print "OK"
else: