in reply to XML-RPC troubles. . .
I suspect the real problem is hinted at in the (invalid token) [. . . (blah blah) . . ] line. More specifically in the (bla bla) part, which should contain some indication as to where in the XML the error occurs.
update: or just save the XML somewhere and run it through some other conforming parser to see what's up.
In Section
Seekers of Perl Wisdom