Does MOE support XPath

We have a custom jar which has XPath in its implementation. when we run this project in IOS with MOE, it give runtime error

Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
	at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:76)
	at com.custom.base.util.XMLObject.<clinit>(SourceFile:54)

We have tried Xalan, Xerces, and jaxp but nothing really solved this problem.
Does moe support XPath and has anyone successfully implemented XPath in their MOE application.

Try keep everything from those libraries in proguard.

moeLog.log (71.0 KB)

we tried to add all of the above libraries and got compile time error. I have attached build log

Could you provide a sample project for this issue?

Following is the MuseumMap sample project from MOE sample repo. The only change i did was to include jaxp.jar in the dependency. As mentioned before i get MOE compile time error and the log has been already added in the thread.
Link to the Project:

Try xalan-j instead of the full jaxp jar.
http://mirror.intergrid.com.au/apache/xalan/xalan-j/binaries/xalan-j_2_7_2-bin.zip
And use xalan.jar in the archive.

Hi i Tried All the libraries that were part of the zip you provided(Individually and collectively adding them as dependencies). i was able to pass the MOE build error but failed to create XpathFactory for the default object model.

The problem is same as before. The xpathfactory implementation was not found in any of the jars.

Below is the log related to the issue.

Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
	at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:76)
	at com.binfer.base.util.XMLObject.<clinit>(SourceFile:54)
	... 11 more

Were you successfully able to create a object and did not get the error I’m facing. Our app loads an xml document and uses xpath to find data in it.