Bug 148191

Summary: xlink:href in SVG is deprecated
Product: LibreOffice Reporter: Chameleon <gessos.paul>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: xiscofauli
Priority: medium    
Version: 7.3.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 88278    

Description Chameleon 2022-03-25 23:05:42 UTC
Description:
According to
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
xlink:href is deprecated for SVG images.
But LibreOffice Writer needs it.

So, instead of:
<svg width="304" height="364" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
...
<use xlink:href="#letters" transform="translate(0,340)" />

which is deprecated, anyone must use:

<svg width="304" height="364" xmlns="http://www.w3.org/2000/svg">
...
<use href="#letters" transform="translate(0,340)" />


First, which is deprecated, works on LibreOffice.
Second, which is current, does not work.


Steps to Reproduce:
1. Follow description
2.
3.

Actual Results:
.

Expected Results:
.


Reproducible: Always


User Profile Reset: No



Additional Info:
.
Comment 1 Dieter 2022-04-09 05:06:49 UTC
Chamelon, thank you for reportng the bug. Does it happen, if you insert a svg-image, or if you open for example docx-file with svg-image? Please specify steps to reproduce. Thank you.
=> NEEDNFO
Comment 2 Xisco FaulĂ­ 2022-07-18 11:45:58 UTC
This is fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=5169378d2a0f0a25013c8a4387a6e3cb1a4a55e9
Closing as RESOLVED FIXED