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