PROBLEM:
Cannot run 1.2 test suite
METHOD:
$ java -cp
../dist/epubcheck-1.2.jar:/usr/share/java/jing.jar:/usr/share/java/saxon.jar
com.adobe.epubcheck.autotest.AutoTest ./general/tests.xml ./general/
start
./general/PageMap.epub
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.autotest.AutoTestContentHandler.endElement(AutoTestContentHandler.java:124)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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.adobe.epubcheck.autotest.AutoTest.parse(AutoTest.java:63)
at com.adobe.epubcheck.autotest.AutoTest.main(AutoTest.java:87)
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)
... 14 more
Original issue reported on code.google.com by mathieu.malaterre on 17 Feb 2013 at 5:00
Original issue reported on code.google.com by
mathieu.malaterre
on 17 Feb 2013 at 5:00