This page contains the following errors: error on line 68 at column 57: PCDATA invalid Char value 12

jt
jtmeunier
Posts: 5
Joined: Mon Oct 19, 2015 7:49 am
Platform: Mac

Tue Apr 17, 2018 12:45 am Post

I am compiling a epub 3. When opening it up in ibooks I get the attached error.
It doesn't exist in PDF. Any ideas how do I fix it? Is there a CSS snippet to insert?
Attachments
Screen Shot 2018-04-16 at 5.42.52 PM.png
Screen Shot 2018-04-16 at 5.42.52 PM.png (61.35 KiB) Viewed 476 times

jt
jtmeunier
Posts: 5
Joined: Mon Oct 19, 2015 7:49 am
Platform: Mac

Wed Apr 25, 2018 3:16 pm Post

Bump, I can't figure this one out any help would be great!

User avatar
AmberV
Posts: 21670
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Wed Apr 25, 2018 3:26 pm Post

It’s not really possible to say what’s wrong from the error message alone. To get a better sense of where the problem exists, I’d load the ePub file in an editor like Sigil or Calibre’s editor, and run verification on it. You should note you’ll get a bunch of CSS errors in Calibre’s editor at least, as it doesn’t yet correctly account for ePub 3 CSS formatting. You can ignore the “rem” errors, and look for this one. Once you pinpoint the location you should be able to trace it back to the source location in Scrivener and see what is going on there.

I’d try the Edit ▸ Text Tidying ▸ Zap Gremlins command on the section of text—it could be you have a bad Unicode character in there.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles