reader8.py revision 38ae7e4efe803ea78b6499cd05a394db32623e41
#
# this tests the entities substitutions with the XmlTextReader interface
#
import sys
import StringIO
import libxml2
# Memory debug specific
#
# Parse a document testing the Close() API
#
docstr="""<foo>
<label>some text</label>
<item>100</item>
</foo>"""
if ret != 0:
print "Error closing the document test1"
del reader
# Memory debug specific
print "OK"
else: