View Single Post
Old 11-14-2020, 12:08 AM   #365
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,932
Karma: 6361444
Join Date: Nov 2009
Device: many
Having the xml declaration/header is not required by all systems I think. That said the DOCTYPE is important for setting the allowed xhtml entity definitions, if it should be interpreted as strict or transitional rulesets, and quirks and things. Having it missing in a xhtml file is not the best idea especially when the pages are served up as xhtml/xml vs html.
I am surprised that epubcheck did not flag it with at least a warning if not an error.

Running Sigil's Mend will fix any missing xml header and fix any missing doctype automatically based on the epub version.
KevinH is offline   Reply With Quote