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-27-2014, 10:45 AM   #1
Ramesh Arpitha
Junior Member
Ramesh Arpitha began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2014
Device: none
Epub3 XHTML Validation epub3

How can i use the epub3checker to validate single xhtml file ? Am getting below error,

I have added jing.jar and saxon.jar to classpath and workpath , how can i make this command work.

COMMAND ::: java -jar epubcheck-3.0.1.jar test.xhtml -mode xhtml -v 3.0

java.lang.NoClassDefFoundError: com/thaiopensource/validate/SchemaReaderFactory
at com.adobe.epubcheck.ops.OPSChecker.<clinit>(OPSChe cker.java:71)
at com.adobe.epubcheck.ops.OPSCheckerFactory.newInsta nce(OPSCheckerFacto
ry.java:55)
at com.adobe.epubcheck.tool.Checker.validateFile(Chec ker.java:168)
at com.adobe.epubcheck.tool.Checker.run(Checker.java: 255)
at com.adobe.epubcheck.tool.Checker.main(Checker.java :182)
Caused by: java.lang.ClassNotFoundException: com.thaiopensource.validate.SchemaR
eaderFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 5 more
Ramesh Arpitha is offline   Reply With Quote
Old 06-27-2014, 01:39 PM   #2
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,918
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Why not just use the online epubcheck?

http://validator.idpf.org/
mrmikel is offline   Reply With Quote
 
Enthusiast
Old 06-29-2014, 05:06 AM   #3
skreutzer
PublishingToolsDeveloper
skreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exerciseskreutzer juggles running chainsaws for a bit of light exercise
 
skreutzer's Avatar
 
Posts: 83
Karma: 38100
Join Date: Jan 2014
Location: Germany
Device: Only devices that support open formats!
If you only want to validate a single XHTML file, you don't need to use a EPUB validator at all, you might do a simple, ordinary XHTML file validation, for instance with the W3C validator. You can also do XHTML on your local machine with tools like XMLStarlet (internet connection required), I myself do complete XHTML offline validation in one of my tools.
skreutzer is offline   Reply With Quote
Old 06-30-2014, 04:28 AM   #4
Ramesh Arpitha
Junior Member
Ramesh Arpitha began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2014
Device: none
I want to Validate this using windows command line and deploying this application in local desktop , which may not have internet connectivity
Ramesh Arpitha is offline   Reply With Quote
Old 06-30-2014, 05:33 AM   #5
DomesticExtremis
Zealot
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 149
Karma: 319628
Join Date: Nov 2012
Device: default
Have you tried HTMLTidy?
DomesticExtremis is offline   Reply With Quote
Old 06-30-2014, 08:32 PM   #6
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 2,221
Karma: 3866786
Join Date: May 2008
Location: Launceston, Tasmania
Device: Kindle3, iPad2, Kobo Touch, Sony PRS T3, Nexus 7
I have used A Real Validator http://arealvalidator.com/ for years, and am quite happy with it. There is a one month trial version available.
AlexBell is offline   Reply With Quote
Reply

Tags
epub, epubchecker, xhtml

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Errors Converting epub3 -> zip -> epub3 Lola25 ePub 2 11-12-2013 09:37 PM
Validation errors on epub3 sheet music document maestroc ePub 9 11-05-2013 06:43 PM
Confused! XHTML, HTML, HTML5, EPUB2, EPUB3??? carlosbcg ePub 29 02-23-2013 07:32 PM
epub3 pbs_ebook Writer2ePub 1 05-06-2011 11:47 AM


All times are GMT -4. The time now is 04:54 AM.


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