Bug 169996 - [LOCALHELP] Calc Data Provider Identifier for HTML
Summary: [LOCALHELP] Calc Data Provider Identifier for HTML
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:26.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-16 09:02 UTC by Michael Otto
Modified: 2026-01-09 12:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Otto 2025-12-16 09:02:47 UTC
Because of bug#169077, update help page accordingly:

en-US/text/scalc/01/data_provider.html
== Data Provider for Spreadsheets ==
=== Identifier ===
"The target ID for HTML provided data ..."
is not according to the actual implementation.

See https://bugs.documentfoundation.org/show_bug.cgi?id=169077#c11

Proposal:
"//table, //table[2], ... following <span class="emph">Xpath</span> for HTML provided data ..."
(but I am not native english).
Comment 1 Regina Henschel 2025-12-16 12:03:41 UTC
The implementation had always expected an XPath to the <table> element. You can see that in the unit test https://opengrok.libreoffice.org/xref/core/sc/qa/unit/dataproviders_test.cxx?r=8e91462d385a47b3f7aaa411d39680afc1d62ef8#117

It is not clear yet, how to fix the XML case, see bug 169574. So it is not clear whether XPath will be correct for the XML case.

See also the comments in the WIP version of the Calc Guide.

The DataProvider feature has a lot of problems, see meta bug 120219. I don't know whether to mention that in the help and/or Calc Guilde.

Nevertheless, "The target ID for HTML provided data" is nonsense, thus I set the report to New.
Comment 2 Commit Notification 2025-12-23 15:30:37 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/9e5a66170e7966e740b1a7efce2ea95a38a6c53f

tdf#169996 Update/fix data provider help page
Comment 3 Buovjaga 2026-01-02 17:46:58 UTC
Can this be closed as fixed?
Comment 4 Regina Henschel 2026-01-02 20:13:05 UTC
(In reply to Buovjaga from comment #3)
> Can this be closed as fixed?

For me it is OK now for HTML. For the problems with the other file format types, I have added a comment to the Calc Guide draft, so that Olivier becomes aware of them. But I think it is up to Olivier to set this bug to "Fixed".
Comment 5 Michael Otto 2026-01-03 10:35:51 UTC
from my point of view the reason for this bugreport is addressed -> yes, fixed