View Single Post
Old 10-10-2010, 09:26 AM   #24
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: 73,675
Karma: 128176798
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I just ran FlightCrew get the following error that I have no idea how to fix...

Quote:
element 'svg' is not allowed for content model '(p|h1|h2|h3|h4|h5|h6|div|ul|ol|dl|pre|hr|blockquo te|address|fieldset|table|switch|form|noscript|ins |del|script)'
the code it refers to is ...

Code:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" version="1.1" viewBox="0 0 470 800" width="100%">
	<rect fill="#000007" height="100%" width="470" x="0" y="0"/>
	<image height="800" transform="translate(0 0)" width="510" xlink:href="MSRCover.jpg"/>
</svg>
Now the ePub fully validates.

Just fixed the problem. The solution is...

Code:
<div><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" version="1.1" viewBox="0 0 470 800" width="100%">
	<rect fill="#000007" height="100%" width="470" x="0" y="0"/>
	<image height="800" transform="translate(0 0)" width="510" xlink:href="MSRCover.jpg"/>
</svg></div>

Last edited by JSWolf; 10-10-2010 at 09:32 AM.
JSWolf is offline   Reply With Quote