It's not incompetency just incomplete knowledge of PDF. Since PDF
1.4 (Acrobat 5), Adobe has moved away from the classic "DocInfo" type
of metadata to an XML-based metadata called XMP - though PDF/A was the
first subset of PDF to REQUIRE XMP.
So what you need to do is read up on XMP and then update your
software. iText supports XMP.
Leonard
On Sep 5, 2008, at 3:46 AM, Сергій Карпенко wrote:
Hi all
I use iText for extract PDF text and PDF-file metadata.
In last case code is simple
PdfReader reader = new PdfReader(is,"".getBytes());
//Read the file metadata
HashMap info = reader.getInfo();
reader.close();
String author = (String)info.get("Author");
//etc.
It works well with ordinary pdf-files. But returns nothing from PDF/A.
-Is there a bug, or my incompetency?
-How can I read metadata from PDF/A?
- If there no any solution, recommend me another tool for read pdf
(PdfBox nice, but there is a problem with metadata extraction too).
Thanks
-------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
-------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php