Description
This is a follow-up for PDFBOX-3257 but for XMPBox.
DomXmpParser xmpParser = new DomXmpParser(); xmpParser.setStrictParsing(false); InputStream is = meta.createInputStream(); org.apache.xmpbox.XMPMetadata xmp = xmpParser.parse(is); is.close(); XMPBasicSchema basic = xmp.getXMPBasicSchema(); Calendar createDate = basic.getCreateDate(); System.out.println(createDate); basic.setCreateDate(new GregorianCalendar()); createDate = basic.getCreateDate(); System.out.println(createDate);
This outputs twice the same
Attachments
Issue Links
- duplicates
-
PDFBOX-3029 Can't overwrite property in PDFIdentificationSchema
- Closed