Forum Moderators: coopster
I am using this code and it is giving valid output when i browse through I.E. but when i use FireFox it gives me invalid XML following error
Code:
XML Parsing Error: xml declaration not at start of external entity
Location: [domain.com...]
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-7"?>
FireFox shows a pointer at the beginning of XML file at <?xml...
I am stuck with it that why I.E is showing correct output and FireFox is giving problem. Please help me to solve this problem.
thanks
There is likely something in your PHP file before that code - even a line break would be enough to prevent Firefox from validating the XML. The <?xml needs to be the very first thing outputted. IE tends to be a little more forgiving about this. Hopefully that points you in the right direction.
Chad