You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Chris Bowditch (Jira)" <ji...@apache.org> on 2019/12/02 09:11:00 UTC
[jira] [Closed] (FOP-2888) Byte array different each time I
generate a PDF
[ https://issues.apache.org/jira/browse/FOP-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Bowditch closed FOP-2888.
-------------------------------
Resolution: Not A Bug
> Byte array different each time I generate a PDF
> -----------------------------------------------
>
> Key: FOP-2888
> URL: https://issues.apache.org/jira/browse/FOP-2888
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.1
> Reporter: Victor Balta
> Priority: Major
>
> I have been using the FopFactory & FOUserAgent to render a PDF from an xsl & xml. This is working correctly however I'm running into an issue when writing my unit test.
> I save the output PDF and in my unit test I am doing a render and then doing a byte[] compare. What I noticed is that the byte array is different each time I do a render.
> When I compare the PDF's I am not able to see anything visually different. Does anyone know why it is changing each render?
> I tried setting the FOUserAgent creation date, but it still shows differences each render
--
This message was sent by Atlassian Jira
(v8.3.4#803005)