[xml/sgml-pkgs] Bug#701229: epubcheck: traceback even on valid epub files
Paul Wise
pabs at debian.org
Sat Feb 23 08:03:21 UTC 2013
Package: epubcheck
Severity: normal
epubcheck prints a traceback even on valid epub files:
pabs at chianamo:~/epubcheck-1.2/testdocs/general$ epubcheck Test.epub
Epubcheck Version 1.2
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.adobe.epubcheck.ocf.OCFChecker.runChecks(OCFChecker.java:99)
at com.adobe.epubcheck.api.EpubCheck.validate(EpubCheck.java:153)
at com.adobe.epubcheck.tool.Checker.main(Checker.java:48)
Caused by: java.lang.IllegalArgumentException: invalid input for CompactParseable
at com.thaiopensource.relaxng.parse.compact.CompactParseable.makeReader(CompactParseable.java:80)
at com.thaiopensource.relaxng.parse.compact.CompactParseable.parse(CompactParseable.java:40)
at com.thaiopensource.relaxng.pattern.SchemaBuilderImpl.parse(SchemaBuilderImpl.java:76)
at com.thaiopensource.validate.rng.impl.SchemaReaderImpl.createSchema(SchemaReaderImpl.java:60)
at com.thaiopensource.validate.AbstractSchemaReader.createSchema(AbstractSchemaReader.java:13)
at com.thaiopensource.validate.schematron.SchemaReaderImpl.<init>(SchemaReaderImpl.java:87)
at com.thaiopensource.validate.schematron.SchematronSchemaReaderFactory.createSchemaReader(SchematronSchemaReaderFactory.java:18)
at com.thaiopensource.validate.SchemaReaderLoader.createSchemaReader(SchemaReaderLoader.java:19)
at com.thaiopensource.validate.auto.SchemaReaderFactorySchemaReceiverFactory.createSchemaReceiver(SchemaReaderFactorySchemaReceiverFactory.java:17)
at com.thaiopensource.validate.auto.SchemaReceiverLoader.createSchemaReceiver(SchemaReceiverLoader.java:15)
at com.thaiopensource.validate.auto.AutoSchemaReceiver$Handler.startElement(AutoSchemaReceiver.java:46)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElementAfterName(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(AutoSchemaReader.java:69)
at com.thaiopensource.validate.AbstractSchemaReader.createSchema(AbstractSchemaReader.java:13)
at com.adobe.epubcheck.xml.XMLValidator.<init>(XMLValidator.java:150)
at com.adobe.epubcheck.opf.OPFChecker.<clinit>(OPFChecker.java:52)
... 3 more
--
bye,
pabs
http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20130223/2ef690eb/attachment.pgp>
More information about the debian-xml-sgml-pkgs
mailing list