Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-828

Typo in ERROR_EXTERNAL_RESOURCE_NOT_EMBEDED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.7
    • None
    • Bridge
    • None
    • Operating System: All
      Platform: All

    Description

      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.

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            river@wikimedia.org River Tarnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: