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

           Summary: Typo in ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED
           Product: Batik
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Bridge
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The key ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED in EmbededExternalResourceSecurity
has 'esource' instead of 'resource', i.e.:

  EmbededExternalResourceSecurity.error.external.esource.not.embeded
                                             ----^

This means that instead of the correction exception:

  org.apache.batik.bridge.BridgeException: The document references a resource
(file:/tmp/test.png) which is not embeded in the document. This is not allowed
with the current security settings and that resource cannot be loaded.

a MissingResourceError is thrown:

  java.util.MissingResourceException: Unable to find resource:
EmbededExternalResourceSecurity.error.external.esource.not.embeded

and the error message is not passed to the user.


-- 
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