Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2019, 04:40 AM   #1
grahamnaismith
Member
grahamnaismith began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
EPUB3 Validation Error - Assertion failed: package dcterms:modified meta element mu

[ERROR]content.opf: 3,152: assertion failed: package dcterms:modified meta element must occur exactly once

Getting this on IngramSpark and similar on http://validator.idpf.org and https://www.ebookit.com/tools/bp/Bo/...epub-validator

Line 3 is

<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="3.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlnspf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

I do have this in line 10

<dc:date>2019-02-14T00:00:00+00:00</dc:date>

and the below thread indicated to change it to <dcterms:modified> </dcterms:modified> but that doesn't work and returns a load of errors

https://www.mobileread.com/forums/sh...d.php?t=197051

Stuck
grahamnaismith is offline   Reply With Quote
Old 02-13-2019, 03:41 PM   #2
grahamnaismith
Member
grahamnaismith began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
Nooooooooooo! Please don't leave me!!!
grahamnaismith is offline   Reply With Quote
Advert
Old 02-13-2019, 04:21 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice


I'll move this to the EPUB forum where the bookmaking experts hang out

BR
BetterRed is offline   Reply With Quote
Old 02-13-2019, 04:39 PM   #4
grahamnaismith
Member
grahamnaismith began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
Quote:
Originally Posted by BetterRed View Post


I'll move this to the EPUB forum where the bookmaking experts hang out

BR
grahamnaismith is offline   Reply With Quote
Old 02-13-2019, 04:51 PM   #5
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by grahamnaismith View Post
[ERROR]content.opf: 3,152: assertion failed: package dcterms:modified meta element must occur exactly once

Getting this on IngramSpark and similar on http://validator.idpf.org and https://www.ebookit.com/tools/bp/Bo/...epub-validator

Line 3 is

<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="3.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlnspf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Shouldn't you be looking at line 3152 and not line 3? Or is that line,column?
ilovejedd is offline   Reply With Quote
Advert
Old 02-13-2019, 05:05 PM   #6
grahamnaismith
Member
grahamnaismith began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
Quote:
Originally Posted by ilovejedd View Post
Shouldn't you be looking at line 3152 and not line 3? Or is that line,column?
Yes correct - it's line and column
grahamnaismith is offline   Reply With Quote
Old 02-13-2019, 05:15 PM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,073
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
dc:date and dcterms:modified are not the same thing. The first is the publication date. The second is the date that the EPUB was last modified. You normally will have both. The proper syntax is:

<dc:date>2000-01-01T00:00:00Z</dc:date>

and

<meta property="dcterms:modified">2011-01-01T12:00:00Z</meta>
jhowell is offline   Reply With Quote
Old 02-14-2019, 09:44 AM   #8
grahamnaismith
Member
grahamnaismith began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2019
Device: Kindle
Worked it out. Put the below in and it works. Thanks all

<dc:language>en</dc:language>
<meta property="dcterms:modified">2019-02-22T00:00:00Z</meta>
grahamnaismith is offline   Reply With Quote
Reply

Tags
dcterms:modified


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Error epub3 soparch ePub 2 12-01-2015 11:38 PM
ePub validation error help "attribute border is not declared for element img bmacklin ePub 12 11-06-2015 11:00 AM
assertion failed? Notjohn Sigil 5 05-16-2014 07:01 PM
Assertion failed error bekorah Barnes & Noble NOOK 1 07-13-2013 10:27 AM
ePub validation error: 'element "span" not allowed here' nannygoats ePub 5 11-30-2011 08:47 AM


All times are GMT -4. The time now is 01:48 PM.


MobileRead.com is a privately owned, operated and funded community.