You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Eberhard Wolff <eb...@yahoo.de> on 2002/08/28 19:14:56 UTC

Problems Cocoon 2.0.1 / Websphere / Batik

Hello,

we are trying to run Batik as a part of Cocoon 2.0.1 o
Websphere Application Developer 4.0.3 on Windows 2000.
It is used to render SVGs to PNGs. I cannot describe
the problem very detailed which is in turn part of the
problem ....

So we get
[28.08.02 18:17:11:644 GMT+02:00] 172439cc SystemOut  
  U itemCoordinatesProvider =
net.cubiq.bsc3.diagrams.RelativeItemCoordinatesProvider
[viewport=net.cubiq.bsc3.diagrams.Viewport
[itemDimension = net.cubiq.bsc3.diagrams.Dimension
[width=31.0, height=14.0], itemPaintHeight = 137.0,
itemPaintWidth = 171.0, paintArea =
net.cubiq.bsc3.diagrams.Rectangle[x=23.0,y=54.0,w=202.0,h=151.0]],
scaleX=net.cubiq.bsc3.diagrams.FastDummyScale [min =
0.0, max=0.0, scala=0.0],
scaleY=net.cubiq.bsc3.diagrams.Scale [min = NaN,
max=NaN, scala=NaN]]
[28.08.02 18:17:11:734 GMT+02:00] 175eb9cc SystemOut  
  U itemCoordinatesProvider =
net.cubiq.bsc3.diagrams.RelativeItemCoordinatesProvider
[viewport=net.cubiq.bsc3.diagrams.Viewport
[itemDimension = net.cubiq.bsc3.diagrams.Dimension
[width=31.0, height=14.0], itemPaintHeight = 137.0,
itemPaintWidth = 171.0, paintArea =
net.cubiq.bsc3.diagrams.Rectangle[x=23.0,y=54.0,w=202.0,h=151.0]],
scaleX=net.cubiq.bsc3.diagrams.FastDummyScale [min =
0.0, max=0.0, scala=0.0],
scaleY=net.cubiq.bsc3.diagrams.Scale [min = NaN,
max=NaN, scala=NaN]]
org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
http://xml.apache.org:-1
The attribute 'd' of the element <path> is invalid
	at
org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java:230)
	at
org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:92)
	at
org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler.java:190)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1186)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3139)
	at java.lang.Thread.run(Thread.java:498)
org.apache.batik.transcoder.TranscoderException: null

The XSLT used to generate the SVGs used to work on
Tomcat and we are . So the question is:
- Is this a know problem (with a know solution maybe)?
- How can we tackle the problem? Is there a way to
make Batik store the SVG somewhere? It is generate as
part of the Cocoon process.
- How can we get mote log messages from Batik i.e.
Debug message, detailed information about what it is
currently doing etc. to solve the problem?

Thanks a lot,

Eberhard

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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


Re: Problems Cocoon 2.0.1 / Websphere / Batik

Posted by Philipp Matthias Hahn <pm...@titan.lahn.de>.
Hi Eberhard!

On Wed, Aug 28, 2002 at 10:14:56AM -0700, Eberhard Wolff wrote:
> org.apache.batik.transcoder.TranscoderException: null
> Enclosed Exception:
> http://xml.apache.org:-1
> The attribute 'd' of the element <path> is invalid

Looks like a problem with your file: Check the "d" attribute.

BYtE
Philipp
-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de

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