https://bugs.documentfoundation.org/show_bug.cgi?id=92210

Maxim Monastirsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
          Component|Draw                        |filters and storage
            Version|5.1.0.0.alpha0+ Master      |3.5.0 release
            Summary|FODG files without XML      |Flat XML files without XML
                   |processing instruction      |declaration cannot be
                   |cannot be opened            |opened
     Ever confirmed|0                           |1

--- Comment #2 from Maxim Monastirsky <[email protected]> ---
This is a known limitation. Currently the detection of such files is very
primitive, as it just searches some string in the first 4000 bytes (or 8000 for
UTF-16). So to avoid false positives, we initially reject any file that doesn't
start with "<?xml". That's definitely something that should be improved.

The current workaround is to preselect the correct type in the Open file
dialog.

Code pointer:
http://opengrok.libreoffice.org/xref/core/filter/source/xmlfilterdetect/filterdetect.cxx#127

-- 
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