Register Guidelines E-Books Today's Posts Search

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
Color me gone
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: 2,089
Karma: 1445295
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
Advert
Old 06-29-2014, 05:06 AM   #3
skreutzer
Software Developer
skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.
 
skreutzer's Avatar
 
Posts: 189
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
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
Addict
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: 243
Karma: 359054
Join Date: Nov 2012
Device: default
Have you tried HTMLTidy?
DomesticExtremis is offline   Reply With Quote
Advert
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: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
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


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 09:35 PM.


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