Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML syntax error on line 34: illegal character code U+0008 #180

Open
minhdanh opened this issue Jun 5, 2021 · 4 comments
Open

XML syntax error on line 34: illegal character code U+0008 #180

minhdanh opened this issue Jun 5, 2021 · 4 comments
Labels

Comments

@minhdanh
Copy link

minhdanh commented Jun 5, 2021

Expected behavior

RSS feed parsed correctly

Actual behavior

gofeed cannot parse RSS feed, with the following error:

XML syntax error on line 34: illegal character code U+0008

Steps to reproduce the behavior

Parse this feed:
http://newsletter.grokking.org/?format=rss

Apparently there's a "strange" character in line 34

@minhdanh
Copy link
Author

minhdanh commented Jun 5, 2021

I can see there's a similar issue which has been fixed a long time ago: #25
But this still happens with the latest version of gofeed (v1.1.3)

@purefun
Copy link

purefun commented Aug 17, 2021

I reproduced it.

I also ran into another char: U+0004:

XML syntax error on line 1681: illegal character code U+0004
https://changelog.com/posts/feed

@anzhihe
Copy link

anzhihe commented Aug 24, 2022

I also encountered this problem recently.

version:gofeed v1.1.3,go 1.17

XML syntax error on line 211: illegal character code U+0008

https://chegva.com/feed/

@mmcdole
Copy link
Owner

mmcdole commented Mar 25, 2023

I want to be able to parse feeds with illegal characters, so I've opened #206 to see how we should handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants