xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fayyad, Elias" <EFay...@iso.com>
Subject Squiggle can't open SVG containing Base64 encoded image
Date Tue, 02 Aug 2005 22:00:57 GMT
Hello again, and thanks Thomas, for fixing the Hebrew glyph issue I
encountered.  The fix works great!

The issue I've now encountered is if I generate SVG which makes use of
the CachedImageHandlerBase64Encoder.

First off, I built the Batik jars from the SVN code -
batik-src-05-08-01.zip - using JDK 1.4.2_05.

Opening the attached SVG with my Squiggle using JRE 1.4.2_05 is
successful.  But opening the same SVG with my Squiggle, but using JRE
1.5.0_04 causes the error below.  I still encountered the same error
even when I compiled the Batik 1.6 source using JDK 1.5.0_04.  

The attached SVG file opens up without error (except for the glyph
issue) using the released version of Squiggle 1.6.

Any thoughts?

Thanks again!
Elias.

Error is below:

org.apache.batik.bridge.BridgeException:
file:/Y:/products/ASF/NetMap-J/test_hebrew2-1.svg:0
The URI
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADz
UlEQVR42u2XMUsj
QRTHX84VNhAhgRNMkSKFBwncQVIcaGFxhUUOFExnCj+ApcJdYeEX8ANYWCp4haWN 
kMJCO+1MYZErAgkoJBAhWyzc/f+z8+IYY/TuvPMKBx4zmZmd/++9eTO7iYnID3nB
...
H35okgrpPaBALqj26XgdwvSYNniafuub0L2oRn642lOkCfxPPssHQZ8i/PrP6L8B 
+AmyliTE32n7mgAAAABJRU5ErkJggg=="
on element <image> can't be opened because:
unknown
	at
org.apache.batik.swing.svg.AbstractJSVGComponent$BridgeUserAgent.getBrok
enLinkDocument(Unknown Source)
	at
org.apache.batik.swing.svg.AbstractJSVGComponent$BridgeUserAgentWrapper$
26Query.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Mime
View raw message