Bug 169996 - [LOCALHELP] Calc Data Provider Identifier for HTML
Summary: [LOCALHELP] Calc Data Provider Identifier for HTML
Status: NEW
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-16 09:02 UTC by Michael Otto
Modified: 2025-12-16 12:03 UTC (History)
2 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.