diff options
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFMetadata.java | 6 |
1 files changed, 5 insertions, 1 deletions
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"); |