[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Getting jeuclid to run
From:       Thomas Zastrow <listen () thomas-zastrow ! de>
Date:       2007-03-26 19:25:51
Message-ID: 46081E3F.6050101 () thomas-zastrow ! de
[Download RAW message or body]

Hi there,

as I promised, I tried to get the newer versions of jEuclid to run and, 
ahh, yes ... yeah, I got it compiled :-)

But, hhm, something is still not working and perhaps you can help me.

At first, I made a lot of changes in MathMLElement.java and 
MathMLElementMapping.java. I think, the ant script runs succesful, there 
were just some warnings:

Buildfile: build.xml

init:
     [echo] ------------------- MathML-FOP 0.1-CVS [2002-2004] 
----------------

jeuclid-check:

prepare:
     [echo] Preparing the build directories

prepare-src:
     [copy] Copying 1 file to 
/home/zastrow/fop/fop-0.93/examples/mathml/build/src

compile:
     [echo] Compiling the sources
    [javac] Compiling 1 source file to 
/home/zastrow/fop/fop-0.93/examples/mathml/build/classes
    [javac] This version of java does not support the classic compiler; 
upgrading to modern
    [javac] 
/home/zastrow/fop/fop-0.93/examples/mathml/build/src/org/apache/fop/mathml/MathMLElementMapping.java:105: \
                
warning: [deprecation] getWidth() in net.sourceforge.jeuclid.MathBase 
has been deprecated
    [javac]                 info.width = base.getWidth();
    [javac]                                  ^
    [javac] 
/home/zastrow/fop/fop-0.93/examples/mathml/build/src/org/apache/fop/mathml/MathMLElementMapping.java:106: \
                
warning: [deprecation] getHeight() in net.sourceforge.jeuclid.MathBase 
has been deprecated
    [javac]                 info.height = base.getHeight();
    [javac]                                   ^
    [javac] Note: 
/home/zastrow/fop/fop-0.93/examples/mathml/build/src/org/apache/fop/mathml/MathMLElementMapping.java \
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings

package:
     [echo] Creating the jar file ./build/mathml-fop.jar
      [jar] Building jar: 
/home/zastrow/fop/fop-0.93/examples/mathml/build/mathml-fop.jar

BUILD SUCCESSFUL
Total time: 1 second
----------------------------------------------

Than, I tried to compile the example-fo-file in examples/mathml/docs but 
get a lot of errors (there were more errors, but all looking the same):

26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^math
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mrow
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mi
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mrow
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mi
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mi
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mi
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mi
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^math
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mrow
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mo
26.03.2007 21:05:47 org.apache.fop.fo.ElementMappingRegistry findFOMaker
WARNUNG: Unknown formatting object http://www.w3.org/1998/Math/MathML^mtable

Any idea? Did I forgot something?

Thanx!

Best,

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic