You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by COFFMAN Steven <SC...@CBSINC.com> on 2001/01/11 16:34:40 UTC

RE: What does this error mean: WARNING: Unknown formatting object %SVGNamespace;^svg

I contacted the batik team a couple times asking about that idea. They never
replied.
When they were in stealth mode, Keiron and Arved talked with them and they
said they wanted to wait a few months until their project was stabilized.
-Steve

-----Original Message-----
From: Aaron Optimizer Digulla [mailto:digulla@hepe.com]
Sent: Thursday, January 11, 2001 10:22 AM
To: fop-dev@xml.apache.org; Aaron Optimizer Digulla
Subject: Re: What does this error mean: WARNING: Unknown formatting
object %SVGNamespace;^svg


On Thu, Jan 11, 2001 at 04:02:06PM +0100, Aaron Optimizer Digulla wrote:

> > > ------ ursprüngliche Nachricht -------
> > > 
> > > ? I get this when I try to include an external SVG with:
> > > 
> > > 
> > >     <image x="5000" y="0" width="3000" height="3000"
> > > 	    xlink:href="uhr.svg"
> > > 	    transform="scale(1,1)"
> > >     />
> > > 
> > > when the topmost svg element is declared like this:
> > > 
> > >     <svg:svg>
> > > 	...
> > > 
> > > ie. when I use the SVG namespace. What's wrong ?
> > > ---------------------------------------------------------------------
> > 
> > maybe the namespace specified in your fop file differs from the
namespace specified in the included file.
> 
> :-/ No, it's always "http://www.w3.org/2000/svg". My problem is less
> the error but this:
> 
>     WARNING: Unknown formatting object %SVGNamespace;^svg
> 	java.lang.NullPointerException
> 	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:917)
> 	at org.apache.fop.svg.SVGDriver.buildSVGTree(SVGDriver.java:223)
> 	at
org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:85)
> 
> :-) This prevents the child SVG file to be included.

???? No I've tried a workaround: I just copied the SVGs into one file
instead of referencing them with svg:image. I tried this with the
first one and ran FOP and... the error is gone !! Instead, the PDF
file shows *nothing* !! Damn :-(

Wouldn't it be possible to use Batik to convert SVG to PDF
instead of the FOP team writing their own SVG converter ?
Batik seems to support SVG almost completely whereas SVG
support in FOP is, well,... superficial ? :-)

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org