[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-users
Subject: Re: Sketch/draw tool with Batik
From: Ned <nedman23 () gmail ! com>
Date: 2007-12-07 8:38:10
Message-ID: 9de9701f0712070038l6e30b4dem63eb716626cdee43 () mail ! gmail ! com
[Download RAW message or body]
Hi Thomas,
Thats exactly what was happening. It all seems to be working now with SVG
namespace.
Thanks
Nedim
On Dec 7, 2007 3:27 AM, <thomas.deweese@kodak.com> wrote:
>
> Hi Nedim,
>
> Ned <nedman23@gmail.com> wrote on 11/27/2007 06:08:15 AM:
>
> > The same file seems to work fine in ie(with adobe plugin) but not in
> > the batik viewer. There are no errors but nothing is being displayed
> > on the canvas. When i debug the code I see that the element - "path"
> > is being updated but this is not rendered on the screen. I m not
> > really sure why this is.
>
> This sounds like the file isn't creating elements in the SVG
> namespace; document.createElementNS(SVG_NS, "path"). If you don't
> create the elment in the SVG namespace it's just some generic DOM
> object (Adobe "incorrectly" treats objects in the no-name namespace
> as SVG elements).
>
>
> > Any help on the matter would be hugely appreciated.
>
[Attachment #3 (text/html)]
Hi Thomas,<br><br>Thats exactly what was happening. It all seems to be working now \
with SVG namespace.<br><br>Thanks<br>Nedim<br><br><div class="gmail_quote">On Dec 7, \
2007 3:27 AM, <<a href="mailto:thomas.deweese@kodak.com"> \
thomas.deweese@kodak.com</a>> wrote:<br><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> <br><font face="sans-serif" size="2">Hi Nedim,</font>
<br>
<br><font size="2"><tt>Ned <<a href="mailto:nedman23@gmail.com" \
target="_blank">nedman23@gmail.com</a>> wrote on 11/27/2007 06:08:15 AM:<div \
class="Ih2E3d"><br> <br>
> The same file seems to work fine in ie(with adobe plugin) but not
in<br>
> the batik viewer. There are no errors but nothing is being displayed<br>
> on the canvas. When i debug the code I see that the element - \
"path"<br> > is being updated but this is not rendered on the screen. I \
m not<br> > really sure why this is.<br>
</div></tt></font>
<br><font size="2"><tt> This sounds like the file isn't creating
elements in the SVG</tt></font>
<br><font size="2"><tt>namespace; document.createElementNS(SVG_NS, "path").
If you don't</tt></font>
<br><font size="2"><tt>create the elment in the SVG namespace it's just some
generic DOM</tt></font>
<br><font size="2"><tt>object (Adobe "incorrectly" treats objects
in the no-name namespace</tt></font>
<br><font size="2"><tt>as SVG elements).</tt></font>
<div><div></div><div class="Wj3C7c"><br>
<br><font size="2"><tt>> Any help on the matter would be hugely appreciated.<br>
</tt></font></div></div></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic