https://bugs.freedesktop.org/show_bug.cgi?id=79331

          Priority: medium
            Bug ID: 79331
          Assignee: [email protected]
           Summary: FILEOPEN: Parser error loading MS xml file if filename
                    has no .suffix
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.2.2.1 release
         Component: Writer
           Product: LibreOffice

Created attachment 99975
  --> https://bugs.freedesktop.org/attachment.cgi?id=99975&action=edit
Copy of document at http://www.idoc.idaho.gov/content/form/498

The attached file is supposedly a Microsoft word xml document (usually stored
with .docx suffix in the file name).  However if the file name has no suffix,
LibreOffice emits an error message followed by garbage binary data to the
terminal:

:1: parser error : Document is empty^M
^C^D^T^M

Steps to reproduce:
1. Run:  libreoffice http://www.idoc.idaho.gov/content/form/498
or
1. Download the attached copy of that same file and store under filename "498"
and open that.

Current behavior: Error message with garbage characters appears

Expected behavior: Nothing printed to the terminal

The MIME-type associated with the document at the referenced url is 
vnd.openxmlformats-officedocument.wordprocessingml.document 
which according to various websites means it is a .docx file.

Note: Even after printing the parse-error message and garbage characters, the
document appears to open normally (eventually)
Operating System: Ubuntu
Version: 4.2.2.1 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to