Seen, thank you. (Also the README.md.)
I have done some quick tests. The only problem I see is the following: the current code in opf_converter.py outputs an empty
if the original (EPUB 2) OPF does not have a <guide> element.
This produces the following validation error:
Quote:
ERROR(RSC-005): test.epub/OEBPS/content.opf(41,9): Error while parsing file 'element "guide" incomplete; missing required element "reference"'.
|
If I remember correctly, the previous code simply commented the guide out, as it is deprecated by EPUB 3. You can either comment it out again, or add a check that outputs the begin/end guide tags only if len(self.guide) > 0.