[xep-support] Superfluous errors that should be warnings for svg gradients

From: Hans-Peter Carpenter <Hans-Peter.Carpenter@redwood.com>
Date: Fri Aug 23 2013 - 09:53:14 PDT

Hi there,

I recently downloaded the latest version of xep, 4.22, and upgraded our very old 4.2 version with this since we were getting unpredictable behavior with 1.6 JVM's.

I have a couple of svg's that have radialGradients and from what I see on your website is that xep supports them. That was also a reason for the upgrade as they were previously silently ignored.
Now we get errors such as the following:

[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[warning] No paint server found with 'id'=radialGradient7154; paint server ignored
[warning] No paint server found with 'id'=radialGradient7832; paint server ignored
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[warning] No paint server found with 'id'=radialGradient5821; paint server ignored
[error] SVG element 'radialGradient' ignored: java.lang.ClassCastException: com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to com.renderx.graphics.vector.Gradient$RadialGradient
[warning] No paint server found with 'id'=radialGradient5821; paint server ignored

Is there a way I can suppress these ?

The svg's were created in inkscape.

Regards,

HANS CARPENTER

Tech Writer

http://www.redwood.com<http://www.redwood.com/>

T: +31 30 635 4555
M: +33 601 984 203
F: +31 30 635 4550
E:hans-peter.carpenter@redwood.com

[http://www.redwood.com/signatures/i/grey_break.gif]

RunMyJobs: Process Automation in the Cloud

This message may contain confidential or legally privileged information. In the event of any error in transmission, unauthorized recipients are requested to contact the sender immediately and do not disclose or make use of this information. No warranties or assurances are made or given as to the accuracy of the information given or in relation to the safety of this e-mail and any attachments. No liability whatsoever is accepted for any consequences arising from this e-mail.

!DSPAM:87,5217938a9851351819883!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html

Received on Sun Aug 25 14:43:00 2013

This archive was generated by hypermail 2.1.8 : Sun Aug 25 2013 - 14:43:05 PDT