If you get "Unknown formatting object http://www.w3.org/1998/Math/MathML^math";
this means that FOP didn't find an extension which handles the MathML
namespace. Please make sure the extension JAR is in the classpath on the
same level as xmlgraphics-commons.jar and fop.jar and that the JAR
contains a file called: META-INF\services\org.apache.fop.fo.ElementMapping

If you try to debug inside an IDE, build the extension JAR once and
remove all class files (but not the above file) and add the modified JAR
to the classpath of the project.

On 26.03.2007 21:25:51 Thomas Zastrow wrote:
> 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


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to