xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Converset <pconver...@Qarbon.com>
Subject Error when loading SVG doc with external links as input stream
Date Tue, 01 Jul 2003 16:51:52 GMT
Hi,

External links inside SVG documents raise exception when the document is 
loaded as a stream. Here are two exceptions raised on the two sample 
files "anne.svg" and "extensions/flowTextAlign.svg". My Batik version is 
1.5 beta 5.

org.apache.batik.bridge.BridgeException: null:-1
An I/O error occured while processing the URI 
'batikLogo.svg#Batik_Tag_Box' specified on the element <use>
    at 
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown Source)
    at 
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(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.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)


java.lang.NullPointerException
    at org.apache.batik.css.engine.CSSEngine.parseStyleSheet(Unknown Source)
    at org.apache.batik.css.engine.CSSEngine.parseStyleSheet(Unknown Source)
    at 
org.apache.batik.dom.svg.SVGStyleSheetProcessingInstruction.getCSSStyleSheet(Unknown 
Source)
    at org.apache.batik.css.engine.CSSEngine.getStyleSheetNodes(Unknown 
Source)
    at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown 
Source)
    at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown 
Source)
    at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source)
    at org.apache.batik.bridge.CSSUtilities.convertVisibility(Unknown 
Source)
    at 
org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(Unknown 
Source)
    at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
    at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)


Phil


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


Mime
View raw message