Thanks Radu! On 10/31/06, Radu Preotiuc-Pietro <[EMAIL PROTECTED]> wrote:
Actually, I need to make a correction: Saxon < 8.7.1 will still work
I don't see the XQuery error you reported, but I do see a similar error from the XPath tests. The (trivial) change below makes the tests under samples/XQueryXPath claim success with both 8.7.3 and 8.8 for me. -d Index: src/xpath_xquery/org/apache/xmlbeans/impl/xpath/saxon/XBeansXPath.java =================================================================== --- src/xpath_xquery/org/apache/xmlbeans/impl/xpath/saxon/XBeansXPath.java (revision 470119) +++ src/xpath_xquery/org/apache/xmlbeans/impl/xpath/saxon/XBeansXPath.java (working copy)@@ -101,7 +101,7 @@ xpe.setStaticContext(sc); Variable thisVar = sc.declareVariable(_contextVar); - thisVar.setValue(rootNode); + thisVar.setValue(node); XPathExpression exp = xpe.createExpression(_queryExpr); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]