Arber
Arber

Reputation: 5

Need Some Quick Help With AN XML Parsing Error: not well-formed

So This is the error I am getting:

XML Parsing Error: not well-formed
Location: http://viralboss.us.to/km/
Line Number 4, Column 107:            <url>http://SOMEURL/ADE/FOKEO?sr=800&int=307200b&nvb=20110508013818&nva=20110508021818&hash=0732f9446b4f8a76dde35</url>
----------------------------------------------------------------------------------------------------------^

I have no idea why I am getting this error theres nothing wrong with my url can someone help me out?

Upvotes: 0

Views: 940

Answers (2)

Brian Ensink
Brian Ensink

Reputation: 11218

The & is an invalid character in XML. See this other question for how to escape the & sign.

Invalid Characters in XML

Upvotes: 0

John Saunders
John Saunders

Reputation: 161773

You can't place arbitrary text into an XML Element. The problem is that you need to escape your & sign. Use &amp; instead.

Upvotes: 1

Related Questions