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

CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The "even-odd" identifier is not a valid value for the "fill-rule" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Incomplete
    • 1.0
    • None
    • fo/unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 53546

    Description

      I cannot generate a pdf from an input fo file. It fails with:

      $ fop /tmp/o.fo /tmp/o.pdf
      [warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
      Image not found. URI: images/draft.png. (See position 1:9612)
      Image not found. URI: images/draft.png. (See position 1:10270)
      Image not found. URI: images/draft.png. (See position 1:10926)
      Image not found. URI: images/draft.png. (See position 1:11579)
      Image not found. URI: images/draft.png. (See position 1:12229)
      Image not found. URI: images/draft.png. (See position 1:12879)
      Image not found. URI: images/draft.png. (See position 1:13526)
      Image not found. URI: images/draft.png. (See position 1:14178)
      Image not found. URI: images/draft.png. (See position 1:14830)
      Image not found. URI: images/draft.png. (See position 1:15479)
      Image not found. URI: images/draft.png. (See position 1:16130)
      Image not found. URI: images/draft.png. (See position 1:16781)
      Image not found. URI: images/draft.png. (See position 1:17429)
      Image not found. URI: images/draft.png. (See position 1:18080)
      Image not found. URI: images/draft.png. (See position 1:18731)
      Image not found. URI: images/draft.png. (See position 1:19379)
      Image not found. URI: images/draft.png. (See position 1:20031)
      Image not found. URI: images/draft.png. (See position 1:20683)
      Image not found. URI: images/draft.png. (See position 1:21332)
      Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
      Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".

              • CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The "even-odd" identifier is not a valid value for the "fill-rule" property.

      AttrValue:even-odd

      Exception:org.w3c.dom.DOMException
      org.w3c.dom.DOMException: The "even-odd" identifier is not a valid value for the "fill-rule" property.
      at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidIdentifierDOMException(Unknown Source)
      at org.apache.batik.css.engine.value.IdentifierManager.createValue(Unknown Source)
      at org.apache.batik.css.engine.CSSEngine$1.property(Unknown Source)
      at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown Source)
      at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown Source)
      at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source)
      at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown 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.PDFImageHandlerSVG.handleImage(PDFImageHandlerSVG.java:93)
      at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:227)
      at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:183)
      at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:148)
      at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingURI(AbstractIFPainter.java:270)
      at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:146)
      at org.apache.fop.render.intermediate.IFRenderer.drawImage(IFRenderer.java:1171)
      at org.apache.fop.render.intermediate.IFRenderer.renderImage(IFRenderer.java:1158)
      at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:741)
      at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:709)
      at org.apache.fop.render.intermediate.IFRenderer.renderViewport(IFRenderer.java:860)
      at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:634)
      at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:912)
      at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:609)
      at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:544)
      at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
      at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
      at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
      at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
      at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
      at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
      at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:432)
      at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:665)
      at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:411)
      at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:345)
      at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:292)
      at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:731)
      at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:265)
      at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:230)
      at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:580)
      at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:114)
      at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)
      at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167)
      at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:109)
      at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238)
      at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
      at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
      at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
      at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
      at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
      at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
      at org.apache.fop.cli.Main.startFOP(Main.java:174)
      at org.apache.fop.cli.Main.main(Main.java:205)

              • CSSEngine: exception....

      Attachments

        1. test.svg
          79 kB
          Mathieu Malaterre

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            mathieu.malaterre@gmail.com Mathieu Malaterre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: