View Single Post
Old 05-07-2015, 11:07 AM   #73
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,552
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Doitsu View Post
Hi Rubén,

I had a look at your file and it seems that some of the problems are caused by missing spaces before and after comments in caratula.xhtml and titulo.xhtml. After inserting spaces after the initial two hyphens and before the final two hyphens the book exports fine with the plugin and looks fine in Readium but not in ADE 4.
IMHO, this means that ADE 4 is not 100% ePub3 compatible when it comes to svg rendering.

When I checked the exported ePub3 file with the latest ePubcheck 4.x Alpha version I only got the following error messages:

Code:
WARNING(OPF-007): epub3.epub/OEBPS/content.opf(2,146): Re-declaration of reserved prefix 'rendition'.
ERROR(RSC-005): epub3.epub/OEBPS/content.opf(36,9): Error while parsing file 'element "guide" incomplete; missing required element "reference"'.
ERROR(RSC-005): epub3.epub/OEBPS/Text/autor.xhtml(14,74): Error while parsing file 'value of attribute "width" is invalid; must be an integer'.
The first warning seems to have been caused the following attribute, which other ePub3 books lack:

Code:
prefix="rendition: http://www.idpf.org/vocab/rendition/#"
The other two errors are most likely epubcheck4 bugs, because the first one is caused by an empty guide section and the last one complains about a perfectly valid attribute value.
Thank you very much Doitsu! Yes, you are right; the problem with .svg was the lack of a space after "<!--" and before "-->! in my coments. However, is like you say, ADE 4 is not 100% ePub3 compatible when it comes to svg rendering (it's incredible, because for epub2 works fine).

@Roger; I didn't forget to supress "<!--", in fact, I didn't want the rectangle

Many thanks again
Rubén
RbnJrg is online now   Reply With Quote