mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-28 22:23:21 +01:00
This commit is contained in:
parent
5109712aea
commit
56b1aff551
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ private:
|
||||||
ast = (this->*parser)(xpath);
|
ast = (this->*parser)(xpath);
|
||||||
if(!ast.full)
|
if(!ast.full)
|
||||||
throw SyntaxException(string_adaptor::asStdString(xpath));
|
throw SyntaxException(string_adaptor::asStdString(xpath));
|
||||||
|
//XPath::dump(ast.trees.begin(), 0);
|
||||||
|
|
||||||
impl::CompilationContext<string_type, string_adaptor> context(*this, getNamespaceContext(), getFunctionResolver());
|
impl::CompilationContext<string_type, string_adaptor> context(*this, getNamespaceContext(), getFunctionResolver());
|
||||||
return XPathExpressionPtr<string_type, string_adaptor>(compile_with_factory(ast.trees.begin(), context, factory));
|
return XPathExpressionPtr<string_type, string_adaptor>(compile_with_factory(ast.trees.begin(), context, factory));
|
||||||
|
|
Loading…
Reference in a new issue