[
https://issues.apache.org/jira/browse/PDFBOX-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun reassigned PDFBOX-3005:
--------------------------------------
Assignee: Maruan Sahyoun
> Incorrect property names for lists
> ----------------------------------
>
> Key: PDFBOX-3005
> URL: https://issues.apache.org/jira/browse/PDFBOX-3005
> Project: PDFBox
> Issue Type: Bug
> Components: Writing, XmpBox
> Affects Versions: 2.0.0
> Reporter: Evgeniy Muravitskiy
> Assignee: Maruan Sahyoun
> Attachments: isis09_04.pdf, restest.xml
>
>
> When i write code as follows:
> {code}
> PDDocument document = PDDocument.load(new File(FILE_PATH));
> DomXmpParser parser = new DomXmpParser();
> XMPMetadata metadata =
> parser.parse(document.getDocumentCatalog().getMetadata().getStream().getUnfilteredStream());
> metadata.removeSchema(metadata.getPDFIdentificationSchema());
> OutputStream res = new FileOutputStream(RESULT_XML);
> new XmpSerializer().serialize(metadata, res, true);
> {code}
> I got xml which contain following tag:
> {code}
> <dc:creator>
> <rdf:Seq>
> <rdf:creator>Tomioka, Satoshi</rdf:creator>
> </rdf:Seq>
> </dc:creator>
> {code}
> but instead of {{rdf:creator}} must be {{rdf:li}}. This problem reproducible
> also for others DublinCoreShema properties which contains lists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]