https://issues.apache.org/bugzilla/show_bug.cgi?id=46476





--- Comment #1 from Maxim Polshcha <[email protected]>  2009-03-27 01:42:17 PST 
---
I had the same problem with transcoding data not from file or url but from
stream:

...
input = new TranscoderInput(new ByteArrayInputStream(bfs));
trans.transcode(input, output);
...

throws an exception when input SVG document contains scripting. Otherwise all
works fine.

It is normal when document have no URI.
My workaround is:

...
input = new TranscoderInput(new ByteArrayInputStream(bfs));
trans.transcode(input, output);
input.setURI("http://";);
...


But problem must be fixed in org.apache.batik.script.InterpreterPool in
createInterpreter. MalformedURLException have to be processed in other way :-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to