aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xpath_lib.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-11-11 12:10:35 +0100
committerLars Thorsen <[email protected]>2011-11-11 12:10:35 +0100
commit9151895daf12ddce320a3abe8d9d67200a86af11 (patch)
treed8ef0bf3b9c3be19f5569920793f2e3443ce9ee4 /lib/xmerl/src/xmerl_xpath_lib.erl
parentedf830a338e78cfe88eee181b1e60a5f3f6b671b (diff)
parent5b2375ff231353c059a340d95b317d998df279fc (diff)
downloadotp-9151895daf12ddce320a3abe8d9d67200a86af11.tar.gz
otp-9151895daf12ddce320a3abe8d9d67200a86af11.tar.bz2
otp-9151895daf12ddce320a3abe8d9d67200a86af11.zip
Merge branch 'nox/xmerl-namespace-axis/OTP-9664'
* nox/xmerl-namespace-axis/OTP-9664: Fix bugs and add a flag to skip comments Implement namespace axis Add `#xmlPI` support to xmerl_xpath:write_node/1 Fix processing-instruction(name?) Fix path filters Support more top-level primary expressions Accumulate comments in element nodes Add `default_attrs` option Allow whole documents to be returned Track parents and namespace in `#xmlAttribute` nodes Track parents in `#xmlPI` nodes Set `vsn` field in `#xmlDecl` record Fix namespace-conformance constraints
Diffstat (limited to 'lib/xmerl/src/xmerl_xpath_lib.erl')
-rw-r--r--lib/xmerl/src/xmerl_xpath_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_xpath_lib.erl b/lib/xmerl/src/xmerl_xpath_lib.erl
index cfd0e36667..096f54ec30 100644
--- a/lib/xmerl/src/xmerl_xpath_lib.erl
+++ b/lib/xmerl/src/xmerl_xpath_lib.erl
@@ -49,5 +49,7 @@ primary_expr({function_call, F, Args}, C) ->
%% here, we should look up the function in the context provided
%% by the caller, but we haven't figured this out yet.
exit({not_a_core_function, F})
- end.
+ end;
+primary_expr(PrimExpr, _C) ->
+ exit({primary_expression, {not_implemented, PrimExpr}}).