NoSuchMethodError ----------------- Key: XMLBEANS-287 URL: http://issues.apache.org/jira/browse/XMLBEANS-287 Project: XMLBeans Issue Type: Bug Affects Versions: Version 2.2 Environment: Java 1.5.0_08; Windows NT Reporter: Neil Hornbeck
When trying to create a cursor by executing an xquery ( XmlCursor cursor = doc.newCursor().execQuery( ns + path ); ) I get: Exception in thread "main" java.lang.NoSuchMethodError: net.sf.saxon.query.DynamicQueryContext.getContextNode()Lnet/sf/saxon/om/NodeInfo; at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQuery.java:76) at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.cursorExecute(Query.java:345) at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl.cursorExecute(Query.java:243) at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331) at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839) If I look at the DynamicQueryContext class in the Saxon8.jar, the method getContextNode() is indeed missing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]