Stefan Seifert wrote:
>
> Hello Ulrich.
>
> Just one point: Most of the workarounds do not work with C2 (did you
> ever try them with C2)? The one you described with a content disposition
> unlike *.pdf works, but it is not acceptable for the user (who expectes
> to open the pdf in the browser window and could not do the additional
> steps saving to disc and displaying).
If it is acceptable to the user to use a webbrowser, that doesn't comply
to HTTP, then it must be acceptable to live with the shortcomings
introduced by this behavior.
I've never used Cocoon2, so cannot comment on that. However, I don't
think it has much to do with Cocoon2, only that Cocoon2 uses a newer
version of fop.
> And a second: I downloaded your example from ulim/iebug and experimented
> a bit with it. If i save the generatet pdf in a file and put it in the
> same directory and call it, it works in all browsers, including IE 5.5.
> How do you explan this? There should be no difference between the
> streams?
As I said, IE does some checks on the stream, if it arrives via HTTP,
which it doesn't do, when opening a file from the filesystem. I recently
posted an URL to a page at MSDN that explains some of these checks and
the rationale behind them. If you read that document, you'll find that
MS explicitly states "we ignore the HTTP standard, if we think it is not
good for our users".
> And third (*personal opinion*): If you develop cocoon applications for
> the internet, you have do deal with the millions of installed IE's out
> there (market share about 70%), it is difficult to not support it.
It is short-sighted to support it. You are actively helping Microsoft
undermine the HTTP standard, if you implement workarounds for IE. If
everyone thinks like you, then one of these days IE will have 99%
market-share and then MS can do with the HTTP standard whatever they
want.
> And - let all political aspects alone - the IE is definetly the better
> product, concerning accuracy of displaying HTML Pages, Framesets etc.,
> Speed and stability. And with Netscape discontinuing the Browser at all
> IE will widespread even more.
This is due to people, who do not take a stand against the undermining
of the HTTP standard by MS. If everyone thinks and acts like you, then
this is what will happen, no doubt.
> So i'm still not sure if its really (only) an IE Bug, and that there are
> still possibilites to optimze this in cocoon.
Optimize Cocoon? You are sounding like MS already. The bug is in IE, not
in Cocoon. If you don't believe me, then read the URL I recently posted
to the list.
Ulrich
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>