xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeWeese Thomas <thomas.dewe...@gmail.com>
Subject Re: Invalid attribute values in CSSEngine when calling appendChild()
Date Tue, 29 Oct 2013 22:53:29 GMT
Hi Marco,
   This is almost always caused by changing the document outside of the RunnableQueue associated
with the JSVGCanvas.  When you do that you end up with two threads trying to operate on the
DOM/CSS at the same time leading to unpredictable results.

Thomas

On Oct 14, 2013, at 8:40 AM, ml@mherrn.de wrote:

> Hi,
> 
> I am adding complex elements into a DOM that is displayed in a JSVGCanvas.
> However, at least after some seconds I get lots exceptions from the CSS
> engine. Some examples are attached to this mail.
> 
> If such errors occur, many of them are thrown at once for a single call to
> appendChild().
> 
> As you can see, in most (if not all) cases the faulty attribute value
> isn't the attribute value that is really used. For example in exc8, the
> error tells that "middle" isn't a valid value to the "visibility"
> attribute. But as you can see, the given value is "hidden", not "middle".
> So it seems Batik is mashing up some attribute values.
> 
> What is even more strange can be seen in exc9. I definitely do not set the
> value "hiiddenn". And as you can see in the output, the real value is
> "hidden". I have seen the same problems with "blackk" and "whhite" for
> example. There must be something very strange going on.
> 
> Do you have any hints on this problem?
> 
> Regards
> Marco<exc2><exc4><exc5><exc6><exc7><exc8><exc9><exc10>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message