Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2020, 04:12 PM   #1
Mechatherium
Junior Member
Mechatherium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: Samsung Galaxy Tab 4 Android tablet
ePub Problems

I have a similar problem. I just ran a completed EPUB thorough the commandline version of epubchecker and most of my errors are in the form:

Code:
ERROR(RSC-005): How to Commit Suicide epub 12520.epub/OEBPS/Text/Text.xhtml(285,55): Error while parsing file: value of attribute "id" is invalid; must be a string matching the regular expression "[^\s]+"
I used id tags to set up navigation in the document. When I visually inspected them they seemed to be OK; each was unique and began with a character.

Perhaps if I know what "string matching the regular expression "[^\s]+" meant. Does it mean the ids must begin with a space?
Mechatherium is offline   Reply With Quote
Old 01-25-2020, 05:16 PM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,679
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Mechatherium View Post
Perhaps if I know what "string matching the regular expression "[^\s]+" meant. Does it mean the ids must begin with a space?
It literally means that ids mustn't contain spaces. IIRC, this is a generic EPUBCheck error message that is also displayed if there are other problems with the id, for example, if the id contains non-ASCII characters other than hyphens, underscores, colons or periods.

What kind of id values did you use?

Last edited by Doitsu; 01-26-2020 at 02:12 AM.
Doitsu is offline   Reply With Quote
Advert
Old 01-25-2020, 07:25 PM   #3
Mechatherium
Junior Member
Mechatherium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: Samsung Galaxy Tab 4 Android tablet
First, Doitsu, thanks for replying so fast!

Most are sigil_toc_id_# where # is a number (autogenerated by Sigil)

There's also poetry/verse that is identified by the name. The first is a song called "I Have Faith" identified by "I Have Faith". Would spaces trip the error?
Mechatherium is offline   Reply With Quote
Old 01-25-2020, 07:48 PM   #4
Mechatherium
Junior Member
Mechatherium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: Samsung Galaxy Tab 4 Android tablet
Thumbs up Just checked with epubcheck again

OK, I replaced all the spaces in my ID names with underscores. I made sure to update all the links as well!

The error messages are gone!
Mechatherium is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub to mobi problems "No valid entries in the spine of this EPUB" TheFatMan Conversion 1 09-10-2013 10:59 PM
Problems with two epub Bibles SomeSteve ePub 8 09-12-2012 03:09 PM
Epub validation problems.. TheDJ89 Workshop 10 03-13-2011 09:40 AM
Problems with ePub validation a-name4epub ePub 2 12-03-2010 03:20 PM
epub conversion problems Reko Calibre 0 08-24-2010 12:03 AM


All times are GMT -4. The time now is 09:37 AM.


MobileRead.com is a privately owned, operated and funded community.