not well-formed (invalid token)

Brian <[email protected]> Wed, 18 Aug 2010 18:23:31 +0000 (UTC)
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hey there -

I'm using expat with python 2.6.  It's all layered with xmlrpc.  The actual xml 
doc is short lived and hidden to me.  But I can catch "not well-formed (invalid 
token)" errors, the line number, and the offset.  Unfortunately, the latter two 
are not terribly useful.

Is there a way to get the actual offending token?

Thanks,
Brian