Thanks for the response. It appears that it is a known issues with GAE, as seen here: http://code.google.com/p/googleappengine/issues/detail?id=1255&q=xpath&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component
Unfortunately, customers of GAE don't have access to the endorsed directory. :) thanks again, dave ----- Original Message ----- From: Michael Glavassevich To: xalan-j-users@xml.apache.org Sent: Sunday, April 26, 2009 3:20 PM Subject: Re: [OT] Xalan and Google App Engine Perhaps you're hitting this bug [1][2] in the JDK. If so, putting the JAXP 1.3 xml-apis.jar from Xalan (or Xerces) in the endorsed directory should solve it. [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202043 [2] http://markmail.org/message/rvlroblxyza3xt3v Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org "Dave Brosius" <dbros...@mebigfatguy.com> wrote on 04/21/2009 09:49:23 AM: > I realize that this is probably a google app engine (GAE) issue, but > i thought i'd float it by you smart folks, as i'm guessing you will > have a better guess. > > > I built a google web app that requires XPath. Unfortunately GAE > apparently doesn't have support for xpath, and so i added xalan.jar, > serializer.jar etc to my > WEB-INF/lib. When I run, i get an exception with the pertainent parts being: > > 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(Unknown Source) > > I tried adding a META-INF/services/javax.xml.xpath.XPathFactory file > that referred to org.apache.xpath.jaxp.XPathFactoryImpl > but that didn't seem to make a difference. > Anyone know how i can get GAE to notice XPath as the provider for XPath?