xmltojar problems
rouxph
rouxph.22 at gmail.com
Thu Jun 16 08:57:57 CEST 2011
Hi,
I try to generate a .jar help file, from *.xml files in the current
directory, and I've the following error message with xmltojar :
8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
-->xmltojar(pwd(),'symbolic')
Construit le document maître:
SCI\contrib\SYM\xml\en_US
Building the manual file [javaHelp] in SCI\contrib\SYM\xml\en_US.
An error occured during the conversion:
java.lang.IllegalArgumentException
at sun.net.www.ParseUtil.decode(Unknown Source)
at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at com.icl.saxon.aelfred.XmlParser.pushURL(XmlParser.java:3616)
at com.icl.saxon.aelfred.XmlParser.parseEntityRef(XmlParser.java:1790)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1183)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510)
at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.scilab.forge.scidoc.HTMLDocbookLinkResolver.resolvLinks(Unknown
Source)
at org.scilab.forge.scidoc.HTMLDocbookLinkResolver.<init>(Unknown Source)
at org.scilab.forge.scidoc.HTMLDocbookTagConverter.<init>(Unknown Source)
at org.scilab.forge.scidoc.JavaHelpDocbookTagConverter.<init>(Unknown
Source)
at org.scilab.forge.scidoc.SciDocMain.process(Unknown Source)
!--error 10000
xmltoformat : C:\Program Files
(x86)\scilab-5.3.1\contrib\SYM\xml\en_US\scilab_en_US_help\scilab_en_US_help.jar
n'a pas été généré.
at line 736 of function xmltoformat called by :
at line 13 of function xmltojar called by :
xmltojar(pwd(),'symbolic')
8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
Could someone tell me if there's a problem in the *.xml structure of my
help files below ? if not what is the problem with xmltojar :
8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2008 - INRIA
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
-->
<refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab"
xml:lang="fr" xml:id="bfloat">
<info>
<pubdate> $LastChangedDate$ </pubdate>
</info>
<refnamediv>
<refname>bfloat</refname>
<refpurpose> Converts all numbers and functions of numbers in input
argument to bigfloat numbers.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>synopsis</title>
<synopsis>[bb] = bfloat(aa,nn)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Parameters</title>
<variablelist>
<varlistentry>
<term>aa</term>
<listitem>
<para>
Symbolic expression or <literal>symbolic</literal> number</para>
</listitem>
</varlistentry>
<varlistentry>
<term>nn</term>
<listitem>
<para>
number of significant digits
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>bb</term>
<listitem>
<para>
Symbolic expression or <literal>symbolic</literal> number
</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
Big <literal>float</literal> numbers might have a very large number of
significant
digits, therefore, these numbers are meaningless in Scilab
workspace. For this reason the Maxima form (<i>e.g.,</i>
<literal>3</literal>.<literal>333333b</literal>-<literal>1</literal>)
is preserver. For an evaluation in Scilab workspace, use the
function double.
</para>
</refsection>
<refsection>
<title>Examples</title>
<programlisting role="example"><![CDATA[
x = log(sym('3')) - log(3)
y = float(x)
bfloat(sym('%pi'),2400) // pi with 2400 digits
]]></programlisting>
</refsection>
<refsection>
<title>see also</title>
<simplelist type="inline">
<member>
<link linkend="float">float</link>
</member>
<member>
<link linkend="sym/dbl">sym/dbl</link>
</member>
</simplelist>
</refsection>
</refentry>
8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
philippe.
More information about the users
mailing list