Home › Forums › Other › Error code when validating ePub – not sure where else to go › Reply To: Error code when validating ePub – not sure where else to go
I’m attempting to validate an ePub.
What version of the ePub spec are you trying to validate against? AFAICT, 3.01 is the most recent spec.
using ePub validator
I don’t know of an ePub validator that the w3c provides. Do you mean you wrote your content in HTML and validated that? or are you talking about this validator?
<spine toc=”ncx”>
The toc
attribute names an item with the given idref
(in this case, it’s looking for an idref=ncx
, and is complaining because it can’t find one.
see here for more.
It would seem that the NCX feature is part of ePub 2, and is not required in ePub 3 (it exists only for backwards-compatibility), so if you’re validating against version 3, you should be able to simply leave the toc
attribute out.
Don’t quote me on this, however; I don’t know a lot about ePubs.