[
https://issues.apache.org/jira/browse/PDFBOX-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944721#comment-14944721
]
Maruan Sahyoun commented on PDFBOX-3005:
----------------------------------------
thanks for your feedback. The check for regressions will take a little longer
as the list of files is huge.
> 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
> Fix For: 2.0.0
>
> 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]