RE: fop .95 PDF generation issue with IE 6 (working fine in IE7)
I hate people who stop supporting my software. It was only recently web sites started popping up which don't display properly in IE6, forcing us to finally install something newer on all the users. Of course IE8 has to be supported indefinitely because WinXP doesn't run IE9 and we can't afford to upgrade their OSs. I don't know anything about servlets. I suspect I should learn soon. -Original Message- From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] Sent: Sunday, June 19, 2011 5:42 AM To: fop-users@xmlgraphics.apache.org Subject: Re: fop .95 PDF generation issue with IE 6 (working fine in IE7) On 17 Jun 2011, at 22:07, Chetan Shirol wrote: Hi Chetan I have set the content/type properly to PDF but still the issue is there. Actually we are migrating from fop .25 to .95 and this migration has caused this issue. Yes, but you also mention the issue is limited to IE6. People should really stop supporting it, and push their customers to modern browsers. That's the only way IE6 is ever going to die. (Still have to support it at my day-job too, to my dismay...) For the remainder, we have little context information about your servlet code. Can you check if the hint in the FAQ about using a ByteArrayOutputStream is implemented? (see the note at: http://xmlgraphics.apache.org/fop/1.0/servlets.html#xslt) The issue seems to be that IE6 thinks it has to display a text-file, rather than a PDF. I see no hard evidence so far that the PDF is actually corrupted. Another idea may to force the URL to end in .pdf by adding a dummy parameter. That used to be the way to trick browsers that depend on file extensions in the URL, rather than the content type in the HTTP header... see also: http://xmlgraphics.apache.org/fop/1.0/servlets.html#ie Regards Andreas --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop .95 PDF generation issue with IE 6 (working fine in IE7)
On 17 Jun 2011, at 22:07, Chetan Shirol wrote: Hi Chetan I have set the content/type properly to PDF but still the issue is there. Actually we are migrating from fop .25 to .95 and this migration has caused this issue. Yes, but you also mention the issue is limited to IE6. People should really stop supporting it, and push their customers to modern browsers. That's the only way IE6 is ever going to die. (Still have to support it at my day-job too, to my dismay...) For the remainder, we have little context information about your servlet code. Can you check if the hint in the FAQ about using a ByteArrayOutputStream is implemented? (see the note at: http://xmlgraphics.apache.org/fop/1.0/servlets.html#xslt) The issue seems to be that IE6 thinks it has to display a text-file, rather than a PDF. I see no hard evidence so far that the PDF is actually corrupted. Another idea may to force the URL to end in .pdf by adding a dummy parameter. That used to be the way to trick browsers that depend on file extensions in the URL, rather than the content type in the HTTP header... see also: http://xmlgraphics.apache.org/fop/1.0/servlets.html#ie Regards Andreas --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop .95 PDF generation issue with IE 6 (working fine in IE7)
Hi Jose, I have set the content/type properly to PDF but still the issue is there. Actually we are migrating from fop .25 to .95 and this migration has caused this issue. Please let me know if you have any other thoughts on this. Regards, Chetan V S - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
fop .95 PDF generation issue with IE 6 (working fine in IE7)
I am facing one problem with fop .95 jar - some time PDF gets generated properly in the popup screen and some times it is getting corrupted (shows some text as - %PDF-1.4 %ª«¬ 4 0 obj /Producer (Apache FOP Version..etc etc etc) And also I observed that it is happening in IE6 only. With IE 7 the PDF is getting generated always properly. Please help me with this issue. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop .95 PDF generation issue with IE 6 (working fine in IE7)
I don't think it is a FOP problem. I've seen that behaviour when I try to navigate to some action that generates a PDF, and it fails for wathever reason. If I fix the problem and try to refresh the page, the PDF is shown as a lot of rubbish. Actually, it is the binary content of the PDF. So in those cases it seems that the content/type received after the refresh is not being taken into account, and it just shows the document as plain text. But that's just my experience. 2011/6/16 Chetan Shirol chetanb...@gmail.com I am facing one problem with fop .95 jar - some time PDF gets generated properly in the popup screen and some times it is getting corrupted (shows some text as - %PDF-1.4 %ª«¬ 4 0 obj /Producer (Apache FOP Version..etc etc etc) And also I observed that it is happening in IE6 only. With IE 7 the PDF is getting generated always properly. Please help me with this issue. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org