Forum Moderators: coopster

Message Too Old, No Replies

Invalid Token?

         

askeli

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

10+ Year Member



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

vdoyl

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

10+ Year Member



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?

askeli

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

10+ Year Member



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