From: Jeremias Maerki Date: Fri, 17 Feb 2006 16:29:14 +0000 (+0000) Subject: A nit: dc:creator needs to be an ordered Text array. X-Git-Tag: fop-0_92-beta~114 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=65b653d39e8018de7510a78e39d0ef8de3a40ab5;p=xmlgraphics-fop.git A nit: dc:creator needs to be an ordered Text array. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378562 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/pdf/PDFMetadata.java b/src/java/org/apache/fop/pdf/PDFMetadata.java index 9af42e8b6..9b21420eb 100644 --- a/src/java/org/apache/fop/pdf/PDFMetadata.java +++ b/src/java/org/apache/fop/pdf/PDFMetadata.java @@ -177,7 +177,11 @@ public class PDFMetadata extends PDFStream { if (info.getAuthor() != null) { el = doc.createElementNS(XMPConstants.DUBLIN_CORE_NAMESPACE, "dc:creator"); desc.appendChild(el); - el.appendChild(doc.createTextNode(info.getAuthor())); + Element seq = doc.createElementNS(XMPConstants.RDF_NAMESPACE, "rdf:Seq"); + el.appendChild(seq); + Element li = doc.createElementNS(XMPConstants.RDF_NAMESPACE, "rdf:li"); + seq.appendChild(li); + li.appendChild(doc.createTextNode(info.getAuthor())); } if (info.getTitle() != null) { el = doc.createElementNS(XMPConstants.DUBLIN_CORE_NAMESPACE, "dc:title");