-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javax.xml.parsers.ParserConfigurationException #16
Comments
Hello,
|
Android sdk (api-23) uses this method for setFeature:
As this states, android throws exception for all other features other than namespace and validation. |
Same problem here. I'm getting the same error with the sample app provided EpubParser-Sample-Android-Application. |
It looks like Android SDK DocumentBuilderFactory cannot support these two features As these features are used for document validation maybe they are not mandatory ? anyway they are not supported on API 25. |
I tried to use the library according to the guideline on the GitHub page
The first problem I got is that there is no class called Book.
The fifth line of code in the Usage section tries to create a Book object from
reader.readSection
. I thought maybe you meant to sayBookSection
so I replaced it.And further into the code
reader.setFullContent(epubFilePath);
throws the following exception. (I have put the complete stack trace)What I understood while debugging is that the
DocumentBuilderFactoryImpl
class throwsParserConfigurationException
if instance ofDocumentBuilderFactoryImpl
calls setFeature with names different fromhttp://xml.org/sax/features/namespaces
andhttp://xml.org/sax/features/validation
Is there a problem with my android depedencies?
The text was updated successfully, but these errors were encountered: