[ 
https://issues.apache.org/jira/browse/JCR-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533999
 ] 

Claus Köll commented on JCR-1172:
---------------------------------

hi julian.

i am using the new Office 2007 products as webdav client. 
We do not have webfolders we crap the content always with the ApplicationClient 
itself.
i dont know if MsWord sends a header with the mimetype but i will check it ..

--- angela ----
> Is my assumption correct that "After saving a..." means that you modify an 
> existing resource and that 
> the mimetype was original (after creating the resource) correct? 
yes thats true

> The drawback would be, that the mimetype will not be adjusted even if the 
> file node gets replaced by a file 
> with a different mimetype. For that - maybe not realistic (?) - case, the 
> used would have to remove the resource and add the replacement. 

i think this scenrio that you open a word file and then save as excel is not 
realistic.

to add mimetypes through a configuration would be fine so we can add other 
formats.

BR
claus


> Better MimeType Handling
> ------------------------
>
>                 Key: JCR-1172
>                 URL: https://issues.apache.org/jira/browse/JCR-1172
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-webdav
>    Affects Versions: 1.3
>            Reporter: Claus Köll
>
> After saving a Excel File through WebDAV the mimetype will be changed.
> The mimetype for a Win2000 Exel File is application/vnd.ms-excel. This will 
> be changed to application/msexcel.
> Also problems makes the new office 07 format (docx,xlsx,pptx). They will also 
> be changed to application/octet-stream (default mimetype).
> We have a lot of file types that we store in jackrabbit that are not in the 
> properties file (MSInfoPath-, OutlookMsg-, MsAccess-Files, ...)
> I think it will be better to let the mimetype property untouched if a 
> mimetype is present so we must not put all the possible mimetypes in the 
> property file.
> BR
> claus

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to