This commit is contained in:
jez 2006-08-01 20:34:34 +00:00
parent 5109712aea
commit 56b1aff551

View file

@ -127,6 +127,7 @@ private:
ast = (this->*parser)(xpath);
if(!ast.full)
throw SyntaxException(string_adaptor::asStdString(xpath));
//XPath::dump(ast.trees.begin(), 0);
impl::CompilationContext<string_type, string_adaptor> context(*this, getNamespaceContext(), getFunctionResolver());
return XPathExpressionPtr<string_type, string_adaptor>(compile_with_factory(ast.trees.begin(), context, factory));