https://bugs.documentfoundation.org/show_bug.cgi?id=157621

            Bug ID: 157621
           Summary: dialog.dtd Is Outdated or Incomplete
           Product: LibreOffice
           Version: 7.6.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tomekl...@gmail.com

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:
-

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to