Hi,
i generate a pdf with fop and afterwards i add a watermark. Until i
didn't set the following meta data
this.foUserAgent.setCreator("Creator");
this.foUserAgent.setAuthor("Author");
this.foUserAgent.setTitle("Title");
it worked but now i get the following message:
The prefix "x" for element "x:xmpmeta" is not bound.
After looking into the PDF i realized that the namespace is not set and
that's why iText runs into problems:
<x:xmpmeta>
<rdf:RDF>
<rdf:Description rdf:about="">
<pdf:PDFVersion>1.4</pdf:PDFVersion>
<pdf:Producer>Apache FOP Version 0.95</pdf:Producer>
</rdf:Description>
<rdf:Description rdf:about="">
<xmp:CreatorTool>Creator</xmp:CreatorTool>
<xmp:CreateDate>2008-10-29T10:38:07+01:00</xmp:CreateDate>
</rdf:Description>
<rdf:Description rdf:about="">
<dc:date>
<rdf:Seq>
<rdf:li>2008-10-29T10:38:07+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:creator>
<rdf:Seq>
<rdf:li>Author</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:title>
<rdf:Alt>
<rdf:li xml:lang="x-default">Title</rdf:li>
</rdf:Alt>
</dc:title>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="r"?>
So can i add the namespace manually or is that just a "bug" of FOP?
I know that i can set the xmp part manually with <fo:declarations> but i
don't want to do that...
Regards,
ToM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]