Thread: doubled id
View Single Post
Old 07-27-2016, 02:04 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,661
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by brolny View Post
These code examples are OK for Sigil, but not for Calibre.
Not sure what you mean by "OK for Sigil." If you mean that Sigil's Well-Formed Check doesn't flag it as a problem, then you're right. It doesn't. The Well-Formed Check is only concerned with syntactical problems like no missing quotes, and making sure all tags are properly closed and no improper nesting is going on. Things that could prevent an epub from being saved. It's not a "validator."

You'll be happy to know, however, that both the EpubCheck plugin and the Flightcrew plugin (epub2-only) will flag duplicate ids as a problem for you.

Sigil itself should NOT be creating any duplicate ids, though, if that's what you mean. If so, we'll need steps to recreate it. I've certainly never encountered a situation where one of Sigil's automated routines created any duplicated ids before.

Last edited by DiapDealer; 07-27-2016 at 02:13 PM.
DiapDealer is offline   Reply With Quote