Hi! Right when your message arrived here I have been looking into the svn repository versions of PdfIndirectObject. In August this year psoares33 checked in the version you refer to commenting the change with "PDF-A requires an EOL after obj." So I guess this fix will be part of the next release.
Ok, before asking the next such question, I'll have a look at trunk first... ;*) Best regards, Michael. -----Original Message----- From: 1T3XT info [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 10:22 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Added support for PDF/A-1 Michael Klink wrote: > Indeed, inspecting the document, no 'obj' of an indirect object in the > document at all is followed by an EOL, and looking at > PdfIndirectObject.writeTo(OutputStream) it becomes clear that there hardly is > a chance that any 'obj' ever can be. Have a look at these constants in PdfIndirectObject: static final byte STARTOBJ[] = DocWriter.getISOBytes(" obj\n"); static final byte ENDOBJ[] = DocWriter.getISOBytes("\nendobj\n"); Please explain your claim that "\n" is different form an EOL so that we can update iText. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
