Andrew Clover wrote: > Michael Zhang <[EMAIL PROTECTED]> wrote: > > > Could anybody tell what's wrong with that? > > Not without seeing the file you're trying to parse. sax.handler says the > document isn't well-formed - perhaps it's right? >
I think the error message said 1:0, which means it saw a problem at the very beginning of the document. Perhaps the file is empty or begins with something other than "<" or a BOM. He should check the file for extraneous whitespace at the top. _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig