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

converting svg to pdf does not recondnize the "transform" attribute for <g>, <circle> svg attributes from batik bridge

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Incomplete
    • 0.20.4
    • None
    • renderer/awt
    • None
    • Operating System: All
      Platform: PC
    • 15458

    Description

      [INFO] FOP 0.20.4rc
      [INFO] building formatting object tree
      [INFO] [1]
      [ERROR] svg graphic could not be built: file:/C:/BrianR/SVG/piegraphproj1/Phase2
      /:-1
      The attribute 'transform' of the element <circle> is invalid
      org.apache.batik.bridge.BridgeException: file:/C:/BrianR/SVG/piegraphproj1/Phase
      2/:-1
      The attribute 'transform' of the element <circle> is invalid
      at org.apache.batik.bridge.SVGUtilities.convertTransform(Unknown Source)

      at org.apache.batik.bridge.AbstractGraphicsNodeBridge.createGraphicsNode
      (Unknown Source)
      at org.apache.batik.bridge.SVGShapeElementBridge.createGraphicsNode(Unkn
      own Source)
      at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
      at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
      at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
      at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(Unknown Sourc
      e)
      at org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(Unknown Source)
      at org.apache.fop.svg.SVGArea.render(Unknown Source)
      at org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(Unknown
      Source)
      at org.apache.fop.layout.inline.ForeignObjectArea.render(Unknown Source)

      at org.apache.fop.render.AbstractRenderer.renderLineArea(Unknown Source)

      at org.apache.fop.layout.LineArea.render(Unknown Source)
      at org.apache.fop.render.AbstractRenderer.renderBlockArea(Unknown Source
      )
      at org.apache.fop.layout.BlockArea.render(Unknown Source)
      at org.apache.fop.render.AbstractRenderer.renderAreaContainer(Unknown So
      urce)
      at org.apache.fop.layout.ColumnArea.render(Unknown Source)
      at org.apache.fop.render.AbstractRenderer.renderSpanArea(Unknown Source)

      at org.apache.fop.layout.SpanArea.render(Unknown Source)
      at org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer(Unknow
      n Source)
      at org.apache.fop.render.pdf.PDFRenderer.renderPage(Unknown Source)
      at org.apache.fop.render.pdf.PDFRenderer.render(Unknown Source)
      at org.apache.fop.apps.StreamRenderer.queuePage(Unknown Source)
      at org.apache.fop.layout.AreaTree.addPage(Unknown Source)
      at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source)
      at org.apache.fop.apps.StreamRenderer.render(Unknown Source)
      at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source)
      at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeH
      andler.java:307)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
      t.java:684)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
      ansformerImpl.java:2182)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
      t.java:678)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
      ansformerImpl.java:2182)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
      sformerImpl.java:2008)
      at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
      rImpl.java:1171)
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
      :3135)
      at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Trans
      formerHandlerImpl.java:433)
      at org.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXPa
      rser.java:715)
      at org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBin
      der.java:704)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidato
      r.java:985)
      at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentSc
      annerImpl.java:437)
      at org.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.ja
      va:1159)
      at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityM
      anager.java:3204)
      at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(XMLE
      ntityManager.java:2905)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
      dispatch(XMLDocumentScannerImpl.java:987)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
      LDocumentFragmentScannerImpl.java:333)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:529)
      at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
      arserConfiguration.java:585)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
      ava:1148)
      at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
      at org.apache.fop.apps.Driver.render(Unknown Source)
      at org.apache.fop.apps.CommandLineStarter.run(Unknown Source)
      at org.apache.fop.apps.Fop.main(Unknown Source)
      [INFO] Parsing of document complete, stopping renderer

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            brich@cableaz.com BRich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment