Hi,
> 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.
This is pretty weird. I thought null is the correct one instead of empty
string for batik.
All our application code that use batik always use null for namespace
instead of empty string and works. But in you case null does not works
but empty string works, very strange.
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
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.