Posted:
26-August-2008 09:57 Greetings, In my XRLlinks.xml I have the following : <int>active:imageSVG2PNG+operand@ffcpl:/resources/busy.svg+operator@ffcpl:/resources/svg2png.xml</int> |
This works fine as long as busy.svg is very simple. However, when it gets a bit more complex, like ... <svg width="100%" height="100%" version="1.2" xmlns="http://www.w3.org/2000/svg"> <defs> <path id="theCircle" d="M20,45 C20,10 70,10 70,45 M70,45 C70,80 20,80 20,45"/> </defs>
<circle cx="45" cy="45" r="40" stroke="black" stroke-width="2" fill="red"/> <text style="font-size:14;font-family:verdana"> <textPath xlink:href="#theCircle">Busy-Busy-Busy-Busy- </textPath> </text> </svg> |
It throws the typical sax error ... org.xml.sax.SAXParseException The prefix "xlink" for attribute "xlink:href" associated with an element type "textPath" is not bound.I "understand" why that is, but on the other hand ... this is valid SVG-syntax ... so how can I write my statement so the imageSVG2PNG-parser gets my input without going through the sax-parser first ? Regards, Tom |