Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2016, 03:48 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
epubcheck error on svg file

Hi

It's a very basic svg file: just a plain backwards black arrow I made using Netscape. It triggers an EPUBCECK error (see screenshot) on line 17 (" <rdf:RDF>") that I do not understand. Somebody has a clue?

Spoiler:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.1"
   id="svg2"
   viewBox="0 0 8.6816407 13.193359"
   height="3.7234592mm"
   width="2.4501519mm">
  <defs
     id="defs4" />
  <metadata
     id="metadata7">
     <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     transform="translate(-202.99072,-422.46179)"
     id="layer1">
    <text
       id="text3336"
       y="435.21936"
       x="200"
       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17.5px;line-height:125%;font-family:LinLibertineG10;-inkscape-font-specification:'LinLibertineG10, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       xml:space="preserve"><tspan
         y="435.21936"
         x="200"
         id="tspan3338">⬇</tspan></text>
  </g>
</svg>
Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	389
Size:	14.2 KB
ID:	152395  
Attached Files
File Type: zip dessin.svg.zip (855 Bytes, 324 views)
roger64 is offline   Reply With Quote
Old 10-16-2016, 05:19 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
ePubCheck doesn't like the RDF section, which isn't supported in ePub2 and ePub3. Just remove it.

Simply delete the namespace declaration:

Code:
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
and the whole metadata section:

Code:
  <metadata
     id="metadata7">
     <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
Doitsu is offline   Reply With Quote
Advert
Old 10-16-2016, 05:49 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
@Doitsu

Thank you very much. Indeed, that did the trick.
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-validating svg with Epubcheck (Epub2) roger64 ePub 7 12-26-2014 10:02 AM
Error epubcheck Buble ePub 43 08-15-2014 01:53 AM
ePubCheck error deciphering thiefwriter Calibre 5 09-15-2011 07:37 PM
Error on epubcheck Brazz ePub 5 09-01-2011 03:17 AM
Indesign CS5 to ePub: epubcheck error gdgibson ePub 3 04-20-2011 01:26 AM


All times are GMT -4. The time now is 05:52 PM.


MobileRead.com is a privately owned, operated and funded community.