View Single Post
Old 08-31-2010, 04:41 PM   #1
rrosenwald
OS/2 forever
rrosenwald began at the beginning.
 
rrosenwald's Avatar
 
Posts: 12
Karma: 10
Join Date: Aug 2009
Location: Scottsdale, AZ
Device: none
Validation error

Using epubcheck 1.0.5 as provided at:

http://www.threepress.org/document/epub-validate/

I get the following error for all FileName.epub:

# ERROR: FileName.epub/titlepage.xhtml(13): bad value for attribute "preserveAspectRatio"

If I edit the line in titlepage.xhtml file which reads:

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

and remove the part that reads: viewBox="0 0 323 500" preserveAspectRatio="none" or just remove the: preserveAspectRatio="none" I am able to eliminate the error. Can anyone tell me what the effect of this is edit is?

Is there a way to stop Calibre from writing the preserveAspectRatio="none"?
rrosenwald is offline   Reply With Quote