Weird message when using custom shapes



I've created some custom shapes that use a background image.  They
work fine but when I place them in my diagram, I get warning messages
on my console:

  /home/chrisn/.dia/shapes/sixnet/5ES.shape:15: namespace error :
Namespace prefix xlink for href on image is not defined:image x="0"
y="0" width="2.72852" height="10.2135" xlink:href="./5ES-image.png"

The shape file is pretty simple:

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"; xmlns:svg="http://www.w
3.org/2000/svg">
  <name>sixnet - 5ES</name>
  <icon>5ES.png</icon>
  <connections>
    <point x="1.5" y="0"/>
    <point x="1.5" y="2.9"/>
    <point x="1.5" y="4.3"/>
    <point x="1.5" y="5.7"/>
    <point x="1.5" y="7.1"/>
    <point x="1.5" y="8.5"/>
  </connections>
  <aspectratio type="fixed"/>
  <svg:svg>
    <svg:image x="0" y="0" width="2.72852" height="10.2135"
xlink:href="./5ES-image.png"/>
    <svg:text style="fill: #ff0000; font-size: 0.8; text-anchor:start;
font-family: sans; font-style: italic; font-weight: normal" x=".8"
y="1.75" textLength="3.955">5ES</svg:text>
  </svg:svg>
</shape>

What am I doing wrong?


                                                  Chris
-- 
A: Top-posting.
Q: What is the most annoying thing in e-mail?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]