Quote:
Originally Posted by un_pogaz
from an XML point of view it is not an error!
|
Meaningless when Epub is not confined solely to xml rules.
Neither of us can really say how many epubs this sort of thing might occur in, it's still my contention that it's not nearly as prevalent as you seem to want it to be.
As for calibre being the last software to touch the epub, well that's not really indicative of much of anything either. Calibre's editor prides itself on making as few changes to an epub's code as possible, and will only attempt to fix things when specifically asked to. I can confirm that calibre will correct this situation only when given permission to do so after running the "Check Book" tool.
Regardless ... Kevin has already pushed a commit that seems to fix the issue for Sigil as well. Just keep in mind that we won't always be able to save everyone from themselves automatically (with non-invasive changes). Garbage in is still garbage in.