Welcome to WebmasterWorld Guest from 3.227.3.146

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Invalid Token?

     
8:39 pm on Sep 16, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 29, 2003
posts:94
votes: 0


Hi Im trying to parse an XML file that validates/Snytax is fine but i get "XML error: not well-formed (invalid token) at Line 2" i cant see any problems at all.

Any ideas what causes this error please as this is getting annoying

Thanks

8:51 pm on Sept 16, 2005 (gmt 0)

New User

10+ Year Member

joined:July 1, 2005
posts:22
votes: 0


Could you provide more information on that problem of yours?

How do you parse the XML? PHP built-in functions, PEAR::XML module or some other parser?

What your XML looks like?

12:45 am on Sept 17, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 29, 2003
posts:94
votes: 0


Hi,

I found the problem in the end

Simply <![CDATA[word]] instead of <![CDATA[word]]>

I just needed a different pair of eyes! borrowed the wifes!

Thanks for replying