Guzman Rejon created ODFTOOLKIT-472:
---------------------------------------

             Summary: mimetype error
                 Key: ODFTOOLKIT-472
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-472
             Project: ODF Toolkit
          Issue Type: Bug
          Components: odfdom
    Affects Versions: 0.6.2-incubating
         Environment: Windows 10 Home 64 Bits
ODF Toolkit 0.6.2

            Reporter: Guzman Rejon
         Attachments: correctmimetypeapplication.odt, 
corruptmimetypeapplication.odt

Hello,

For odt files, after delete or update its metadata the mimetypeapplication is 
corrupted so even is possible open or edit the document in Open Office, other 
applications like TIKA not recognize them due to a corrupt mimetypeapplication.

Example:
 # Create a odt file and open it with note++ or some editor, the 
mimetypeapplication looks like (please see correctmimetypeapplication.odt):

          *mimetypeapplication/vnd.oasis.opendocument.text*

      2. Delete metadata for odt file

      3. Edit with note++ and mimetypeapplication is corrupted (please see      
          corruptmimetypeapplication.odt):

          *mimetypeK,(ÈÉLN,ÉÌÏÓ/ËKÑËO,Î,ÖË/HÍKÉO.ÍMÍ+Ñ+I­*

Could you please send us a patch or workaround to solve this issue?

Thanks a lot in Advance,
Best Regards,
Guzman



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to