> GREAT!
>
> An excellent viewer with dynamic scripting support, and getURL!

Thanks.

> My live updating graph at:
> http://jibbering.com/2002/4/lineupd.svg
> works with batik 1.5beta 2
>
> A couple of things I've noticed.
>
> elements created with createElement(..) aren't rendered, but those
> created with createElementNS('http://www.w3.org/2000/svg','rect') are,
> it's an annoying bug, but not cripplingly so.

This is not a bug. According to the DOM specification, you must use
createElementNS if you are dealing with namespaces (as SVG does). Batik has
the correct behavior on both  createElement and createElementNS.

> getBBox() doesn't work until the element has been added to the document -
> you get a nullpointer exception (this isn't surprising) but it's
> different to ASV's which very usefully allows you to get the size of an
> element before rendering so you can then tweak the position based on the
> size.

This is because I don't see how I can compute the bounding box of an element
when you have units or percentage and when the element is not yet added to
the DOM tree. I am curious to know what ASV returns on getBBox() with <rect
width="100%" height="100%" /> that is not attached. If you can let me
know...

> With default security getURL doesn't let you get from the same domain as
> the svg is served from, you have to untick the "enforce secure
> scripting" - could we have the nicer default?

Thanks for your feedback - we still have some work to do on the security.
We will fix that.

Regards,
Thierry.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to