![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Software Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 190
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.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() 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
|
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
Tags |
epub, epubchecker, xhtml |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Errors Converting epub3 -> zip -> epub3 | Lola25 | ePub | 2 | 11-12-2013 10:37 PM |
Validation errors on epub3 sheet music document | maestroc | ePub | 9 | 11-05-2013 07:43 PM |
Confused! XHTML, HTML, HTML5, EPUB2, EPUB3??? | carlosbcg | ePub | 29 | 02-23-2013 08:32 PM |
epub3 | pbs_ebook | Writer2ePub | 1 | 05-06-2011 12:47 PM |