You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Adding xerces-for-android project in Build path of Android project
2. Calling the following code:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
What is the expected output? What do you see instead?
The following exception is thrown (see the attachment for complete stack trace):
FATAL EXCEPTION: main
mf.javax.xml.parsers.FactoryConfigurationError: Provider
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found
at mf.javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:146)
Please provide any additional information below.
Changing the string in line 144 in
mf.javax.xml.parsers.DocumentBuilderFactory.java from:
"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
to:
"mf.org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
solves the problem.
Original issue reported on code.google.com by [email protected] on 25 Oct 2014 at 12:21
Original issue reported on code.google.com by
[email protected]
on 25 Oct 2014 at 12:21Attachments:
The text was updated successfully, but these errors were encountered: