View Single Post
Old 02-10-2010, 05:47 AM   #2
netseeker
sleepless reader
netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.
 
netseeker's Avatar
 
Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
Quote:
Originally Posted by NASCARaddicted View Post

The error message is: ERROR: Rosenresli - Johanna Spyri.epub/content.opf(10): date value '2010-02-08T22:00:00' is not valid, YYYY[-MM[-DD]] expected

I unpacked the epub and looked at it. In line 10 it says <dc:date>2010-02-08T22:00:00</dc:date>

So who is right and who is wrong ? Is my epub valid ? Is there anything wrong with my content opf ? As I said, I converted the file with calibre, so I thought everything would be fine.
Are there other (easy to use) epub checkers? Thanks for your help
Dublin Core recommends the usage of either just the year (YYYY) or year+month (YYYY-MM). (http://dublincore.org/documents/usag...elements.shtml section 4.12.) Aynway, if you still want use a date/time value then you should at least add the time zone according to the W3C's W3CDTF date/time scheme.

Examples:
Code:
<dc:date>2010</dc:date>
<dc:date>2010-02</dc:date>
<dc:date>2010-02-08T22:00:00+01:00</dc:date>
I use epubcheck to validate ePub-files...
netseeker is offline   Reply With Quote