Description: Many (probably most) e-book wholesalers and retailers require that epub files pass validation. Exporting a reasonably complex document produces scores of errors and even my simple documents do not validate. Steps to Reproduce: 1. Open or create a document 2. Select Export As > Export as EPUB... 3. Select Version EPUB 2.0 4. Click OK Actual Results: With a trivially small file, the validator produces: ERROR: D:\Documents\Working Files\EpubTest.epub/OEBPS/sections/section0001.xhtml(2): element "title" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: D:\Documents\Working Files\EpubTest.epub/OEBPS/sections/section0001.xhtml(2): element "title" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context Check finished with warnings or errors! Expected Results: The epub file should pass validation so it can be sold through normal retail outlets, not just distributed to friends. Reproducible: Always User Profile Reset: No Additional Info: The contents of the document that produced the errors above was: Test epub export from LibreOffice. I will export this and run the exported version through the “Discovery ePub Validator 1.0” from http://www.ebook-tool.com.
Created attachment 175329 [details] Exact version info from LO help. The exact version number was not listed, so I'm including thi9s version info from LO help.
You can copy the version information to the clipboard by pressing the button next to the text "Version Information", then you can paste it directly in a comment. It's easier than attaching a screenshot. I'll mark your earlier report of this same issue from a few months ago as a duplicate.
*** Bug 141664 has been marked as a duplicate of this bug. ***
Tested with Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 8942956e05f2208ffb666a2118f5db092c30ce6a CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded I used one chapter from LO guides and online validator http://validator.idpf.org/ Errors: Error while parsing file: element "title" not allowed here; expected the element end-tag or element "base", "link", "meta", "script" or "style"