Got this error report from the feedvalidator and have absolutely no clue how to solve it. Pointers? Thank you.
line 4, column 0: XML parsing error: <unknown>:4:0: xml declaration not at start of external entity
<?xml version="1.0" encoding="UTF-8"?>
Got this error report from the feedvalidator and have absolutely no clue how to solve it. Pointers? Thank you.
line 4, column 0: XML parsing error: <unknown>:4:0: xml declaration not at start of external entity
<?xml version="1.0" encoding="UTF-8"?>
Is there any whitespace or blank lines at the top of the feed if you view source of it in your browser?
If so, you may have a plugin (or your theme's functions.php) that has whitespace before the opening <?php or after the closing ?> in its file.
Oh, and a link to the feed would be helpful if I'm off base on my previous response.
Thanks HandySolo.
The feed url is http://sealandblog.com/blog/feed/
I´ll have a look at the code as you suggest and see if I can tell the ? from the / and p´s :)
Yep, look for whitespace. There are 3 blank lines at the top of your feed that shouldn't be there.
Thanks! Good to know what I´m looking for. Will review files. Cheers.
Hooray!!
http://http//feedvalidator.org/check.cgi?url=http%3A//sealandblog.com/blog/feed/
Thanks for the speedy & clever & friendly reply, HandySolo!
Found the extra space in one of the plug-ins. The feed validated immediately, two minor warnings, one about html in a post and then this : http://feedvalidator.org/docs/warning/CommentRSS.html which I am only bringing up because I am curios, why such a common and well documented problem is... eh, still a problem?
Glad to hear you got it fixed. :-)
As for the CommentRSS: Because you're 5 "dot" releases behind. WP is up to 2.0.7 ;-) (and that's been fixed since .03 or .04 I believe).
Ups, didn´t think I myself was a factor in the equation :)
This topic has been closed to new replies.