Hi Anderson,

"Anderson Luiz Brunozi" <[EMAIL PROTECTED]> wrote on 06/15/2008 
08:23:30 AM:

> Is it possible to use batik to find a list of files that an SVG file
> depends on? If so, how can I do it?

   The various UserAgent classes[1] have security related methods[2] that
are called before any resources are opened.  So you can subclass the
default UserAgent and track the resources that checks for security.

[1] The primary UserAgent is batik.bridge.UserAgent, but for the
    Canvas there is the wrapper class batik.swing.svg.SVGUserAgent.
[2] The two primary methods are: 
        getScriptSecurity
        getExternalResourceSecurity

Reply via email to