Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » intermittent missing or disappearing svg
intermittent missing or disappearing svg [message #164787] Fri, 07 December 2007 20:05 Go to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

This is a multi-part message in MIME format.
--------------000308070908000107080805
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

During different builds (eclipse product builds), I experience problems
with the display of SVG figures. It affects one or two of the SVG
files, so any figure based on a particular file is affected. As for
which SVG file, it's usually only one or two, but it's pretty random at
which SVG files will be affected.

Typically, when opening a diagram, the diagram is rendered and then: the
affected figures will show briefly and then disappear; or those affected
figures will not even show (or perhaps it shows/disappears too quickly
for me to see). I've check the log, but there aren't any error messages.

Sometimes a restart of the product will fix the problem, other times, not.

Sometimes the deletion of the
workspace\.metadata\.plugins\org.eclipse.core.resources\.his tory
and
workspace\.metadata\.plugins\org.eclipse.core.resources\.roo t

and a restart will clear up the problem (and I don't much care for this
method).

Or at least these solutions will clear up the problem temporarily, as it
seems the more you work with diagrams, eventually you may have a problem
the next time you start the product (that's what my test users tell me).

This particular behavior makes me think that if GMF caches the svg,
perhaps the cached file is getting corrupted or moved, but that's just a
guess on my part.

Snapshot of missing_pipe.jpg is supposed to have the figure pictured in
PIPE.jpg where the selected figure shape is.

The SVG images are exports from Visio (which makes me skeptical as MS
has been known to perverse exports to standards-based formats).

Has anyone else experienced this problem (see attached images)? Perhaps
found a solution or reason for this behavior?


Regards,

Jacob

--------------000308070908000107080805
Content-Type: image/jpeg;
name="missing_pipe.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="missing_pipe.jpg"

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEB AQEBAQEBAQEB
AQEB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a3m1QDD9rhn+zvmS38qQliR20cU9zcq1 wZLryfNWS7u5
oF8hDGn2a1mme1s9ykmb7JDB9ofElx5sgDCxRQB//9k=
--------------000308070908000107080805
Content-Type: image/jpeg;
name="PIPE.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="PIPE.jpg"

/9j/4AAQSkZJRgABAQEAWgBaAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD/ 2wBDAAUDBAQE
AwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0d Hx8fExciJCIe
JBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4e Hh4eHh4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCAALAC8DASIAAhEBAxEB/8QAGQAA AgMBAAAAAAAA
AAAAAAAAAwUABAYH/8QAKBAAAQIEAwkBAQAAAAAAAAAAAQIEAAMFEQYSVAcV FiExlaPR0kEU
/8QAFwEAAwEAAAAAAAAAAAAAAAAAAQIEA//EAB4RAQABBAIDAAAAAAAAAAAA AAECAAMRIVGR
BBIx/9oADAMBAAIRAxEAPwCls4q7/FWJ6u1rlAcv5aHk8qrBnLAvnUcq7qsT zAGXoLcrc46N
wxQ9D5V+4vYpw1SaZiOoM6cl60bJnrWmTKfz0oSVnMrKkLsBdRNhyH5CzdLf UVPuTj7inyr1
u9P2twIGAwK7Dbvn7xQiIbaLwxQ9D5V+4nDFD0PlX7gW6W+oqfcnH3E3S31F T7k4+4mo0Xhi
h6Hyr9wjf58M7RsJz6DOnsFzv7EzRLnKyzAJIsFJJsoC9+Y684b7pb6ip9yc fcaPZnhOhP8A
GrV7UG097OYyZq2xcvJ01KCsBCjlUopNwT1B/D1AhZCmq2sXIwksjOk7EOmv /9k=
--------------000308070908000107080805
Content-Type: text/xml;
name="PIPE.svg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="PIPE.svg"

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 PIPE.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.52in"
height="0.12in" viewBox="0 0 37.44 8.64" xml:space="preserve" color-interpolation-filters="sRGB" class="st4">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>

<style type="text/css">
<![CDATA[
.st1 {fill:#b3b3b3;stroke:#000000;stroke-linecap:round;stroke-lin ejoin:round;stroke-width:0.72}
.st2 {fill:#0000ff;stroke:#000000;stroke-linecap:round;stroke-lin ejoin:round;stroke-width:0.24}
.st3 {fill:#ff0000;stroke:#000000;stroke-linecap:round;stroke-lin ejoin:round;stroke-width:0.24}
.st4 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;s troke-linecap:square;stroke-miterlimit:3}
]]>
</style>

<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="group1-1" transform="translate(0.72,-0.72)" v:mID="1" v:groupContext="group">
<title>Sheet.1</title>
<g id="shape2-2" v:mID="2" v:groupContext="shape">
<title>Rectangle</title>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
</v:userDefs>
<rect x="0" y="1.44" width="36" height="7.2" rx="1.152" ry="1.152" class="st1"/>
</g>
<g id="shape3-4" v:mID="3" v:groupContext="shape" transform="translate(8.90206,3.01003) rotate(90)">
<title>Triangle.2</title>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
</v:userDefs>
<path d="M4.34 8.64 L2.02 4.81 L-0.31 8.64 L4.34 8.64 Z" class="st2"/>
</g>
<g id="shape4-6" v:mID="4" v:groupContext="shape" transform="translate(35.6725,-0.216) scale(-1,1)">
<title>Rectangle.3</title>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
</v:userDefs>
<rect x="0" y="1.872" width="1.04661" height="6.768" class="st3"/>
</g>
</g>
</g>
</svg>

--------------000308070908000107080805--
Re: intermittent missing or disappearing svg [message #164801 is a reply to message #164787] Fri, 07 December 2007 21:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Jacob,

There seems to have been some regression in SWT in Eclispe 3.4, that causes
icons and stuff not to appear on diagrams when anti-aliasing is enabled.

Try disabling anti-alias to see what you get. Have a look at the
GeoshapePreferenceInitializer in the GeoShapes example plug-in for an
example of how to do that.

HTH,

Christian


Jacob Barde wrote:

> During different builds (eclipse product builds), I experience problems
> with the display of SVG figures. It affects one or two of the SVG
> files, so any figure based on a particular file is affected. As for
> which SVG file, it's usually only one or two, but it's pretty random at
> which SVG files will be affected.

-----8<-----
Re: intermittent missing or disappearing svg [message #164898 is a reply to message #164801] Mon, 10 December 2007 16:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

Thanks Christian,

That's seems to have done the trick.

I also noticed, that the problem would only surface upon opening an
example diagram in which each figure (22 different SVG-based figures)
was represented.

Hope this helps you in figuring out the root cause of this. Perhaps
SWT's anti-aliasing chokes after hitting a certain number of SVG files?

Regards,

Jacob

Christian W. Damus wrote:
> Hi, Jacob,
>
> There seems to have been some regression in SWT in Eclispe 3.4, that causes
> icons and stuff not to appear on diagrams when anti-aliasing is enabled.
>
> Try disabling anti-alias to see what you get. Have a look at the
> GeoshapePreferenceInitializer in the GeoShapes example plug-in for an
> example of how to do that.
>
> HTH,
>
> Christian
>
>
> Jacob Barde wrote:
>
>> During different builds (eclipse product builds), I experience problems
>> with the display of SVG figures. It affects one or two of the SVG
>> files, so any figure based on a particular file is affected. As for
>> which SVG file, it's usually only one or two, but it's pretty random at
>> which SVG files will be affected.
>
> -----8<-----
Re: intermittent missing or disappearing svg [message #164906 is a reply to message #164898] Mon, 10 December 2007 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

Doh!

Spoke too soon...

The problem still persists.

-Jacob

Jacob Barde wrote:
> Thanks Christian,
>
> That's seems to have done the trick.
>
> I also noticed, that the problem would only surface upon opening an
> example diagram in which each figure (22 different SVG-based figures)
> was represented.
>
> Hope this helps you in figuring out the root cause of this. Perhaps
> SWT's anti-aliasing chokes after hitting a certain number of SVG files?
>
> Regards,
>
> Jacob
>
> Christian W. Damus wrote:
>> Hi, Jacob,
>>
>> There seems to have been some regression in SWT in Eclispe 3.4, that
>> causes
>> icons and stuff not to appear on diagrams when anti-aliasing is enabled.
>>
>> Try disabling anti-alias to see what you get. Have a look at the
>> GeoshapePreferenceInitializer in the GeoShapes example plug-in for an
>> example of how to do that.
>>
>> HTH,
>>
>> Christian
>>
>>
>> Jacob Barde wrote:
>>
>>> During different builds (eclipse product builds), I experience problems
>>> with the display of SVG figures. It affects one or two of the SVG
>>> files, so any figure based on a particular file is affected. As for
>>> which SVG file, it's usually only one or two, but it's pretty random at
>>> which SVG files will be affected.
>>
>> -----8<-----
Re: intermittent missing or disappearing svg [message #167946 is a reply to message #164787] Fri, 11 January 2008 19:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

Just a note to anyone who has this problem...

I found the reason for the disappearing of the SVG figures.
Turns out the SVG files weren't compliant to the W3C SVG standard (no
big surprise because it is Microsoft). So I imported the images into
Adobe Illustrator to try to reexport them. While Illustrator did far
better than Microsoft Visio, there were still some SVG errors. I was
able to fix them by hand (negative heights on rectangles, so just change
the y coordinate with the difference and make the height positive).

I suggest that if you are using SVG graphics, to validate them using
this tool, courtesy of the W3C.
http://jiggles.w3.org/svgvalidator/

Regards,

Jacob
Re: intermittent missing or disappearing svg -- Batik's CSSEngine? [message #171963 is a reply to message #164801] Sat, 09 February 2008 17:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

This is a multi-part message in MIME format.
--------------000203070501010907070201
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Christian,

I've been doing some further work on this problem. I even dusted off my
PERL skills and used it to sanitized my SVG files, removing all non-SVG
markup (i.e. MS SVGExtension), removed HTML/XML comments, as I heard
from someone they may have interfered with the rendering... doubtful,
but I was desperate. The SVG images are validated SVG 1.0.

During a few debugging instances, I caught the following errors in my
console log. This error doesn't appear in any regular frequency, but it
would only appear when some of the SVG images weren't rendering (but not
every time the images weren't rendering). I'm kinda figuring that this
may be [one of] the culprit(s)?

Perhaps this is cause to update the Orbit plugin for Batik (it's using
v1.6, current Apache release is v1.7)??

Wasn't sure if this belonged as a bug report as I can barely reproduce
the problem to result in console log entries. If it does, I'll gladly
submit the bug report.

-Jay

Christian W. Damus wrote:
> Hi, Jacob,
>
> There seems to have been some regression in SWT in Eclispe 3.4, that causes
> icons and stuff not to appear on diagrams when anti-aliasing is enabled.
>
> Try disabling anti-alias to see what you get. Have a look at the
> GeoshapePreferenceInitializer in the GeoShapes example plug-in for an
> example of how to do that.
>
> HTH,
>
> Christian
>
>
> Jacob Barde wrote:
>
>> During different builds (eclipse product builds), I experience problems
>> with the display of SVG figures. It affects one or two of the SVG
>> files, so any figure based on a particular file is affected. As for
>> which SVG file, it's usually only one or two, but it's pretty random at
>> which SVG files will be affected.
>
> -----8<-----

--------------000203070501010907070201
Content-Type: text/plain;
name="svg_css_error_20080207.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="svg_css_error_20080207.txt"


org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke" represents an invalid CSS value ("#000000").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGtoSWTImage(SVGImageConverter.java:7 4)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:67)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGtoSWTImage(SVGImageConverter.java:7 4)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:67)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:

org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke" represents an invalid CSS value ("#000000").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGtoSWTImage(SVGImageConverter.java:7 4)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:67)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke" represents an invalid CSS value ("#000000").
Original message:

org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGtoSWTImage(SVGImageConverter.java:7 4)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:67)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:

org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "fill" represents an invalid CSS value ("#F2F4EC").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGtoSWTImage(SVGImageConverter.java:7 4)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:67)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "fill" represents an invalid CSS value ("#F2F4EC").
Original message:

ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke" represents an invalid CSS value ("#000000").
Original message:

org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "fill" represents an invalid CSS value ("#F2F4EC").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGToAWTImage(SVGImageConverter.java:5 5)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:78)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Unknown Source)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "fill" represents an invalid CSS value ("#F2F4EC").
Original message:


--------------000203070501010907070201
Content-Type: text/plain;
name="svg_css_error_20080205.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="svg_css_error_20080205.txt"

org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke-width" represents an invalid CSS value ("0.72").
Original message:
The "stroke-width" property does not support identifier values.
at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGToAWTImage(SVGImageConverter.java:5 5)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:78)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Thread.java:619)
org.w3c.dom.DOMException: http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:

at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Un known Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unkno wn Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknow n Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.Im ageTranscoderEx.transcode(ImageTranscoderEx.java:309)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode( Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode( Unknown Source)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.setUpTranscoders(SVGImageConverter.java:148)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImageConverter.renderSVGToAWTImage(SVGImageConverter.java:5 5)
at org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SV GImage.renderImage(SVGImage.java:78)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.AbstractRe nderedImage.getSWTImage(AbstractRenderedImage.java:130)
at org.eclipse.gmf.runtime.draw2d.ui.render.internal.RenderHelp er$1.run(RenderHelper.java:103)
at java.lang.Thread.run(Thread.java:619)
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke-width" represents an invalid CSS value ("0.72").
Original message:
The "stroke-width" property does not support identifier values.
ERROR: null
Enclosed Exception:
http://www.w3.org/2000/svg:
The attribute "stroke-linecap" represents an invalid CSS value ("round").
Original message:


--------------000203070501010907070201--
Re: intermittent missing or disappearing svg -- Batik's CSSEngine? [message #172135 is a reply to message #171963] Mon, 11 February 2008 14:11 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Jacob,

The exceptions appear to indicate SVG constructs that Batik doesn't
recognize, but I know little about CSS and much less about SVG or the Batik
API. Perhaps someone that knows more about these subjects can provide more
information, here.

On the subject of 1.7: the GMF project had looked, early on in the Ganymede
release, at adopting this version. However, they were unable to arrange
with the Batik team to have it released in time for Ganymede, so the matter
was dropped. If it looks like there's movement in the Batik project, you
might take the matter up again with GMF.

Cheers,

Christian


Jacob Barde wrote:

> Christian,
>
> I've been doing some further work on this problem. I even dusted off my
> PERL skills and used it to sanitized my SVG files, removing all non-SVG
> markup (i.e. MS SVGExtension), removed HTML/XML comments, as I heard
> from someone they may have interfered with the rendering... doubtful,
> but I was desperate. The SVG images are validated SVG 1.0.
>
> During a few debugging instances, I caught the following errors in my
> console log. This error doesn't appear in any regular frequency, but it
> would only appear when some of the SVG images weren't rendering (but not
> every time the images weren't rendering). I'm kinda figuring that this
> may be [one of] the culprit(s)?
>
> Perhaps this is cause to update the Orbit plugin for Batik (it's using
> v1.6, current Apache release is v1.7)??
>
> Wasn't sure if this belonged as a bug report as I can barely reproduce
> the problem to result in console log entries. If it does, I'll gladly
> submit the bug report.
>
> -Jay
>
> Christian W. Damus wrote:
>> Hi, Jacob,
>>
>> There seems to have been some regression in SWT in Eclispe 3.4, that
>> causes icons and stuff not to appear on diagrams when anti-aliasing is
>> enabled.
>>
>> Try disabling anti-alias to see what you get. Have a look at the
>> GeoshapePreferenceInitializer in the GeoShapes example plug-in for an
>> example of how to do that.
>>
>> HTH,
>>
>> Christian
>>
>>
>> Jacob Barde wrote:
>>
>>> During different builds (eclipse product builds), I experience problems
>>> with the display of SVG figures. It affects one or two of the SVG
>>> files, so any figure based on a particular file is affected. As for
>>> which SVG file, it's usually only one or two, but it's pretty random at
>>> which SVG files will be affected.
>>
>> -----8<-----
Previous Topic:Create Shortcuts programmatically
Next Topic:Display a link inside compartment
Goto Forum:
  


Current Time: Mon May 06 20:59:51 GMT 2024

Powered by FUDForum. Page generated in 0.04230 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top