Reputation: 10853
I am getting an error :XML parsing error: :88:805: not well-formed (invalid token) when I try to validate using https://validator.w3.org/
I am unable to find the reason for the same. code which is marked as defective is as given below
<content:encoded><![CDATA[<p>It’s a pleasure to share some of the recipes in <a href="https://www.example.com/abc-dss-Life-as-Radiant-Boundless/dp/0814437079/ref=sr_1_1?ie=UTF8&qid=1467207110&sr=8-1&keywords=a+plant+based+life"><em>A ad-as</em></a>with you! I finished perfecting this recipe the week that NASA’s Kepler Mission found a new Earth-like planet, 452b, so I named it in honor of the discovery. If I were an astronaut on a years-long space mission and could only bring one food with me, this lasagna would definitely be a top contender. Other great features of this recipe? Neither the noodles nor the filling need to be precooked—after some quick chopping, which you can do in a food processor, this dish will be ready to pop in the oven.For the full sampler of recipes with delicious images, <a href="http://www.example.net/abc/a-abc-abc-abc-abc" target="_blank">click here to see the slideshow</a>. <strong>Ingredients: </strong></p>
Upvotes: 0
Views: 1056
Reputation: 111521
As the error says, your XML is not well-formed.
To fix it, make the following changes:
content
namespace prefix.^K
character.content:encoded
element.Here is your XML with the following fixes applied:
<content:encoded xmlns:content="http://example.com/content">
<![CDATA[<p>It’s a pleasure to share some of the recipes in <a
href="https://www.example.com/abc-dss-Life-as-Radiant-Boundless/dp/0814437079/ref=sr_1_1?ie=UTF8&qid=1467207110&sr=8-1&keywords=a+plant+based+life">
<em>A ad-as</em> </a>with you! I finished perfecting this recipe the
week that NASA’s Kepler Mission found a new Earth-like planet,
452b, so I named it in honor of the discovery. If I were an
astronaut on a years-long space mission and could only bring one
food with me, this lasagna would definitely be a top
contender. Other great features of this recipe? Neither the noodles
nor the filling need to be precooked—after some quick
chopping, which you can do in a food processor, this dish will be
ready to pop in the oven.For the full sampler of recipes with
delicious images, <a
href="http://www.example.net/abc/a-abc-abc-abc-abc"
target="_blank">click here to see the
slideshow</a>. <strong>Ingredients: </strong> </p>]]>
</content:encoded>
It is now well-formed.
Upvotes: 2