mime-type oddity

2009-02-06 Thread Peter Flynn

In my sitemap I have:

  

  

  

  

This serves additional files related to a specific document in the 
specified folder, and it works perfectly for MOVs, serving them as 
video/quicktime.


But the PDFs are being served as text/html with a length of 1, for no 
reason that I can understand. There is no match pattern for PDFs in any 
sitemap in higher directories. The mime.types file entries for PDF in 
the Cocoon build (and in the /etc/mime.types) are all correct. The PDF 
file exists, in the correct location (same as the MOV files earlier in 
the document), and opens in Acrobat Reader correctly.


There is an example at 
http://publish.ucc.ie/journals/scenario/2008/01/retzlaff/04/en#I-4 (link 
"Fit for Duty" I've obviously missed something, but what?


///Peter

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: mime-type oddity

2009-02-06 Thread Luca Morandini

Peter Flynn wrote:

I've obviously missed something, but what?


Hmm... probably you tried that already... but I would first ascertain 
that the PDF links are matched by that pipeline: just uncomment the 
pipeline and check whether the PDF links get matched or not.


Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org