cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduard Drenth <eduard_dre...@rotonet.rsdb.nl>
Subject [HELP]Could not read resource file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg
Date Fri, 22 Feb 2002 09:12:39 GMT
Dear developers,

Can anyone help me with the following:

I created an svg document which I can display in batik:

<svg xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink"
            width="400" height="300" viewBox="0 0 400 300">

  <title>Testje van Pieter</title>

  <image xlink:href="004.jpg" x="0" y="0" width="400" height="300"/>

  <text x="25" y="100" font-family="Courier" font-size="12pt">Hallo, 
Eduard</text>

  <text x="25" y="200" font-family="gothic" stroke="purple" 
font-size="24pt">Hoe gaat het?</text>
</svg>

My sitemap entry to display this svg in cocoon is:

   <map:match pattern="xsp/test.svg">
    <map:generate src="docs/samples/xsp/test.svg"/>
    <map:serialize type="svg2jpeg"/>
   </map:match>

I receive the following error message:



Description:org.apache.cocoon.ProcessingException:

Could not read resource 
file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg:
org.apache.batik.transcoder.TranscoderException: nullEnclosed

Exception:http://xml.apache.org:-1The attribute 'xlink:href' of the 
element is required

What is the problem here???


Thanks in advance, regards,

Eduard Drenth
eduard_drenth@rotonet.rsdb.nl



Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message