![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2019
Location: Australia
Device: none
|
![]()
Hello, I wonder if anyone can help me with this puzzle. I have converted a docx to epub using Calibre 3.41.3. The result passes EPUBCheck version 4.1.1. with no problems reporting the detected epub file version as EPUB 3.0.1.
Apart from the first set of messages from IngramSpark (dealt with in thread 300186: IngramSpark citing content.opf errors I can't find in the .opf) I get a whole stack of the following errors: [ERROR]index_split_000.xhtml: 7,73: value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])" Line 7 reads: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> There are a couple of splits with the same line 7 statement that get no error, but not many. There appear to be nothing specifically different in the docx text MS Word formatting in the split in which the errors do not occur. I have made no correction for the first errors in the .opf as referred to above. I do not have SIGIL. Nor am I programming conversant in xthml/html5. A suggestion that I can apply in the Calibre editor would be handy. Cheers |
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,805
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
A couple of suggestions, you can try replacing the line with "<meta charset="UTF-8">" which is the HTML5 way of specifying UTF-8 encoding or if the first line in your file reads: "<?xml version="1.0" encoding="utf-8"?>", the http-equiv is unnecessary and can be removed. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
@Bjorn G in epub3 books, you might want to use the following <meta> tag:
Code:
<meta charset="utf-8" /> |
![]() |
![]() |
![]() |
Tags |
"http-equiv" is invalid, ingramspark, validator error, value of attribute |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error while parsing file "attribute"_span" | ksrives | Calibre | 2 | 12-13-2018 08:01 PM |
[Suggestion] Sigil validator should check missing type="text/css" attribute | quiris | Sigil | 13 | 01-21-2018 02:00 PM |
ePub validation error help "attribute border is not declared for element img | bmacklin | ePub | 12 | 11-06-2015 11:00 AM |
epubcheck: attribute "page-map" not allowed here error message | Bala_85 | ePub | 2 | 07-14-2013 03:13 AM |
epubcheck: attribute "page-map" not allowed here error message | Doitsu | ePub | 5 | 10-27-2011 08:51 PM |