Aspose PDF Java is not generating the PDF correctly

Guys

When generating a PDF using aspose.pdf-3.3.jdk6.jar sometimes margins are ignored and elements that should be located at the body overlaps the footer

Using the attached data (data.xml)


We get the attached PDF (PdfOut.pdf)

You can see the problem in the attached picture (Capture.PNG)


Thanks in advance

PS: Here is the code we use to generate the PDF

import aspose.pdf.Pdf;

import java.io.FileInputStream;


Pdf pdf = new Pdf();

is = new FileInputStream(xmlPath);

pdf.bindXML(is, null);

pdf.save(output);


Our Environment:

Windows 7 64 bit

JDK 6 32bit (Also fails on 64bit)

I have tried using aspose.pdf-new-4.0.0.jar and the problem is still reproducible there


Hi Alex,


Thanks for contacting support.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this issue
as
PDFNEWJAVA-33524 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.

Any update on this?

Hi Alex,


Thanks for your patience. Please note your reported issue has been resolved in Aspose.Pf for Java 4.3.1. Please download and try latest version of Aspose.Pdf for Java. Hopefully your issue will be resolved.

Best Regards,

Hi Tilal

I'm reporting the problem still happening, I attached a new XML that will help you to reproduce the problem (Data2.xml). The problem is no longer happening with the original XML (Data.xml).

Thanks in advance
Alex

Hi Alex,


Thanks for your patience.

The problem PDFNEWJAVA-33524 logged earlier is not yet resolved. However, I have associated the recently shared data2.xml with this problem and development team will definitely consider resolving this scenario. As soon as we have some further updates, we will let you know.