[Libreoffice-bugs] [Bug 128540] EPUB tool: some Error and Warning discovered after conversion with a validator

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 19 13:22:02 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=128540

--- Comment #12 from stragu <stephane.guillou at member.fsf.org> ---
Exporting with LO 7.2 alpha1+, and checking with epubcheck 4.2.5, I get the
same warnings and error as Julien:

Validating using EPUB version 3.2 rules.
WARNING(RSC-017):
/home/stragu/Downloads/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):
/home/stragu/Downloads/epub-libreoffice.epub/OEBPS/toc.xhtml(2,93): Warning
while parsing file: The "head" element should have a "title" child element.
ERROR(CSS-001):
/home/stragu/Downloads/epub-libreoffice.epub/OEBPS/styles/stylesheet.css(148,3):
The "direction" property must not be included in an EPUB Style Sheet.

The part of the stylesheet that causes the ERROR(CSS-001) is this one:

.body0 {
  -epub-writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  direction: ltr;
  writing-mode: horizontal-tb;
}

LibreOffice version:

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: b1c0734ffe0f395757b6e0cea7830d820231afeb
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-05-18_03:16:20
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210519/f9651b10/attachment.htm>


More information about the Libreoffice-bugs mailing list