Bug 146221 - Importing XML Source does not work on Windows (fields are shown in mapping list but imported result is empty), whereas it works on Linux
Summary: Importing XML Source does not work on Windows (fields are shown in mapping li...
Status: RESOLVED DUPLICATE of bug 150247
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
: 144093 (view as bug list)
Depends on:
Blocks: Data-XMLsource
  Show dependency treegraph
Reported: 2021-12-14 07:37 UTC by Kevin Suo
Modified: 2022-08-25 13:26 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

test xml file (3.49 KB, text/xml)
2021-12-14 07:37 UTC, Kevin Suo

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2021-12-14 07:37:34 UTC
Created attachment 176922 [details]
test xml file

Steps To Reproduce:

1. New Calc, go to Data > XML Source.

2. Click "Source File", then use the attached test xml file.
A list of fields are shown in the text box, this is good.

3. Click on the field "fp", so that the records under this node are selected.

4. Now in select a cell to be mapped by clicking on the Shrink button on the right.

--> Nothing imported under windows, but the records are correctly imported under Linux.

Version: (x64) / LibreOffice Community
Build ID: 5242061cca5332ec15cce8c76f070d16e857445d
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded
Comment 1 Kevin Suo 2021-12-14 07:56:02 UTC
*** Bug 144093 has been marked as a duplicate of this bug. ***
Comment 2 Kevin Suo 2021-12-16 00:26:37 UTC
Adding Eike Rathke to cc as you have worked on bug 126565.
Comment 3 Eike Rathke 2021-12-16 01:47:43 UTC
Wrong addressee, I don't use Windows.
Comment 4 Mike Kaganski 2022-08-20 08:04:52 UTC
I can't repro with attachment 176922 [details] using Version: (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL Jumbo

== until I copy the XML to a directory containing non-ascii characters ==

(I used a directory named 'テストabcабв').

In such a directory (or when the file itself is renamed like that), I do repro with the mentioned version; and *that* was bug 150247 (it imports OK in current master).

Kevin: is that what you see?
Comment 5 Kevin Suo 2022-08-25 13:26:23 UTC
(In reply to Mike Kaganski from comment #4)
Yes, with a master daily build of "Win-x86_64@tb77-TDF/2022-08-19_05.10.25/" I do not reproduce this, the XML is now imported correctly, while I do reproduce it with an earlier build.

Marking as a duplicate of bug 150247.

@Dongshili maybe you love this fix and I think you should try it out with a daily build. The official daily builds can be downloaded at: https://dev-builds.libreoffice.org/daily/ . However, if you encounter slow download speed in China then you can use my mirrored site at: https://go.suokunlong.cn:88/dl/libreoffice/daily/ .

*** This bug has been marked as a duplicate of bug 150247 ***