Archie Cobbs wrote:
So IMHO this is a fairly serious bug that makes it difficult to reliably export dynamically modified documents.
Well then you should have lots of energy around producing a patch that fixes it. ;)
Thomas DeWeese wrote:
To be honest I haven't had the time or interest to see what DOM 3 Load/Store say on this topic. But the fix is pretty simple and I think that it should work with any implementation.
Thanks, but this workaround is not reliable.
It's as reliable as you want to make it.
What if that there is no "xlink" namespace tag defined in the document? Or what if the tag is "xlnk" or "ns7" instead of "xlink"?
Then you should provide an 'xlink' xmlns decl, or use 'ns7'.
It seems to me that namespace prefix tags are mere artifacts of the way XML documents are encoded as flat files, and are not actually part of the DOM.
Well the DOM is perfectly aware of the prefixes. In fact the DOM clearly states that setAttributeNS takes a qname, which is the name of the attribute with it's prefix. I agree that in many cases it would be nice if this was done for you but I haven't look up the relevant specifications on if/how it should be done. If it were done it we should follow DOM 3 Load/Store since that will be required for SVG 1.2.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
