jSVGCanvas1.getUpdateManager().getUpdateRunnableQueue().invokeLater(new Runnable() {
public void run() {
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
Element processor = doc.createElementNS(svgNS, "use");
processor.setAttributeNS(svgNS, "x", "50");
processor.setAttributeNS(svgNS, "y", "50");
processor.setAttributeNS(xlinkNS, "xlink:href", "#processor");
doc.getRootElement().appendChild(processor);
}
});
Which results in the above exception (URI '')
Dumping the Document to file results in a valid and correct graphic which i could verify with Squiggle.
Sorry for posting this, I just found a hint in the FAQ which I missed before. Of course it's the xlink Namespace I have to use for the attribute "xlink:href" of the <use> element.
-- Reinhard Brandstaedter [EMAIL PROTECTED] GPG: 0x033B81DB - Student of Computer Science - J.K. University of Linz - - <ICQ: 73059068> <Mobile: +43 699 12419541> - - http://adelaide.dnsalias.net -
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]