Steven D'Aprano, 14.12.2013 23:22: > On Sat, Dec 14, 2013 at 09:29:00AM -0500, bruce wrote: >> Looking at a file -->> >> http://www.marquette.edu/mucentral/registrar/snapshot/fall13/xml/BIOL_bysubject.xml >> >> The file is generated via online/web url, and appears to be XML. >> >> However, when I use elementtree: >> document = ElementTree.parse( '/apps/parseapp2/testxml.xml' ) >> >> I get an invalid error : not well-formed (invalid token): > > I cannot reproduce that error. Perhaps you have inadvertently corrupted > the file when downloading it?
You may have missed my post, but I had already suggested this and the OP replied in (accidentally?) private e-mail that that was the source of the problem. Stefan _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor