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>