Victor Balta created FOP-2888:
---------------------------------

             Summary: 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


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)

Reply via email to