08-10-2011, 03:34 PM | #1 |
Junior Member
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. |
08-10-2011, 03:44 PM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
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. |
Advert | |
|
08-10-2011, 07:27 PM | #3 |
Junior Member
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 |
08-10-2011, 07:37 PM | #4 |
Resident Curmudgeon
Posts: 75,355
Karma: 133807966
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
08-10-2011, 07:52 PM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: sony prs505
|
Thanks very much, will try "xMidYMid meet".
|
Advert | |
|
Tags |
epub doc. error, epub validation, title page error |
|
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 |