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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2011, 03:34 PM   #1
carlol
Junior Member
carlol began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: sony prs505
Validate epub

Hi everyone, Threepress validation says my ebook has failed because of the following error:
epub/OEBPS/Text/titlepage.xhtml(21): value of attribute "preserveAspectRatio" is invalid; must be a string matching the regular expression "\s*(none|xMinYMin|xMidYMin|xMaxYMin|xMinYMid|xMid YMid|xMaxYMid|xMinYMax|xMidYMax|xMaxYMax)\s+(meet| slice)?\s*"

Can anyone tell me how to fix this please? The code view shows </svg> against line 21 in Sigil but the preserveAspectRatio information appears within everything showing against line 19. Is this normal and what do I change? I am assuming at present that I should enter something else in line 19.
Please understand I know nothing about programming language. Anyone who can help will have my undying gratitude.

Carlol.
carlol is offline   Reply With Quote
Old 08-10-2011, 03:44 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,898
Karma: 2909045
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Please do a search for it, it has been mentioned a couple of times on this forum.

Anyway, if you mention a problem, the code to which the error refers to would be helpful.
Toxaris is offline   Reply With Quote
Old 08-10-2011, 07:27 PM   #3
carlol
Junior Member
carlol began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: sony prs505
Thanks for the reply, will do a search, but all of the code for line 19 is:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" preserveAspectRatio="none" version="1.1" viewBox="0 0 464 751" width="100%">

Carlol
carlol is offline   Reply With Quote
Old 08-10-2011, 07:37 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,470
Karma: 17660776
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
If you use none, the aspect ratio would be incorrect in your cover image. The best way to do it is to use "xMidYMid meet".

But "none" is correct. It is a bug in ePubCheck.
JSWolf is offline   Reply With Quote
Old 08-10-2011, 07:52 PM   #5
carlol
Junior Member
carlol began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: sony prs505
Thanks very much, will try "xMidYMid meet".
carlol is offline   Reply With Quote
Reply

Tags
epub doc. error, epub validation, title page error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reg Validate EPUB documents Errors. gsp ePub 3 08-13-2011 05:02 AM
my epub won't validate, please help? moonmyst532 ePub 6 02-19-2011 06:17 PM
Trying to validate an ePub created withCalibre firstrun Calibre 1 08-06-2010 02:28 AM
getting the epub to validate nixwinter Calibre 18 05-13-2010 10:26 PM
Validate ePub Haya Sigil 8 11-27-2009 05:32 PM


All times are GMT -4. The time now is 11:05 PM.


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