You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/05/11 02:03:53 UTC

DO NOT REPLY [Bug 44966] New: Typo in ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED

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: batik-dev@xmlgraphics.apache.org
        ReportedBy: river@wikimedia.org


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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44966] Typo in ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44966


Cameron McCormack <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Cameron McCormack <ca...@apache.org>  2008-05-31 04:23:13 PST ---
Fixed, thanks!


-- 
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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org