Re: Weird message when using custom shapes
- From: Christopher Nelson <chris nelson 1022 gmail com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Weird message when using custom shapes
- Date: Fri, 29 Jul 2011 11:36:43 -0400
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"
...
Looks like you need to add 'xmlns:xlink="http://www.w3.org/1999/xlink"
' to your
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
Yes, that seems to have fixed it. I didn't create the shape from
scratch; I exported it from Dia. I guess the export is incomplete.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]