cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: SV: Cocoon and IE 5.5
Date Sat, 05 Aug 2000 20:02:10 GMT
Donald Ball wrote:
> 
> On Tue, 1 Aug 2000, Martin Erlandsson wrote:
> 
> > >Cocoon doesn't have a problem with extensions--IE does (not
> > >following spec
> > >and forcing everyone to work around their stupidity).
> > >
> > >The only problem with that solution is that you cannot store real PDF
> > >documents in the same context as Cocoon.
> > >
> > >So it would work like this:
> > >
> > >rename darkness-novel.xml to darkness-novel.pdf, and set the
> > >servlet mapping
> > >to have Cocoon process "*.pdf" as well as "*.xml".
> >
> > Thanks for your prompt answer!
> >
> > I agree, that is *usually* a better solution than the "?.pdf".
> > However, I often use parameters to output one xml file to several different
> > stylesheets, like:
> >
> > .../document.xml?output=pdf
> > or
> > .../document.xml?output=html
> > or
> > .../document.xml?output=wap
> >
> > I port this through a parameter-testing stylesheet with dynamic processing
> > instructions.
> >
> > It would take one copy of the xml file for every type of stylesheet I want
> > to use, and that kind of kills the idea of parallel publishing. :)
> >
> > More suggestions, anyone?
> 
> yeah - pick an extension that IE doesn't choose to interpret instead of
> examining the content-type mime header (stupid or malicious? you be the
> judge) - say .iesux and use that instead of .xml. you can still use your
> ?output= trick.

what does IE5.5 do if you have a URL without an extention (such as
/docs/news/today) but with the right MIME-type?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message