![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Non-validating svg with Epubcheck (Epub2)
Hi
I have a very basic svg image, saved as a simple svg on one EPUB2. The Calibre editor is happy about it, but Epubcheck 3.0.1. tells me that the following elements "are not allowed" Code:
inkscape:label inkscape:version inkscape:groupmode sodipodi:namedview sodipodi:docname "rdf:RDF" I could erase them using the XML editor of Inkscape, but I wonder... If I do nothing, will the EPUB be displayed worldwide without problems? ![]() |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
You need to show your code...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Here it is
![]() https://mega.co.nz/#!RUtHFAbZ!DbXMr4...86S0dqG6yKxRr4 it's called fumer.svg (29k) I tried to insert it in an EPUB with an object tag. It displays well in Calibre but Epubcheck protests loudly. |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
inkscape:* and sodipodi:* properties are specific for inkscape (a successor of sodipodi), their presence should not make the files invalid and most renderers will just ignore them. If you remove them, some inkscape features may not work as expected and inkscape may add them again.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,679
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Hi Roger;
Open that .svg image in Inkscape and after that save it as "plain svg". That should fix your issue. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
![]() Code:
LOflottant.epub/OEBPS/images/fumer2.svg(18,14): element "rdf:RDF" not allowed anywhere; expected the element end-tag or text ![]() |
|
![]() |
![]() |
![]() |
#7 |
temp. out of service
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,815
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
'SVG minification' is the keyword for your happiness :)
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
svg minification |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB2 and the DOCTYPEgate | roger64 | ePub | 21 | 07-18-2014 07:49 PM |
Validating PDFs | Fiat_Lux | 1 | 08-29-2013 11:05 PM | |
refined metadata in epub2? | mzmm | ePub | 2 | 11-14-2012 01:52 PM |
JAVASCRIPT support in ePub2/ePub3 | Raja1205 | ePub | 7 | 09-03-2012 06:48 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |