Quote:
Originally Posted by Jellby
I meant that adding a DOCTYPE when there was none to start with might be incorrect (whether or not flightcrew and/or epubcheck complain about it is a different matter).
|
After a reread, I did get your point that you thought that adding a DOCTYPE might be incorrect.
Isn't it added though, every time an epub is cleaned by Sigil?
Quote:
Originally Posted by Jellby
You mean that a document with and no DOCTYPE passed epubcheck? That sort of agrees with the second part of my message: a DOCTYPE might be unneeded.
|
For clarification, I inserted the DOCTYPE into a new test epub before sending it to Sigil. Because (as mentioned by others) the DOCTYPE was already there, the cleaning process did not error-out and the   were inserted correctly. That cleaned epub is what passed flightcrew and EpubCheck.
I'm still thinking that if DOCTYPE could be checked for first (If at all possible) at the start of the cleaning process, everything that followed would work like DOCTYPE had always been there. I realize it's easier said than done!