cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject SVG <image> tag fails: 'xlink:href' required
Date Wed, 09 Oct 2002 11:49:30 GMT
Dear All,

I have been experimenting with SVG, in that I need to overlay a number of transparent 

I have created a simple SVG file, shown below.

When I try to access this via Cocoon, I get the error:

The attribute 'xlink:href' of the element <image> is required

When I use the Batik rasterizer which I downloaded (batik1.5beta4b), it works fine. Any 

SVG file

<svg width="740" height="499"
  <image xlink:href="base.png" 
  		 x="0" y="0" width="740" height="499"/>
  <image xlink:href="overlay.png" 
  		 x="0" y="0" width="740" height="499"/>

Sitemap fragment:
    <map:match pattern="test.jpg">
      <map:generate src="test.svg"/>
      <map:serialize type="svg2jpeg"/>

I am using Cocoon 2.0.2 on Tomcat 4.0.3 on Windows 2000 Professional.

Regards, Upayavira

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message