View Single Post
Old 12-11-2015, 02:13 PM   #6
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,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,
Found a sample chapter of that book on the Baen website and used its html and received the following when I tested it for being well-formed by Gumbo:

--------
line: 2 col: 1 type 40 @1:1: This is not a legal doctype.
@2:1: This is not a legal doctype.
<!DOCTYPE html PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.2 Document//EN" "http://openebook.org/dtds/oeb-1.2/oebdoc12.dtd">

So all it is complaining about is the DOCTYPE not being an epub2 DOCTYPE. If you turn on Clean On Open in Sigil preferences it will still happily load and parse that file.

Your error message in the image cites the exact same line so your problem is probably the same non-standard doctype as well. Simply turn on Cleaning and it should load just fine into CodeView. You can then modify it if need be, otherwise leave it alone.

KevinH
KevinH is online now   Reply With Quote