[ 
https://issues.apache.org/jira/browse/PDFBOX-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeniy Muravitskiy updated PDFBOX-3005:
----------------------------------------
    Attachment: restest.xml
                isis09_04.pdf

Attach original pdf and result xml file

> 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
>         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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to