View Single Post
Old 12-15-2015, 12:41 PM   #164
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Detaching from the above:

From the previous quote of the specs, I would say that the <guide> is optional, but it cannot be empty.

EDIT: the schema ( http://www.idpf.org/epub/20/spec/OPF...m#AppendixTOCA ) seems to confirm:

Quote:
<define name="OPF20.guide-element">
<element name="guide">
<ref name="OPF20.optional-id-attribute"/>
<ref name="OPF20.guide-content"/>
</element>
</define>

<define name="OPF20.guide-content">
<oneOrMore>
<ref name="OPF20.reference-element"/>
</oneOrMore>
</define>
Interestingly, epubcheck complains about the empty <guide></guide> if you validate an EPUB 3, but not if you validate an EPUB 2, I have just tried.

Last edited by AlPe; 12-15-2015 at 12:44 PM.
AlPe is offline   Reply With Quote