View Single Post
Old 04-07-2016, 08:55 PM   #1
guidaq
Junior Member
guidaq began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2016
Device: Asus Memopad 7
In DTD declaration, language other than "EN" will generate warning message.

Hi, I am starting with Sigil - version 0.9.5 (Windows 8) and when I change the language in DTD declaration from
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//PT"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I get an error message each time I open the EPUB.
Tried with different files, with the same result.

My current project has 5 different xhtml files which I used to make the experience: change the langage in one or two of them, close and reopen the file; any language different from "EN" generates the warning:
«Cannot perform HTML updates since the file is not well formed: cover.xhtml». (this message appeared when I changed EN" to "PT" ot to "FR" in the file "cover.xhtml"
Changing the language back to "EN" the message doesn't appear on opening, which means there are no other errors.

(allow me two suggestions:
  • the creation of a new forum section for "Bugs"
  • in Sigil, a way of having user's own set of templates - for xhtml, TOC files - I mean, all of those files whose header may have settings different from "EN" .
    These could be saved in a subdirectory under SIGIL directory.
Thank you for your attention :
guidaq is offline   Reply With Quote