diff options
author | Anthony Ramine <[email protected]> | 2010-12-07 11:44:43 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-11-11 11:58:43 +0100 |
commit | 3979cefe5310319d6c7a8c57111c02d5e221486f (patch) | |
tree | f2c2e81eb3997b4c6d74da09a9399d7c8aebad49 /lib/.gitignore | |
parent | 6d841684ff63ff8cc6295ea4c4461385ab594136 (diff) | |
download | otp-3979cefe5310319d6c7a8c57111c02d5e221486f.tar.gz otp-3979cefe5310319d6c7a8c57111c02d5e221486f.tar.bz2 otp-3979cefe5310319d6c7a8c57111c02d5e221486f.zip |
Support more top-level primary expressions
This change allows numbers and literals to be used as top-level primary
expressions without failing:
1> xmerl_xpath:string("3", Doc).
#xmlObj{type = number,value = 3}
2> xmerl_xpath:string("'foo'", Doc).
#xmlObj{type = string,value = "foo"}
We still need to allow arithmetic, comparative, boolean and negative
expressions, as in `xmerl_xpath_pred:expr/2`.
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions