Bug 157620 - Wrong Links in XDL Exported Dialog File
Summary: Wrong Links in XDL Exported Dialog File
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: Dialog
  Show dependency treegraph
 
Reported: 2023-10-05 20:35 UTC by tomekluke
Modified: 2023-10-23 15: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 tomekluke 2023-10-05 20:35:29 UTC
Description:
When we export a dialog to XDL file, inside there are wrong old links http://openoffice.org/2000/dialog and http://openoffice.org/2000/script.

Steps to Reproduce:
1. Tools > Macros > Dialog Windows
2. Create a dialog window.
3. Export the window to XDL (there is a button for this, in upper toolbars). 
4. open the XDL in any editing tool, check the links

Actual Results:
http://openoffice.org/2000/dialog and http://openoffice.org/2000/script

Expected Results:
Up-to-date working links.


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Stéphane Guillou (stragu) 2023-10-23 15:03:22 UTC
Thank you for the report.

Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fd69b546ad36452560cb11ccb28e78632d65f045
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

See for example attachment 190391 [details].

Many files contain these obsolete links: https://opengrok.libreoffice.org/search?project=core&full=%22openoffice.org%2F2000%2Fdialog%22&defs=&refs=&path=&hist=&type=&xrd=&nn=1&si=full&si=full&n=25
... but I guess the priority would be to fix dialog export feature first?

Hossein, an easyHack?
Would this be the pointer? https://opengrok.libreoffice.org/xref/core/include/xmlscript/xmlns.h?r=6da12ca8
Not sure what a sensible replacement would be though.