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=""; xmlns:svg="http://www.w">
  <name>sixnet - 5ES</name>
    <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"/>
  <aspectratio type="fixed"/>
    <svg:image x="0" y="0" width="2.72852" height="10.2135"
    <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>

What am I doing wrong?

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]