Bug 51191

Summary: Squiggle prevents Legitimate URL Navigation
Product: Batik - Now in Jira Reporter: richard.good
Component: SVG ViewerAssignee: Batik Developer's Mailing list <batik-dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 1.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: svg exhibiting bug

Description richard.good 2011-05-12 12:03:25 UTC
Created attachment 26990 [details]
svg exhibiting bug

Overzealous error detection means that I cannot fire application specific URLS, the following URL is legitimate and works if you cut it into the browser window

doors://caracals390:36681/?version=2&prodID=0&urn=urn:telelogic::1-40a4987d2ba41376-M-0000bb80

However if you click on the nodes in the svg (svg file attached) you get the following error, please let the browser fall over rather than incorrectly bugging out on slightly odd URL's. Obviously without the DOORS application you will not properly be able to verify any fix works, buit the bug is easy to replicate. If you do not agree that this is a bug can you please provide me with a workaround as I would really like to use your application.

Clicking on the link should open the doors application at the correct place
(Note that I fire squiiggle using java -jar batik-squiggle.jar)

Unable to make sense of url for connection

ava.io.IOException: Unable to make sense of URL for connection
	at org.apache.batik.util.ParsedURLData.openStreamInternal(ParsedURLData.java:510)
	at org.apache.batik.util.ParsedURLData.openStream(ParsedURLData.java:471)
	at org.apache.batik.util.ParsedURL.openStream(ParsedURL.java:417)
	at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:158)
	at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(SAXSVGDocumentFactory.java:124)
	at org.apache.batik.bridge.DocumentLoader.loadDocument(DocumentLoader.java:106)
	at org.apache.batik.swing.svg.SVGDocumentLoader.run(SVGDocumentLoader.java:84)