[Libreoffice-bugs] [Bug 116791] New: dialog.dtd:245:61: fatal: character not allowed when converting with trang

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 4 11:30:48 UTC 2018


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

            Bug ID: 116791
           Summary: dialog.dtd:245:61: fatal: character not allowed when
                    converting with trang
           Product: LibreOffice
           Version: 5.4.5.1 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: unhammer+dill at mm.st

Description:
/usr/lib/libreoffice/share/dtd/officedocument/1_0/dialog.dtd on Xubuntu 17.10
from the package libreoffice-common (Version: 1:5.4.5-0ubuntu0.17.10.5) has a
semicolon on line 245 position 61 that should be a space. It makes trang[1]
fail converting it into rnc.

                  dlg:scale-mode (none|isotropic|anisotropic);#IMPLIED          

should be

                  dlg:scale-mode (none|isotropic|anisotropic) #IMPLIED          


There's also a missing EMPTY in
/usr/lib/libreoffice/share/dtd/officedocument/1_0/groupuinames.dtd, 

<!ELEMENT groupuinames:template-group>                                          

should be

<!ELEMENT groupuinames:template-group EMPTY>                                    


[1] http://www.thaiopensource.com/relaxng/trang.html

Steps to Reproduce:
1. for f in /usr/lib/libreoffice/share/dtd/officedocument/1_0/*dtd; do  java
-jar trang.jar -I dtd -O rnc  "$f" "$(basename "${f%%.dtd}")".rnc;done

or use some other dtd-validation method

Actual Results:  
dtd's are not valid

Expected Results:
valid dtd's


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101
Firefox/59.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180404/39e9eea0/attachment.html>


More information about the Libreoffice-bugs mailing list