04-19-2011, 07:41 AM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: none
|
Epub validation Error
Hi everyone, I'm having some trouble fixing one last error in my epub files. The error note says: content.opf(19): attribute "opf:file-as" not allowed here; expected attribute "id" or "xml:lang"
Any ideas on how to fix this? Thanks in advance! |
04-19-2011, 09:26 AM | #2 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In the file "content.opf", line 19, there is an element with "opf:file-as", which is not allowed. Only "id" and "xml:lang" are allowed there.
We'd have to see the "content.opf" file to see exactly what's the problem and how to fix it. |
Advert | |
|
06-24-2011, 09:19 AM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: none
|
Hi thanks for the reply. I'm still running into this problem I've included some of the content.opf file below, if anyone has suggestions of how this error can be solved I'd be so grateful!
Code:
<?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id"> <metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:creator opf:role="aut" opf:file-as="author">author</dc:creator> <dc:creator opf:role="aut">authorl</dc:creator> <dc:publisher>Publishers</dc:publisher> <meta name="calibre:series_index" content="1"/> <meta name="calibre:rating" content="10"/> <dc:description></dc:description> <dc:language>en</dc:language> <meta name="calibre:timestamp" content="2011-06-23T11:44:51.909390+00:00"/> <dc:title opf:file-as="title">title</dc:title> <meta name="cover" content="cover"/> <dc:date>2011-06-22T23:00:00+00:00</dc:date> <dc:contributor opf:role="bkp">calibre (0.7.28) [http://calibre-ebook.com]</dc:contributor> <dc:identifier opf:scheme="ISBN"></dc:identifier> <dc:identifier id="uuid_id" opf:scheme="uuid">8e4153bb-af45-4260-8c4a-ea80f95a4c2f</dc:identifier> <dc:subject>Thailand</dc:subject> |
06-25-2011, 12:57 AM | #4 |
ePub Maker
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
|
<dc:title opf:file-as="title">title</dc:title>
Delete opf:file-as="title" Then it will pass. I have tested. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub validation error | drwinn | Workshop | 17 | 03-22-2011 05:10 PM |
epub validation error | sassanik | Sigil | 19 | 12-08-2010 05:46 AM |
Epub Validation Error? | LadyDae | ePub | 6 | 10-29-2010 07:20 PM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |