Xml file parsing prolog error

Angeseecoenia

New Member
i have an xml file which starts < ?xml version="1.0" encoding="utf-8"?>..... and did the dom xml parsing in java. If i compile and run via the Tomcat manager in my Firefox browser version 4.0, that program executes succesfully. But if I try the same in my Firefox browser latest version 12.0 or IE 8, then it causes the following error.SAX Exception : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.I have searched the problem in internet and somebody said add a space between utf-8 and the prolog.I have tried that too. But still the problem exist. So any one who gives suggestion would help me.
 
Back
Top