Problem: IE not recognizing Excel data generated by cocoon as being an Excel 
spreadsheet.

1) This is due to a bug in HSSFSerializer.java, where the mime-type is hardcoded as 
"vnd.ms-excel"
   (the correct mime-type for Excel is "application/vnd.ms-excel"). Once this is fixed 
it works fine
   with IE/Excel so the problem is not due to a bug in IE.

2) HSSFSerializer.java ignores any mime-type configured in the sitemap. This is 
reasonable
   because there is only one correct value so it may as well be hardcoded. 
Unfortunately the example
   sitemap includes this mime-type configuration and this has misled many innocent 
folk into thinking
   that they are using the correct mime-type when they are not.

ref to previous discussion on this:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=103895523032418&w=2
Subject: Re: HSSFSerializer mime-type
Date:    2002-12-03

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to