<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - dialog.dtd:245:61: fatal: character not allowed when converting with trang"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116791">116791</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>dialog.dtd:245:61: fatal: character not allowed when converting with trang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.5.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>sdk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>unhammer+dill@mm.st
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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] <a href="http://www.thaiopensource.com/relaxng/trang.html">http://www.thaiopensource.com/relaxng/trang.html</a>

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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>