diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-01-18 15:15:41 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-01-18 15:15:41 +0100 |
commit | 608c65bb8ebfc12763aee1cc1f3778e17d71596e (patch) | |
tree | 422cbba50365fe33e34e83ff61859f23b8111417 /result | |
parent | bbb2b8f1360ee75a306a4dd1dae9e055cfe20125 (diff) | |
download | libxml2-608c65bb8ebfc12763aee1cc1f3778e17d71596e.tar.gz |
xpath: number('-') should return NaN
Fixes https://gitlab.gnome.org/GNOME/libxslt/-/issues/81
Diffstat (limited to 'result')
-rw-r--r-- | result/XPath/expr/functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/result/XPath/expr/functions b/result/XPath/expr/functions index e09eb4a4..4ff9c586 100644 --- a/result/XPath/expr/functions +++ b/result/XPath/expr/functions @@ -20,6 +20,10 @@ Expression: -number('abc') Object is a number : NaN ======================== +Expression: number('-') +Object is a number : NaN + +======================== Expression: floor(0.1) Object is a number : 0 |