Description: regression from 6.0 Steps to Reproduce: 1. open attached file in Calc 2. 3. Actual Results: xml is not imported Expected Results: open spreadsheet Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 149387 [details] xml file
Created attachment 149388 [details] printscreen from LO 6.0
This seems to have begun at the below commit. Adding Cc: to Kohei Yoshida ; Could you possibly take a look at this one? Thanks author Kohei Yoshida <kohei.yoshida@gmail.com> 2017-12-07 21:27:20 -0500 committer Kohei Yoshida <libreoffice@kohei.us> 2017-12-18 02:31:24 +0100 commit ca1a583e96f832797bf638d0b0a37840d35af5f9 (patch) tree d9088f6286625fcc6ec0f85249845778014d1100 parent 152c79ee2be2374334202dc738a8f011e47845c7 (diff) Remove code duplicates. Change-Id: I424e5999ef2ec6e71f6b6361ed91079b8d949555 Reviewed-on: https://gerrit.libreoffice.org/46656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> error at command line 1:1: ��<?xml version='1.0'?> ^ malformed_xml_error: unsupported encoding. only 8 bit encodings are supported
confirm with Version: 6.1.4.2 Build ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3 CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); Calc: group threaded Version: 6.3.0.0.alpha0+ Build ID: 5b2e38e0cfc7006d6982f741cf158a8a98dc8630 CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: nl-BE (en_US.UTF-8); UI-Language: en-US Calc: threaded
Created attachment 149840 [details] console logs On pc Debian x86-64 with master sources updated, I could reproduce this. I noticed strange logs like: MWAWHeader::constructHeader: find a potential MacPaint file Also, is it on purpose that the file has xls extension whereas it's an xml file?
This file is encoded in big-endian UTF-16, not the usual UTF-8 encoded ones. I'll see if I can handle this on the orcus side.
*** Bug 124580 has been marked as a duplicate of this bug. ***
Orcus has been upgraded on master, and with that, this issue is no longer reproducible.
Verified in Version: 6.4.0.0.alpha0+ Build ID: cbe9601e5972ec1c466311e0b148a9fbe8cda4d1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Kohei, thanks for fixing this issue!
@Kohei, do you plan to backport it to 6.3 branch ?
@Xisco, Nope, no backporting plan, as the change is rather big, and involves more than just the bug fix.