Bug 128540 - EPUB tool: some Error and Warning discovered after conversion with a validator
Summary: EPUB tool: some Error and Warning discovered after conversion with a validator
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2019-11-01 19:04 UTC by f.carbone80
Modified: 2020-03-18 11:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The warning and error that I discovered (216.04 KB, image/jpeg)
2019-11-01 19:06 UTC, f.carbone80
Details
The EPUB that I have tested (18.26 MB, application/epub+zip)
2019-11-04 14:59 UTC, f.carbone80
Details
The .odt file from which I derived the EPUB file. (11.09 MB, application/vnd.oasis.opendocument.text)
2019-11-20 22:38 UTC, f.carbone80
Details

Note You need to log in before you can comment on or make changes to this bug.
Description f.carbone80 2019-11-01 19:04:34 UTC
Description:
Hi. I converted a Writer document in EPUB with the incorporated tool. After convertion I verified the .epub di pagina EPUB-Checker (last version of this tool) and It discovered some Error and Warning that I list below:

-- Error RSC-005
-- Error OPF-012
-- Warning RSC-017
-- Error CSS-001



Actual Results:
Create an .epub with Writer then use a validation program to check for problems.

Expected Results:
At this point, you should see the same errors that I did.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 f.carbone80 2019-11-01 19:06:14 UTC
Created attachment 155455 [details]
The warning and error that I discovered
Comment 2 Julien Nabet 2019-11-01 22:27:15 UTC
3.3.2 is a very old version.
Could you give a try to 6.2.8 or brand new 6.3.3?
Also, if you still reproduce this, could you attach the file so we can try to reproduce this?
Of course, think about sanitizing it (see https://wiki.documentfoundation.org/QA/Bugzilla/Sanitizing_Files_Before_Submission)
Comment 3 f.carbone80 2019-11-04 08:30:29 UTC
Sorry It's 6.3.2.2. Now Version corrected.
Comment 4 f.carbone80 2019-11-04 14:59:36 UTC
Created attachment 155507 [details]
The EPUB that I have tested

The .epub is the test book that I have tested.
Comment 5 QA Administrators 2019-11-05 03:30:01 UTC Comment hidden (obsolete)
Comment 6 Julien Nabet 2019-11-07 16:11:34 UTC
To reproduce the problem, we need the original ODT file not the resulting EPUB file.
Comment 7 f.carbone80 2019-11-20 22:38:47 UTC
Created attachment 155990 [details]
The .odt file from which I derived the EPUB file.

Hello here the .odt file from which I derived the EPUB file. 
Sorry for delay.
Comment 8 Julien Nabet 2019-11-20 22:53:48 UTC
Version must correspond to the earliest affected one.
Comment 9 Julien Nabet 2019-11-20 23:00:13 UTC
On pc Debian x86-64 with master sources updated today, I converted your odt file into epub.
Then with epubcheck 4.1 from LO Debian testing package repo, I got:
Validating using EPUB version 3.2 rules.
WARNING(RSC-017): /tmp/epub-libreoffice.epub/OEBPS/sections/section0001.xhtml(2,50): Warning while parsing file: The 'head' element should have a 'title' child element.
WARNING(RSC-017): /tmp/epub-libreoffice.epub/OEBPS/toc.xhtml(2,93): Warning while parsing file: The 'head' element should have a 'title' child element.
ERROR(CSS-001): /tmp/epub-libreoffice.epub/OEBPS/styles/stylesheet.css(148,3): The 'direction' property must not be included in an EPUB Style Sheet.

Check finished with errors
Messages: 0 fatals / 1 error / 2 warnings / 0 infos

Let's put this one to NEW since there's at least 1 error.
Comment 10 Julien Nabet 2019-11-20 23:16:07 UTC
David: thought you might be interested in this one since it concerns epub
Comment 11 f.carbone80 2019-12-22 12:09:52 UTC
(In reply to Julien Nabet from comment #9)


Yes, Julien, these are the same mistakes that I found.