> I get a NullPointerException, because the owner document > of the cloned custom element is not set. [...] > I managed to get rid of this problem by patching Batik so that the > SVG12DOMImplementation always returns a GenericElementNS instead of a > BindableElement. But I suppose that this is not really an acceptable > solution to the problem because custom elements that are not children of a > metadata element and are thus supposed to be rendered will not work any > more.
By your message (I haven't tried to reproduce) I'd say that the patch should be in the direction of making "BindableElement" return an owner element (probably imitating the behavior of "GenericElementNS"). If you are able to create a patch, please consider contributing it. ;-) Regards, Helder --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
