Jorg Heymans wrote:
> to quickly prove my point, i changed
> String s = e.getAttributeNS(null,SVG_D_ATTRIBUTE);
> in SVGPathElementBridge.buildShape() to
> String s = e.getAttributeNS("",SVG_D_ATTRIBUTE); and it works!
> is getAttributeNS("",...) valid
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.
> or do i try and track down how i can prevent from parsing an empty
> string instead of null when the attribute namespace is not defined.
I would try and track down how to change this.
---------------------------------------------------------------------
To unsubscribe, e-mail:
batik-users-unsubscribe@xmlg...
For additional commands, e-mail:
batik-users-help@xmlg...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.