Jump to content

Recommended Posts

Posted

Anyone received this error and knows what to do about it?

[CaRP]XML error: not well-formed (invalid token) at line 22

 

I´ve checked Carps own forum, while others have had the same problem, no one there seems to know why it happens or what to do about it.

Posted

It looks to me like whatever RSS/XML feed that CaRP is trying to read has some invalid XML code in it. You might try running the URL of the feed through the Feed Validator and see if the feed has XML errors. If it does, you have to contact the publisher of the feed to have them correct the problem.

Posted

Thanks David. :thumbup1:

It´s good to know it´s not a fault on my end then, since that validator did report a error.

 

However, here is a new question, which came up in my head after visiting that validator site.

 

The validator site says:

Your feed appears to be encoded as "ISO-8859-1", but your server is reporting "US-ASCII"

Is there someway I can change that?

Posted

It depends on whether you're talking about a feed you produce (yes), or one from another site (no).

 

What the Feed Vailidator is talking about is 1) the encoding declared in the first line of the feed, and 2) the encoding declared in the HTTP headers sent by the server.

 

My site's XML feed has the following in the first line, declaring an encoding of "UTF-8":

><?xml version="1.0" encoding="utf-8"?>

My server does not send a character encoding in the HTTP headers, so there is nothing to conflict with. If the server did send a different encoding in the HTTP headers (like "ISO-8859-1"), that is something I'd probably take up with the Help Desk (although there are ways to possibly address the issue yourself).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...