Pdfs can't be compared this way, the obj numbers can be anything and the document be correct.
Best Regards, Paulo Soares > -----Original Message----- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 2:39 > To: itext > Subject: [iText-questions] Creating different files each time I run > it > > Hi; > > I tried to write a test program where I generate a pdf file, look at it > carefully to make sure it's correct, then have aunit test that generates > the same file and compares it byte by byte with the checked one. > > The problem is that ever time I run it, I get an error like this: > > Mis-match at line 62 in file > C:\src\xmlReport\net\windward\xmlreport\test\report1.pdf > correct (file) = 5 0 obj > check (data) = 3 0 obj > > Any ideas? > > thanks - dave ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
