[ 
https://issues.apache.org/jira/browse/FOP-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565985#comment-13565985
 ] 

Luis Bernardo commented on FOP-2201:
------------------------------------

I did not try your code but I don't think the issue is with FOP. There are two 
things you can try to check that (I just tried them):

a) run from the command line, after converting the xml and xsl to fo:

fop -xml fop.xml -xsl fop.xsl -foout fop.fo
fop -fo fop.fo -pdf fop-new.pdf

b) there is a Java example in examples/embedding/java/ExampleXML2PDF.java that 
you can try instead of your code; just replace the xml and xsl file paths by 
your files and adapt the output pdf file path.

In both cases the resulting PDF does not show the problems you see in your 
output.

                
> The PDF output contains XSL-FO syntax
> -------------------------------------
>
>                 Key: FOP-2201
>                 URL: https://issues.apache.org/jira/browse/FOP-2201
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 1.1
>         Environment: Java 7.11/Windows 7
>            Reporter: lance campbell
>              Labels: issue, transformation
>             Fix For: 1.1
>
>
> The PDF that is generated contains XSL-FO syntax at random places. To view 
> the issue go to the below pdf and do a search for ":block":
> http://illinois.edu/lance/fop.pdf
> To recreate the issue use the following files:  
> http://illinois.edu/lance/fop.xml
> http://illinois.edu/lance/fop.xsl
> http://illinois.edu/lance/fop.java
> Put the files fop.xml and fop.xsl in /temp/ .  The java will pull in the two 
> files and output /temp/fop.pdf .  I believe this is a memory issue.  If you 
> cut the size of the XML document down it works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to