Comment 3 for bug 526799

Revision history for this message
Kevin Phillips (thefriendlycoder) wrote :

Also, a more trivial example of what kind of expected behavior I would like to see would look something like this:

file = open ("somefile.xml", "r")
original_content = file.read()

tree = etree.parse("somefile.xml")
root = etree.getroot()
parsed_content = etree.tostring(root)

# here, original_content should == parsed_content