We are using Birt 2.3.2. <br />
We tried to open our report in Firefox 15.0.1, we are getting exception "org.xml.sax.SAXParseException: Premature end of file" without a stack trace.<br />
<br />
We tried to debug it and found that firefox is sending wrong content-type. When I modify the header of request using Tamper Data plugin it worked.<br />
<br />
First request sent was <br />
<strong class='bbc'><em class='bbc'><br />
Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Content Size[unknown] Mime Type[unknown]<br />
Request Headers:<br />
Host[<<MYHOST>>]<br />
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0.1]<br />
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]<br />
Accept-Language[en-us,en;q=0.5]<br />
Accept-Encoding[gzip, deflate]<br />
Connection[keep-alive]<br />
X-Requested-With[XMLHttpRequest]<br />
X-Prototype-Version[1.4.0]<br />
Content-Type[text/xml; charset=UTF-8]<br />
SOAPAction[""]<br />
request-type[SOAP]<br />
Referer[<<URL>>]<br />
Content-Length[1702]<br />
Cookie[JSESSIONID=A5E874082FE87F814F32B103EE864EBF.]<br />
Post Data:<br />
POST_DATA[<soap:Envelope xmlns:soap="<a class='bbc_url' href='
http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><<SOAPBODY>></soap:Body></soap:Envelope>]'>http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><<SOAPBODY>></soap:Body></soap:Envelope>]</a></em></strong><br />
<br />
it had a correct content-type<br />
<br />
Second request which was sent was <br />
<em class='bbc'><strong class='bbc'>POST <<URL>> <br />
Request Headers:<br />
Host[<<MYHOST>>]<br />
User-Agent[Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0.1]<br />
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]<br />
Accept-Language[en-us,en;q=0.5]<br />
Accept-Encoding[gzip, deflate]<br />
Connection[keep-alive]<br />
Content-Length[1702]<br />
<span class='bbc_underline'>Content-Type[application/x-www-form-urlencoded]</span><br />
Referer[<<URL>>]<br />
request-type[SOAP]<br />
SOAPAction[""]<br />
X-Prototype-Version[1.4.0]<br />
X-Requested-With[XMLHttpRequest]<br />
Cookie[JSESSIONID=A5E874082FE87F814F32B103EE864EBF.]<br />
Pragma[no-cache]<br />
Cache-Control[no-cache]<br />
Post Data:<br />
POST_DATA[<soap:Envelope xmlns:soap="<a class='bbc_url' href='
http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><<SOAPBODY>></soap:Body></soap:Envelope>]'>http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><<SOAPBODY>></soap:Body></soap:Envelope>]</a><br />
Response Headers:<br />
Server[Apache-Coyote/1.1]<br />
X-Powered-By[Servlet 2.5; JBoss-5.0/JBossWeb-2.1]<br />
Content-Type[text/xml;charset=utf-8]<br />
Transfer-Encoding[chunked]<br />
Date[Fri, 28 Sep 2012 00:05:39 GMT]<br />
Connection[close]<br />
</strong></em><br />
<br />
When we modify Content-Type to text/xml; charset=UTF-8, it worked<br />
<br />
Is there a way to fix it?