Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13029

Error about page-position='all' when exporting a page to PDF

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      You get:

      2016-01-25 11:24:40,614 [http://localhost:8080/xwiki/bin/export/Main/test/WebHome?format=pdf&pdfcover=0&pdftoc=0&comments=0&attachments=0] ERROR o.a.f.a.FOUserAgent            - Invalid property value encountered in page-position="all": org.apache.fop.fo.expr.PropertyException: null:1:1318: No conversion defined all; property:'page-position' (See position 1:1401) 
      org.apache.fop.fo.expr.PropertyException: null:1:1318: No conversion defined all; property:'page-position'
      	at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:446) ~[fop-2.1.jar:na]
      	at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:499) [fop-2.1.jar:na]
      	at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:386) [fop-2.1.jar:na]
      	at org.apache.fop.fo.FObj.processNode(FObj.java:124) [fop-2.1.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291) [fop-2.1.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179) [fop-2.1.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) [xalan-2.7.2.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl-2.11.0.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) [xalan-2.7.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:365) [xwiki-platform-oldcore-8.0-SNAPSHOT.jar:na]
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: