aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xpath_parse.yrl
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_parse.yrl
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_parse.yrl')
-rw-r--r--lib/xmerl/src/xmerl_xpath_parse.yrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xmerl/src/xmerl_xpath_parse.yrl b/lib/xmerl/src/xmerl_xpath_parse.yrl
index 37576b9e61..f60cea0a2e 100644
--- a/lib/xmerl/src/xmerl_xpath_parse.yrl
+++ b/lib/xmerl/src/xmerl_xpath_parse.yrl
@@ -144,6 +144,7 @@ Expect 2.
%% [7]
'NodeTest' -> 'NameTest' : '$1' .
'NodeTest' -> 'node_type' '(' ')' : {node_type, value('$1')} .
+'NodeTest' -> 'processing-instruction' '(' ')' : {node_type, value('$1')} .
'NodeTest' -> 'processing-instruction' '(' 'literal' ')'
: {processing_instruction, value('$3')} .