Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1295

PDFSVGHandler causes missing resource bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.93
    • None
    • renderer/pdf
    • None
    • Operating System: All
      Platform: Other
    • 41440

    Description

      THe following message reported within the PDFSVGHandler.

      23.1.2007 11:21:52 org.apache.fop.render.pdf.PDFSVGHandler renderSVGDocument
      SEVERE: svg graphic could not be built: Can't find bundle for base name
      org.apache.fop.svg.resources.Messages, locale en
      java.util.MissingResourceException: Can't find bundle for base name
      org.apache.fop.svg.resources.Messages, locale en

      However, I cannot find the relevant resource bundle in the fop.jar file, or on
      the SVN server.
      http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
      It is not in the binary build for 0.93 either.

      I have downloaded the sources for the distribution and cannot find it there either.

      The code I suspect the error comes from in the PDFSVGRenderer and is either...
      try

      { root.paint(graphics); pdfInfo.currentStream.add(graphics.getString()); }

      catch (Exception e)

      { log.error("svg graphic could not be rendered: " + e.getMessage(), e); }

      OR

      try

      { root = builder.build(ctx, doc); builder = null; }

      catch (Exception e)

      { log.error("svg graphic could not be built: " + e.getMessage(), e); return; }

      Project is trying to embed svg images into a pdf output.
      We are using the 0.93 FOP distribution.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dirving@crispinsystems.com David Irving
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: