https://bugs.documentfoundation.org/show_bug.cgi?id=160564
Bug ID: 160564
Summary: xlink:type="simple" should be valid in draw:object or
chart:chart
Product: LibreOffice
Version: 24.8.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Description:
When opening a file containing an embedded chart, there is a warning message:
warn:xmloff:1302942:1302942:xmloff/source/chart/SchXMLChartContext.cxx:392:
unknown attribute http://www.w3.org/1999/xlink xlink:type value=simple
content.xml contains xlink:type="simple":
<draw:object xlink:href="./Object 1" xlink:type="simple" xlink:show="embed"
xlink:actuate="onLoad">
which appears to be valid in ODF [1]
[1]
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1419428_253892949
Steps to Reproduce:
1. Create a new empty presentation
2. Insert a default chart via Insert > Chart
3. Save as ODP
4. File > Reload
Actual Results:
A warning message is displayed in the console:
warn:xmloff:1302942:1302942:xmloff/source/chart/SchXMLChartContext.cxx:392:
unknown attribute http://www.w3.org/1999/xlink xlink:type value=simple
Expected Results:
No warning message
Reproducible: Always
User Profile Reset: No
Additional Info:
It seems that SchXMLChartContext::startFastElement [2] is missing
case XML_ELEMENT( XLINK, XML_TYPE )
like in ScXMLCellFieldURLContext::startFastElement [3]
[2]
https://opengrok.libreoffice.org/xref/core/xmloff/source/chart/SchXMLChartContext.cxx?r=55e9a27a#308
[3]
https://opengrok.libreoffice.org/xref/core/sc/source/filter/xml/celltextparacontext.cxx?r=ce6babf7#270
--
You are receiving this mail because:
You are the assignee for the bug.