#
# this tests the basic APIs of the XmlTextReader interface
#
import libxml2
import StringIO
import sys
# Memory debug specific
def tst_reader(s):
res = ""
while reader.MoveToNextAttribute():
return res
expect="""1 (test) [None] 0
1 (b) [None] 1
1 (c) [None] 1
15 (test) [None] 0
"""
print "Did not get the expected error message:"
print res
# Memory debug specific
print "OK"
else: