Quote:
Originally Posted by brolny
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.