Katja Suess napisaĆ(a): > may I have a hint what the problem is in my situation? > Is it a syntax error in sweetone.odt or in xml.parsers.expat? > Same problem with different file instead of sweetone.odt means that it's > not the file that has a syntax error. > xml.parsers.expat is a standard module that probably has no errors. > So what could cause this error message??
Malformed XML document, perhaps. This may be anything, that expat doesn't like (i.e. wrong encoding, cp1252 declared as latin-1, document declared as utf-8 but with BOM, and so on). -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list