From: Wolfgang M. M. <wol...@us...> - 2004-04-16 14:45:02
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmldb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16385/src/org/exist/xmldb Modified Files: LocalXPathQueryService.java Log Message: XQuery parser failed to correctly parse logical operators with complex operands. Index: LocalXPathQueryService.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/LocalXPathQueryService.java,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** LocalXPathQueryService.java 14 Apr 2004 12:17:22 -0000 1.36 --- LocalXPathQueryService.java 16 Apr 2004 14:44:22 -0000 1.37 *************** *** 228,232 **** AST ast = parser.getAST(); ! PathExpr expr = new PathExpr(context); treeParser.xpath(ast, expr); --- 228,232 ---- AST ast = parser.getAST(); ! //LOG.debug("AST: " + ast.toStringTree()); PathExpr expr = new PathExpr(context); treeParser.xpath(ast, expr); *************** *** 238,241 **** --- 238,242 ---- } LOG.debug("compilation took " + (System.currentTimeMillis() - start)); + //LOG.debug("query:\n " + expr.pprint()); return expr; } catch (EXistException e) { |