Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2011, 07:35 AM   #1
landed
Junior Member
landed began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: iphone
Question p attribute error on validation

error message when validating the epub with http://threepress.org/document/epub-validate/

element "p" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context

this appears to have come from adding chapters with a styling using H1 in word (so that calibre picks them up) in the .rtf doc (used instead of .doc as that wont work in calibre)

otherwise we managed before to get a valid file. Just that we realised the TOC wasn't right.

How do other people solve the TOC issues for a paperback style novel.

thanks for any help
landed is offline   Reply With Quote
Old 02-13-2011, 07:40 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,861
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by landed View Post
error message when validating the epub with http://threepress.org/document/epub-validate/

element "p" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context
This is the calibre forum. We will be glad to answer calibre specific questions but for epub validation questions you might do better in the Epub forum.
DoctorOhh is offline   Reply With Quote
Old 02-13-2011, 11:15 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,863
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dwanthny View Post
This is the calibre forum. We will be glad to answer calibre specific questions but for epub validation questions you might do better in the Epub forum.
This is a 'line splitting' question' caused by incorrectly applying a H# tag to a file to attempt to get Calibre to build a TOC on conversion that does not contain the normal 'Chapter'... trigger, Keywords. (Personally, I use Sigil and skip this conversion step, dance )


This is where this topic crosses over to the EPUB section

The message say the user typed <H1> in the middle of a normal paragraph (just like it appears here).

H# tags shall only exist outside of a Paragraph block. The problem may also be, there is not a matching closing tag (</H1>) within the same block.



The Open Office [insert Plug for both here ] plug-in 'Writer2EPUB' works a treat for making EPUB from well formatted DOC files.
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's this validation error and how to fix it. Adjust ePub 9 06-28-2011 10:45 PM
Error during validation macdafydd ePub 19 12-01-2010 06:07 PM
Validation error rrosenwald Calibre 10 10-01-2010 11:12 AM
Error parsing attribute name? seagull Calibre 1 01-01-2010 11:30 AM
Attribute error? jusmee Calibre 2 12-15-2009 08:22 PM


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


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