Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2013, 08:33 AM   #46
Lancelot13
Junior Member
Lancelot13 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: none
Hmm, I can't replicate the error this morning anymore. Everything is working as it should. Thanks for responding!
Lancelot13 is offline   Reply With Quote
Old 06-04-2013, 09:50 AM   #47
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Now updated to the epubcheck 3.0.1 release. See the first post of this thread for the download.
pdurrant is offline   Reply With Quote
Old 06-04-2013, 01:18 PM   #48
Lancelot13
Junior Member
Lancelot13 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: none
I'm getting this error with the new version.

"ERROR: 'Namespace for prefix 'dc' has not been declared.'
java.lang.RuntimeException: Namespace for prefix 'dc' has not been declared.
at com.thaiopensource.validate.schematron.SchemaReade rImpl.cleanupTransformerException(SchemaReaderImpl .java:453)
at com.thaiopensource.validate.schematron.SchemaReade rImpl.cleanupSAXException(SchemaReaderImpl.java:42 2)
at com.thaiopensource.validate.schematron.SchemaReade rImpl.createSchema(SchemaReaderImpl.java:388)
at com.thaiopensource.validate.auto.SchemaReaderSchem aReceiver$1.reparse(SchemaReaderSchemaReceiver.jav a:25)
at com.thaiopensource.validate.auto.AutoSchemaReader. createSchema(AutoSchemaReader.java:75)
at com.thaiopensource.validate.AbstractSchemaReader.c reateSchema(AbstractSchemaReader.java:13)
at com.adobe.epubcheck.xml.XMLValidator.<init>(XMLVal idator.java:165)
at com.adobe.epubcheck.opf.OPFChecker.<init>(OPFCheck er.java:61)
at com.adobe.epubcheck.ocf.OCFChecker.runChecks(OCFCh ecker.java:200)
at com.adobe.epubcheck.api.EpubCheck.validate(EpubChe ck.java:206)
at com.adobe.epubcheck.tool.Checker.validateFile(Chec ker.java:171)
at com.adobe.epubcheck.tool.Checker.run(Checker.java: 227)
at com.adobe.epubcheck.tool.Checker.main(Checker.java :181)
Caused by: java.lang.RuntimeException: Namespace for prefix 'dc' has not been declared.
at com.sun.org.apache.xml.internal.serializer.Seriali zerBase.getNamespaceURI(SerializerBase.java:895)
at com.sun.org.apache.xml.internal.serializer.Seriali zerBase.addAttribute(SerializerBase.java:422)
at GregorSamsa.template$dot$0()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.Ab stractTranslet.transform(AbstractTranslet.java:605 )
at com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:725)
at com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:336)
at com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerHandlerImpl.endDocument(TransformerHandlerIm pl.java:238)
at com.thaiopensource.validate.schematron.IfValidHand ler.endDocument(IfValidHandler.java:55)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.endDocument(AbstractSAXParser.java:737)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanDocument(XMLDocumentFragm entScannerImpl.java:516)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at com.thaiopensource.validate.schematron.SchemaReade rImpl.createSchema(SchemaReaderImpl.java:372)
... 10 more
java.lang.Error: Internal error: java.lang.RuntimeException: Namespace for prefix 'dc' has not been declared. schema/20/sch/opf.sch
at com.adobe.epubcheck.xml.XMLValidator.<init>(XMLVal idator.java:171)
at com.adobe.epubcheck.opf.OPFChecker.<init>(OPFCheck er.java:61)
at com.adobe.epubcheck.ocf.OCFChecker.runChecks(OCFCh ecker.java:200)
at com.adobe.epubcheck.api.EpubCheck.validate(EpubChe ck.java:206)
at com.adobe.epubcheck.tool.Checker.validateFile(Chec ker.java:171)
at com.adobe.epubcheck.tool.Checker.run(Checker.java: 227)
at com.adobe.epubcheck.tool.Checker.main(Checker.java :181)"
Lancelot13 is offline   Reply With Quote
Old 06-04-2013, 02:14 PM   #49
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Oh. That's peculiar. I can reproduce, but I'm not sure why at the moment. I'll double-check the command line parameters.
pdurrant is offline   Reply With Quote
Old 06-04-2013, 02:23 PM   #50
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
No, it was an even more elementary error (I forgot to update the script!). Now fixed. Thanks for the report.
pdurrant is offline   Reply With Quote
Old 06-07-2013, 05:48 AM   #51
Diegnum
Junior Member
Diegnum began at the beginning.
 
Diegnum's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2012
Device: None
Thank you for the update. Your GUI is very useful for non technical users !!

By the way I can also translate to spanish if you could just provide me a text file of all the text strings to tranlsate ?

Last edited by Diegnum; 06-07-2013 at 05:53 AM.
Diegnum is offline   Reply With Quote
Old 06-07-2013, 06:22 AM   #52
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by Diegnum View Post
Thank you for the update. Your GUI is very useful for non technical users !!

By the way I can also translate to spanish if you could just provide me a text file of all the text strings to tranlsate ?
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>The error log has been saved as </key>
	<string>The error log has been saved as </string>
	<key> in the same folder as the ePub </key>
	<string> in the same folder as the ePub </string>
	<key>No problems found in </key>
	<string>No problems found in </string>
	<key>•                                                       OK                                                       •</key>
	<string>•                                                       OK                                                       •</string>
	<key>You may choose a folder of ePubs to check, or a single ePub.</key>
	<string>You may choose a folder of ePubs to check, or a single ePub.</string>
	<key>Cancel</key>
	<string>Cancel</string>
	<key>Choose Folder</key>
	<string>Choose Folder</string>
	<key>Please choose the folder of ePubs to be Checked.</key>
	<string>Please choose the folder of ePubs to be Checked.</string>
	<key>Choose ePub</key>
	<string>Choose ePub</string>
	<key>Please choose the ePub to be Checked.</key>
	<string>Please choose the ePub to be Checked.</string>
</dict>
</plist>
The strings to translate are the ones inside the <string>...<string> tags

I found I haven't been keeping the translations up to date. Whoops. If anyone wants to contribute other translations please do so.

Last edited by pdurrant; 06-07-2013 at 06:34 AM.
pdurrant is offline   Reply With Quote
Old 10-17-2013, 01:16 PM   #53
handebooks
Junior Member
handebooks began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2011
Device: Kindle, iPad, iPhone
This is a lifesaver! Thanks so much.
handebooks is offline   Reply With Quote
Old 10-18-2013, 05:48 AM   #54
Diegnum
Junior Member
Diegnum began at the beginning.
 
Diegnum's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2012
Device: None
@pdurrant

Sorry for the delay on my answer But it's better late than never, right ?

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>The error log has been saved as </key>
	<string>El log de error fue salvado como </string>
	<key> in the same folder as the ePub </key>
	<string> en la misma carpeta que el ePub </string>
	<key>No problems found in </key>
	<string>Ningun problema detectado en </string>
	<key>•                                                       OK                                                       •</key>
	<string>•                                                       OK                                                       •</string>
	<key>You may choose a folder of ePubs to check, or a single ePub.</key>
	<string>Puede seleccionar una carpeta con varios ePubs para verificar, o puede seleccionar un solo ePub.</string>
	<key>Cancel</key>
	<string>Cancelar</string>
	<key>Choose Folder</key>
	<string>Seleccione una carpeta</string>
	<key>Please choose the folder of ePubs to be Checked.</key>
	<string>Por favor seleccione la carpeta que contiene los ePubs a verificar.</string>
	<key>Choose ePub</key>
	<string>Seleccione un ePub</string>
	<key>Please choose the ePub to be Checked.</key>
	<string>Por favor seleccione el ePub a verificar.</string>

Last edited by Diegnum; 10-18-2013 at 06:15 AM.
Diegnum is offline   Reply With Quote
Old 10-18-2013, 06:01 AM   #55
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by Diegnum View Post
@pdurrant

Sorry for the delay on my answer But it's better late than never, right ?

Thanks! I'll try to get an updated version done tonight.
pdurrant is offline   Reply With Quote
Old 11-26-2013, 10:26 AM   #56
tranceplante
Junior Member
tranceplante began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: epub
Awesome post, thank you

I love those little .app

very useful.

Merci From Canada
tranceplante is offline   Reply With Quote
Old 01-31-2014, 03:04 PM   #57
pssquirrel
ebooknut
pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.
 
pssquirrel's Avatar
 
Posts: 205
Karma: 573170
Join Date: Oct 2011
Device: Sony T2 & T1 (previously PRS-350)
Thanks so much for this applet! Very useful!

Last edited by pssquirrel; 02-03-2014 at 10:50 PM.
pssquirrel is offline   Reply With Quote
Old 06-30-2014, 03:25 PM   #58
eBookLuke
Writer2ePub creator
eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.
 
eBookLuke's Avatar
 
Posts: 341
Karma: 106889
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Doesn't works with OSX Mavericks

Hi,

doesn't works (anymore) under Mavericks, starts and close immediately after choosing ePub

Moreover, here the Italian translation

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//IT" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Problems found in </key>
	<string>Problemi trovati in </string>
	<key>•                                                       OK                                                       •</key>
	<string>•.                                                       OK                                                      .•</string>
	<key>The error log has been saved as </key>
	<string>L&apos;error log è stato salvato come </string>
	<key> in the same folder as the ePub </key>
	<string> nella stessa cartella dell&apos;ePub </string>
	<key>epubcheck 3.0b5 found no errors.</key>
	<string>epubcheck 3.0b5 non ha trovato errori.</string>
	<key>No problems found in </key>
	<string>Nessun problema trovato in </string>
	<key>Please choose the folder of ePubs to be Checked.</key>
	<string>Scegli la cartella degli ePub da controllare.</string>
	<key>Please choose the ePub to be Checked.</key>
	<string>Scegli l&apos;ePub da controllare.</string>
	<key>Run Prompt</key>
	<string>Puoi scegliere un singolo ePub da controllare, o un&apos;intera cartella.</string>
	<key>Choose Folder</key>
	<string>Scegli la cartella</string>
	<key>Choose ePub</key>
	<string>Scegli l&apos;ePub</string>
	<key>Cancel</key>
	<string>Annulla</string>
</dict>
</plist>
Luke
eBookLuke is offline   Reply With Quote
Old 06-30-2014, 11:56 PM   #59
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: 37,084
Karma: 18147936
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by eBookLuke View Post
Hi,

doesn't works (anymore) under Mavericks, starts and close immediately after choosing ePub
epubckeck 3.0b5 is not the latest version of epubcheck. Version 3.0.1 is the current version. You are running an old version and that might be the problem. In the first message of this thread is the latest version of the app that contains epubcheck 3.0.1. If that doesn't work, then please let pdurrant know that it is not working.

Last edited by JSWolf; 07-01-2014 at 02:49 PM.
JSWolf is offline   Reply With Quote
Old 07-01-2014, 07:37 AM   #60
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,723
Karma: 87832072
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by eBookLuke View Post
Hi,

doesn't works (anymore) under Mavericks, starts and close immediately after choosing ePub

Moreover, here the Italian translation
Thanks for the Italian translation. As Job says, try the 3.0.1 version. Also check the permissions you've got set for running applications. I'm not sure how Mavericks handles an AppleScript running the epubcheck application, and a permission error may well be the problem.
pdurrant is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub date error fails epubcheck 1.05 dkata Calibre 2 09-13-2010 04:21 AM
epubcheck bugs? capidamonte ePub 2 06-13-2010 07:38 AM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM
epubcheck GeoffC ePub 3 11-03-2009 04:26 AM
Adobe EpubCheck to validate Epub documents Alexander Turcic News 11 12-29-2007 08:07 PM


All times are GMT -4. The time now is 02:16 AM.


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