Description: dialog.dtd and other dtd files (documentation: https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Library_File_Structure) are XML specifications. But for example dialog.dtd (not sure about other DTD files) is incomplete or maybe outdated. Steps to Reproduce: 1. Tools > Macros > Dialog windows 2. Create any dialog window, for example with some radio buttons or other elements. 3. Export the window to XDL (there is a button for that, see the upper toolbars). 4. Open the XDL in IDE (IDE must be set up, so it can read DTD specifications of XML files and validate XMLs against DTD) (I use VS Code, see https://github.com/redhat-developer/vscode-xml/blob/main/docs/Validation.md) 5. find dialog.dtd on your system (where in LibreOffice it is placed? See: https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Library_File_Structure) 6. place the dialog.dtd in the same folder as your XDL dialog. 7. As you see, IDE validates many XML tags against DTD just right. But some tags are missing. These are not defined in DTD. For example: dlg:radio > dlg:group-name. dlg:text-field > dlg:valign. These are tags that are missing from dialog.dtd, so we can see that dialog.dtd is incomplete or maybe outdated. Actual Results: XML tag definitions missing from DTD file. Expected Results: In DTD file all used XML tags should be defined. Reproducible: Always User Profile Reset: No Additional Info: -
Created attachment 190391 [details] sample dialog exported as XDL, created with LO 24.2 Thanks for the report! - Documentation on TDF wiki: https://wiki.documentfoundation.org/Documentation/DevGuide/LibreOffice_Basic#Library_File_Structure - dialog.dtd path: https://opengrok.libreoffice.org/xref/core/xmlscript/dtd/dialog.dtd I exported the attached XDL from a dialog created with the GUI, containing many controls, and changed various properties in some controls. I found the following issues: - dlg:bulletinboard contents don't match specifications - dlg:spinbutton element not declared - dlg:group-name attribute not declared for dlg:radio Dialog created with: 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 and checking it against the current DTD from master.
Dear tomekluke, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug