[ https://issues.apache.org/jira/browse/FOP-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikas updated FOP-2666: ----------------------- Attachment: Error_Log.txt Also attaching error logs > Page Segment (IPS) Extension - FOP is not able to embed the page segment into > the generated AFP document using resource-file attribute > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: FOP-2666 > URL: https://issues.apache.org/jira/browse/FOP-2666 > Project: FOP > Issue Type: Bug > Components: renderer/afp > Affects Versions: 2.1 > Environment: Operating System: 64 bit Windows 7 Enterprise > FOP Version: 2.1 > Reporter: Vikas > Priority: Blocker > Attachments: Error_Log.txt, Files.zip > > > I am trying to generate an AFP document which embeds Page Segment (for PNG > image) using additional attribute "resource-file" with > afp:include-page-segment tag. > I keep getting below error message, while trying to transform FO object into > AFP, > "SEVERE: Exception > org.apache.fop.apps.FOPException: > org.apache.fop.render.intermediate.IFException: Could not handle > resourcefile:C://Vikas//IPS//PS000001.PSG" > Below is code snippet of my FO object, > <?xml version="1.0" encoding="UTF-8"?> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:afp="http://xmlgraphics.apache.org/fop/extensions/afp"> > <fo:layout-master-set> > <fo:simple-page-master master-name="A4" page-height="29.7cm" > page-width="21cm" margin="2cm"> > <afp:include-page-segment name="PS000001" > src="file:C://vikas//IPS//asf-logo.png" > resource-file="file:C://Vikas//IPS//PS000001.PSG"/> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="A4"> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > <fo:external-graphic src="file:C://vikas//IPS//asf-logo.png" > width="160 div 2400 * 10in" height="192 div 2400 * 10in"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > I created a Page Segment using AFP Print Driver as mentioned in below url, > http://www-01.ibm.com/support/docview.wss?uid=nas8N1018625 > Appreciate your help on this -- This message was sent by Atlassian JIRA (v6.3.4#6332)