cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuryx <yu...@mobicomk.donpac.ru>
Subject Re: [HELP]Could not read resource file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg
Date Sat, 23 Feb 2002 09:34:02 GMT
Eduard Drenth wrote:

> 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:
>
try this

 <title>Testje van Pieter</title>

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

<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">


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

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

Regards
Yury

>
>
> 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
>
>
>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message