cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neil" <nba...@aisoftware.com.au>
Subject Re: Excel needs filename?
Date Tue, 28 Jan 2003 00:36:10 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message