<html>
    <head>
      <base href="http://bugzilla.scilab.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
         <tr>
                <th>Reporter</th>
            <td>sgougeon@free.fr</td>
         </tr>
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When the doc sources have a path containing "%", buildDoc() fails (tbx_builder_help(), xmltohtml(), xmltojar(), xmltoformat(), tbx_make(.,"help")))"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=15469">15469</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>When the doc sources have a path containing "%", buildDoc() fails (tbx_builder_help(), xmltohtml(), xmltojar(), xmltoformat(), tbx_make(.,"help")))
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Scilab software
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.5.2
          </td>
        </tr>


        <tr>
          <th>OS</th>
          <td>All OS
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Minor
          </td>
        </tr>


        <tr>
          <th>Component</th>
          <td>Documentation system
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla.admin@scilab.org
          </td>
        </tr>
</table>
      <p>
        <div>
        <pre>BUG DESCRIPTION:
----------------
When a help directory that must be built has a path containing a "%", the doc builder buildDoc() fails with the message:

Building the manual file [javaHelp] in C:\%myPath\myDir\help\en_US.
at line   681 of function xmltoformat           ( SCI\modules\helptools\macros\xmltoformat.sci line 698 )
at line    17 of function xmltojar              ( SCI\modules\helptools\macros\xmltojar.sci line 29 )
at line    51 of function tbx_build_help        ( SCI\modules\modules_manager\macros\tbx_build_help.sci line 67 )
at line   -10 of executed file C:\%myPath\myDir\help\en_US\build_help.sce
at line    13 of function tbx_builder           ( SCI\modules\modules_manager\macros\tbx_builder.sci line 26 )
at line    49 of function tbx_builder_help_lang ( SCI\modules\modules_manager\macros\tbx_builder_help_lang.sci line 64 )
at line    -6 of executed file C:\%myPath\myDir\help\builder_help.sce
at line    13 of function tbx_builder           ( SCI\modules\modules_manager\macros\tbx_builder.sci line 26 )
at line    36 of function tbx_builder_help      ( SCI\modules\modules_manager\macros\tbx_builder_help.sci line 53 )
at line    16 of function main_builder          ( C:\%myPath\myDir\builder.sce line 22 )
at line    26 of executed file C:\%myPath\myDir\builder.sce

If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1

When the directory is moved to a path without "%", the builder works correctly without problem.

ERROR LOG:
----------
Please see hereabove

HOW TO REPRODUCE THE BUG:
-------------------------
* Copy a small scilab module to a directory named %tmpDir
* Make this dir your current directory
* Run
tbx_builder_help(".")

OTHER INFORMATION:
------------------
Scilab 6.0.1 / Win7 64 bits</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>