Recent Topics

1 Feb 22, 2006 11:59    

I've searched the forum and have not found an answer to the problem I'm having with my RSS2 feed not validating.

I'm getting this error:
"XML parsing error: <unknown>:2:0: xml declaration not at start of external entity"

at

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.markrandall.com%2Fblog%2Fxmlsrv%2Frss2.php%3Fblog%3D5

My blog is located here:
http://www.markrandall.com/home/index.php?option=com_wrapper&Itemid=33

I'm not sure what's causing the problem but I suspect it may have to do with an extra blank line being at the top of the feed. However, if this is the case, I've been unable to locate where the blank line is coming from.

Thanks,

--- Mark

2 Feb 22, 2006 13:11

you can remove that line all-together if you can find it. Its not needed.

3 May 13, 2006 18:53

Yup. I had the same problem. Deleting the following line in all files within the xmlsrv folder (except for xmlrpc.php) took care of the problem for me:

echo '<?xml version="1.0" encoding="utf-8"?'.'>';

Edit: The exception seems to be the Atom feed.


Form is loading...