View Single Post
Old 01-12-2016, 04:31 AM   #174
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by KevinH View Post
The .html extension (vs .xhtml) is perfectly legal in epub 3. If epubcheck or any other validator complains with anything other than an info, the validator is wrong.


Edit:
I partially take that back... the IDPF does say "SHOULD" and not "MUST" (See their official definitions at the start on the epub 3 docs)

› The XHTML Content Document filename SHOULD use the file extension .xhtml.

So I guess a validator giving a warning or info about it is okay, but it should not error out.

KevinH
You are right.

The validator (4.0.1.) gives only a warning, but when you have 60 files, it's a cumbersome warning..

The trick is that when and if your files are .xhtml (being also html 5), you should declare them as such.

Last edited by roger64; 01-12-2016 at 04:33 AM.
roger64 is offline   Reply With Quote