Thomas DeWeese wrote:
Jorg Heymans wrote:
Well, you will have a lot more problems than just this. Everywhere in Batik we fetch attributes with getAttributeNS(null, ...). Similarly for setting. To be honest I don't know if 'null' or "" is the proper value to use for attributes with 'no namespace'. I trust the folks who did all the initial DOM work to know so I suspect that 'null' is correct.
Well I trust your judgement equally so if you trust them ... :)
The problem only occurs when you don't parse the svg element using the SAXSVGDocumentFactory, i suspect that one makes sure all the attribute namespaces are null.
I put a filter on my contenthandler to null out the namespace for attributes and know it works without changing batik. (I can still make batik stackoverflow though by appending newlines to each element in my document generator, but i'll switch that off for now)
Thanks for your help! (both Thomas and Tonny)
Regards Jorg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]