Hello, I have a PDF/A-1b document that Adobe Pro 9 certifies to be a PDF/A-1b. When I use iText to overlay some text on it, the output document is not a PDF/A-1b anymore. The Java application displays this message "[Fatal Error] :27:2: The markup in the document following the root element must be well-formed." and Adobe 9 displays the following message when checked for 1b complaince: PDF document is not compliant with PDF/A-1b (2005) - The Last modification date field in the document's info dictionary does not match the last modification date entry in the document's XMP Metadata - Producer entry in Document information matches XMP Metadata: is not true - Metadata missing (XMP): Has XMP metadata is not true - PDF/A entry is missing: Has PDF/A entry: is not true
I know the input file has XMP meta data because reader.getMetadata() displays the XMP data. And what I tried to do in my application was: byte[] meta = reader.getMetadata(); pdfstamper.setXmpMetadata(meta); Is there something else I need to do? I would appreciate a pointer or two. Thanks. P.S: I spend most of my time working on the mainframe and don't get to spend as much time as I would like with iText/Java, so if my ignorance is glaring, I am sorry about that! Environment: iText 2.1.5/Windows XP/Java 5.0 -- View this message in context: http://www.nabble.com/Overlay-text-content-on-PDF-A-1b-tp23762718p23762718.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/