Error: invalid XML, likely due to invalid characters. #451

jlemm45 opened this Issue Jun 5, 2016 · 3 comments


None yet

4 participants

jlemm45 commented Jun 5, 2016

I'm using the 1.4.1 release and keep getting this error for any feed I try to parse. I even tried the demo and still get this error for all the demo feeds.

is invalid XML, likely due to invalid characters. XML error: Not well-formed (invalid token) at line 1, column 1

After switching back to 1.3.1 I have no issues.

mblaney commented Jun 14, 2016

@jlemm45 I've seen this recently when I set force_feed to true, and the file is actually html. Can't say much more about it because it does depend on how your using SimplePie.


I've got same error with some feed.
There are some Ascii character like EOT or STX in my feed.
Force_feed don't work on it.


@jlemm45 Can you post a sample feed or a link to one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment