Next in thread →
Next in month →
Re: [docbook] duplicate dcterms:date
Hi Peter,
I recently came across this problem when I used both pubdate and copyright/year. Here's what Bob Stayton had to say:
"Currently date and copyright/year are mutually exclusive for the date
metadata, so if you change your pubdate element to a date element in the
info, then it will output a single date in the opf."
Search the list for "pubdate" and you'll find the complete discussion.
Hope that works for you.
On 5 September 2014 06:00, Peter Fleck <> wrote:
Hi all,
I'm getting duplicate dcterms:date in the epub3 package.opf
<meta property="dcterms:date">2012</meta>
<dc:date>2012</dc:date>
<meta property="dcterms:date">2012</meta>
<dc:date>2012</dc:date>
The validator at http://validator.idpf.org/ gives me this.
ERROR
OEBPS/package.opf
20
14
element "dc:date" not
allowed here; expected the element end-tag or element
"dc:contributor", "dc:coverage", "dc:creator",
"dc:description", "dc:format", "dc:identifier",
"dc:language", "dc:publisher", "dc:relation", "dc:rights",
"dc:source", "dc:subject", "dc:title", "dc:type", "link" or
"meta"
I'm just wondering if anyone else is getting this or if it is a bug
in my stylesheet.
I'm using docbook-xsl-ns-1.78.1 stylesheets.
Thanks,
Peter
--
Peter Lavin
Telephone: 1 416 461 4991
Mobile: 1 416 882 9194
Skype: peter.lavin
(GMT -05:00 Canada/US Eastern)
Next in thread →
Next in month →