diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 20:57:20 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 20:57:20 (GMT) |
commit | 5720be2a1ff34bf88992db24716f1e489a745e01 (patch) | |
tree | 459fb7d1a9611f563e3000386df5cb7cdf506916 /libxml2/result/XPath/expr | |
parent | abe7ce3988e8ba12f6bdb311c576e275435de21d (diff) | |
download | blt-5720be2a1ff34bf88992db24716f1e489a745e01.zip blt-5720be2a1ff34bf88992db24716f1e489a745e01.tar.gz blt-5720be2a1ff34bf88992db24716f1e489a745e01.tar.bz2 |
local fork libxml2
Diffstat (limited to 'libxml2/result/XPath/expr')
-rw-r--r-- | libxml2/result/XPath/expr/base | 28 | ||||
-rw-r--r-- | libxml2/result/XPath/expr/compare | 184 | ||||
-rw-r--r-- | libxml2/result/XPath/expr/equality | 104 | ||||
-rw-r--r-- | libxml2/result/XPath/expr/floats | 244 | ||||
-rw-r--r-- | libxml2/result/XPath/expr/functions | 100 | ||||
-rw-r--r-- | libxml2/result/XPath/expr/strings | 136 |
6 files changed, 0 insertions, 796 deletions
diff --git a/libxml2/result/XPath/expr/base b/libxml2/result/XPath/expr/base deleted file mode 100644 index e04346f..0000000 --- a/libxml2/result/XPath/expr/base +++ /dev/null @@ -1,28 +0,0 @@ - -======================== -Expression: 1 -Object is a number : 1 - -======================== -Expression: 1+2 -Object is a number : 3 - -======================== -Expression: 2*3 -Object is a number : 6 - -======================== -Expression: 1+2*3+4 -Object is a number : 11 - -======================== -Expression: (1+2)*(3+4) -Object is a number : 21 - -======================== -Expression: 1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1 -Object is a number : 21 - -======================== -Expression: self::-name -Object is empty (NULL) diff --git a/libxml2/result/XPath/expr/compare b/libxml2/result/XPath/expr/compare deleted file mode 100644 index 21a88d0..0000000 --- a/libxml2/result/XPath/expr/compare +++ /dev/null @@ -1,184 +0,0 @@ - -======================== -Expression: 0<0 -Object is a Boolean : false - -======================== -Expression: 0<=0 -Object is a Boolean : true - -======================== -Expression: 0>0 -Object is a Boolean : false - -======================== -Expression: 0>=0 -Object is a Boolean : true - -======================== -Expression: 0<1 -Object is a Boolean : true - -======================== -Expression: 0<=1 -Object is a Boolean : true - -======================== -Expression: 0>1 -Object is a Boolean : false - -======================== -Expression: 0>=1 -Object is a Boolean : false - -======================== -Expression: 1<0 -Object is a Boolean : false - -======================== -Expression: 1<=0 -Object is a Boolean : false - -======================== -Expression: 1>0 -Object is a Boolean : true - -======================== -Expression: 1>=0 -Object is a Boolean : true - -======================== -Expression: 1<1 -Object is a Boolean : false - -======================== -Expression: 1<=1 -Object is a Boolean : true - -======================== -Expression: 1>1 -Object is a Boolean : false - -======================== -Expression: 1>=1 -Object is a Boolean : true - -======================== -Expression: '0'<1 -Object is a Boolean : true - -======================== -Expression: '0'<=1 -Object is a Boolean : true - -======================== -Expression: '0'>1 -Object is a Boolean : false - -======================== -Expression: '0'>=1 -Object is a Boolean : false - -======================== -Expression: 0<'1.2' -Object is a Boolean : true - -======================== -Expression: 0<='1.2' -Object is a Boolean : true - -======================== -Expression: 0>'1.2' -Object is a Boolean : false - -======================== -Expression: 0>='1.2' -Object is a Boolean : false - -======================== -Expression: 0<'-0.2' -Object is a Boolean : false - -======================== -Expression: 0<='-0.2' -Object is a Boolean : false - -======================== -Expression: 0>'-0.2' -Object is a Boolean : true - -======================== -Expression: 0>='-0.2' -Object is a Boolean : true - -======================== -Expression: false()<1 -Object is a Boolean : true - -======================== -Expression: false()<=1 -Object is a Boolean : true - -======================== -Expression: 0>true() -Object is a Boolean : false - -======================== -Expression: 0>=true() -Object is a Boolean : false - -======================== -Expression: 'a' > 'a' -Object is a Boolean : false - -======================== -Expression: 'a' > 'b' -Object is a Boolean : false - -======================== -Expression: 'b' > 'a' -Object is a Boolean : false - -======================== -Expression: 'a' < 'a' -Object is a Boolean : false - -======================== -Expression: 'a' < 'b' -Object is a Boolean : false - -======================== -Expression: 'b' < 'a' -Object is a Boolean : false - -======================== -Expression: 'a' >= 'a' -Object is a Boolean : false - -======================== -Expression: 'a' >= 'b' -Object is a Boolean : false - -======================== -Expression: 'b' >= 'a' -Object is a Boolean : false - -======================== -Expression: 'a' <= 'a' -Object is a Boolean : false - -======================== -Expression: 'a' <= 'b' -Object is a Boolean : false - -======================== -Expression: 'b' <= 'a' -Object is a Boolean : false - -======================== -Expression: 'a' > '0.0' -Object is a Boolean : false - -======================== -Expression: 'a' < '0.0' -Object is a Boolean : false diff --git a/libxml2/result/XPath/expr/equality b/libxml2/result/XPath/expr/equality deleted file mode 100644 index 44b4c22..0000000 --- a/libxml2/result/XPath/expr/equality +++ /dev/null @@ -1,104 +0,0 @@ - -======================== -Expression: 1=1 -Object is a Boolean : true - -======================== -Expression: 1!=1 -Object is a Boolean : false - -======================== -Expression: 1=0 -Object is a Boolean : false - -======================== -Expression: 1!=0 -Object is a Boolean : true - -======================== -Expression: true()=true() -Object is a Boolean : true - -======================== -Expression: true()!=true() -Object is a Boolean : false - -======================== -Expression: true()=false() -Object is a Boolean : false - -======================== -Expression: false()!=true() -Object is a Boolean : true - -======================== -Expression: 'test'='test' -Object is a Boolean : true - -======================== -Expression: 'test'!='test' -Object is a Boolean : false - -======================== -Expression: 'test2'='test' -Object is a Boolean : false - -======================== -Expression: 'test2'!='test' -Object is a Boolean : true - -======================== -Expression: false()=0 -Object is a Boolean : true - -======================== -Expression: false()!=0 -Object is a Boolean : false - -======================== -Expression: false()=1 -Object is a Boolean : false - -======================== -Expression: false()!=1 -Object is a Boolean : true - -======================== -Expression: 0=true() -Object is a Boolean : false - -======================== -Expression: 0!=true() -Object is a Boolean : true - -======================== -Expression: 1=true() -Object is a Boolean : true - -======================== -Expression: 1!=true() -Object is a Boolean : false - -======================== -Expression: true()='test' -Object is a Boolean : true - -======================== -Expression: false()='test' -Object is a Boolean : false - -======================== -Expression: 'test'!=true() -Object is a Boolean : false - -======================== -Expression: 'test'!=false() -Object is a Boolean : true - -======================== -Expression: 'a'=0.0 -Object is a Boolean : false - -======================== -Expression: 'a'!=0.0 -Object is a Boolean : true diff --git a/libxml2/result/XPath/expr/floats b/libxml2/result/XPath/expr/floats deleted file mode 100644 index b6255ce..0000000 --- a/libxml2/result/XPath/expr/floats +++ /dev/null @@ -1,244 +0,0 @@ - -======================== -Expression: 1 -Object is a number : 1 - -======================== -Expression: 123 -Object is a number : 123 - -======================== -Expression: 1.23 -Object is a number : 1.23 - -======================== -Expression: 0.123 -Object is a number : 0.123 - -======================== -Expression: 4. -Object is a number : 4 - -======================== -Expression: .4 -Object is a number : 0.4 - -======================== -Expression: 1.23e3 -Object is a number : 1230 - -======================== -Expression: 1.23e-3 -Object is a number : 0.00123 - -======================== -Expression: 1 div 0 -Object is a number : Infinity - -======================== -Expression: -1 div 0 -Object is a number : -Infinity - -======================== -Expression: 0 div 0 -Object is a number : NaN - -======================== -Expression: 1 div -0 -Object is a number : -Infinity - -======================== -Expression: (1 div 0) > 0 -Object is a Boolean : true - -======================== -Expression: (1 div 0) < 0 -Object is a Boolean : false - -======================== -Expression: (-1 div 0) > 0 -Object is a Boolean : false - -======================== -Expression: (-1 div 0) < 0 -Object is a Boolean : true - -======================== -Expression: (0 div 0) > 0 -Object is a Boolean : false - -======================== -Expression: (0 div 0) < 0 -Object is a Boolean : false - -======================== -Expression: (1 div -0) > 0 -Object is a Boolean : false - -======================== -Expression: (1 div -0) < 0 -Object is a Boolean : true - -======================== -Expression: 0 div 0 = 0 div 0 -Object is a Boolean : false - -======================== -Expression: 0 div 0 != 0 div 0 -Object is a Boolean : true - -======================== -Expression: 0 div 0 > 0 div 0 -Object is a Boolean : false - -======================== -Expression: 0 div 0 < 0 div 0 -Object is a Boolean : false - -======================== -Expression: 0 div 0 >= 0 div 0 -Object is a Boolean : false - -======================== -Expression: 0 div 0 <= 0 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 = -1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 != -1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div 0 > -1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div 0 < -1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 >= -1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div 0 <= -1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 = 1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div 0 != 1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 > 1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 < 1 div 0 -Object is a Boolean : false - -======================== -Expression: 1 div 0 >= -1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div 0 <= -1 div 0 -Object is a Boolean : false - -======================== -Expression: -2 div 0 = -1 div 0 -Object is a Boolean : true - -======================== -Expression: 1 div floor(0.1) -Object is a number : Infinity - -======================== -Expression: 1 div floor(-0.1) -Object is a number : -1 - -======================== -Expression: 1 div floor(-0) -Object is a number : -Infinity - -======================== -Expression: 1 div floor(0) -Object is a number : Infinity - -======================== -Expression: 1 div ceiling(0.1) -Object is a number : 1 - -======================== -Expression: 1 div ceiling(-0.1) -Object is a number : -Infinity - -======================== -Expression: 1 div ceiling(-0) -Object is a number : -Infinity - -======================== -Expression: 1 div ceiling(0) -Object is a number : Infinity - -======================== -Expression: 1 div round(0.1) -Object is a number : Infinity - -======================== -Expression: 1 div round(-0.1) -Object is a number : -Infinity - -======================== -Expression: 1 div round(-0) -Object is a number : -Infinity - -======================== -Expression: 1 div round(0) -Object is a number : Infinity - -======================== -Expression: 1 div number('f') -Object is a number : NaN - -======================== -Expression: number('f') div 1 -Object is a number : NaN - -======================== -Expression: 1 div (1 div 0) -Object is a number : 0 - -======================== -Expression: (1 div 0) div 1 -Object is a number : Infinity - -======================== -Expression: -(1 div 0) div 1 -Object is a number : -Infinity - -======================== -Expression: 5 mod 2 -Object is a number : 1 - -======================== -Expression: 5 mod -2 -Object is a number : 1 - -======================== -Expression: -5 mod 2 -Object is a number : -1 - -======================== -Expression: -5 mod -2 -Object is a number : -1 - -======================== -Expression: 8 mod 3 = 2 -Object is a Boolean : true diff --git a/libxml2/result/XPath/expr/functions b/libxml2/result/XPath/expr/functions deleted file mode 100644 index 10cc27e..0000000 --- a/libxml2/result/XPath/expr/functions +++ /dev/null @@ -1,100 +0,0 @@ - -======================== -Expression: true() -Object is a Boolean : true - -======================== -Expression: false() -Object is a Boolean : false - -======================== -Expression: number("1.5") -Object is a number : 1.5 - -======================== -Expression: number('abc') -Object is a number : NaN - -======================== -Expression: -number('abc') -Object is a number : NaN - -======================== -Expression: floor(0.1) -Object is a number : 0 - -======================== -Expression: floor(-0.1) -Object is a number : -1 - -======================== -Expression: floor(-0) -Object is a number : 0 - -======================== -Expression: floor(0) -Object is a number : 0 - -======================== -Expression: floor(5.2) -Object is a number : 5 - -======================== -Expression: floor(-5.2) -Object is a number : -6 - -======================== -Expression: ceiling(0.1) -Object is a number : 1 - -======================== -Expression: ceiling(-0.1) -Object is a number : 0 - -======================== -Expression: ceiling(-0) -Object is a number : 0 - -======================== -Expression: ceiling(0) -Object is a number : 0 - -======================== -Expression: ceiling(5.2) -Object is a number : 6 - -======================== -Expression: ceiling(-5.2) -Object is a number : -5 - -======================== -Expression: round(0.1) -Object is a number : 0 - -======================== -Expression: round(5.2) -Object is a number : 5 - -======================== -Expression: round(5.5) -Object is a number : 6 - -======================== -Expression: round(5.6) -Object is a number : 6 - -======================== -Expression: round(-0.1) -Object is a number : 0 - -======================== -Expression: round(-5.2) -Object is a number : -5 - -======================== -Expression: round(-5.5) -Object is a number : -5 - -======================== -Expression: round(-5.6) -Object is a number : -6 diff --git a/libxml2/result/XPath/expr/strings b/libxml2/result/XPath/expr/strings deleted file mode 100644 index fad7048..0000000 --- a/libxml2/result/XPath/expr/strings +++ /dev/null @@ -1,136 +0,0 @@ - -======================== -Expression: string(5) -Object is a string : 5 - -======================== -Expression: string(0.5) -Object is a string : 0.5 - -======================== -Expression: string(-0.5) -Object is a string : -0.5 - -======================== -Expression: string(true()) -Object is a string : true - -======================== -Expression: string(false()) -Object is a string : false - -======================== -Expression: concat("titi","toto") -Object is a string : tititoto - -======================== -Expression: concat("titi","toto","tata") -Object is a string : tititototata - -======================== -Expression: concat("titi",'toto') -Object is a string : tititoto - -======================== -Expression: concat("titi",'toto',"tata","last") -Object is a string : tititototatalast - -======================== -Expression: starts-with("tititoto","titi") -Object is a Boolean : true - -======================== -Expression: starts-with("tititoto","to") -Object is a Boolean : false - -======================== -Expression: contains("tititototata","titi") -Object is a Boolean : true - -======================== -Expression: contains("tititototata","toto") -Object is a Boolean : true - -======================== -Expression: contains("tititototata","tata") -Object is a Boolean : true - -======================== -Expression: contains("tititototata","tita") -Object is a Boolean : false - -======================== -Expression: substring("12345",2,3) -Object is a string : 234 - -======================== -Expression: substring("12345",2) -Object is a string : 2345 - -======================== -Expression: substring("12345",-4) -Object is a string : 12345 - -======================== -Expression: substring("12345",3.4) -Object is a string : 345 - -======================== -Expression: substring("12345",3.6) -Object is a string : 45 - -======================== -Expression: substring("12345",1.5,2.6) -Object is a string : 234 - -======================== -Expression: substring("12345",2.2,2.2) -Object is a string : 23 - -======================== -Expression: substring("12345",0,3) -Object is a string : 12 - -======================== -Expression: substring("12345",-8,10) -Object is a string : 1 - -======================== -Expression: substring("12345",4,-10) -Object is a string : - -======================== -Expression: substring("12345",0 div 0, 3) -Object is a string : - -======================== -Expression: substring("12345",1, 0 div 0) -Object is a string : - -======================== -Expression: substring("12345",1 div 0, 3) -Object is a string : - -======================== -Expression: substring("12345",3,-1 div 0) -Object is a string : - -======================== -Expression: substring("12345",-42, 1 div 0) -Object is a string : 12345 - -======================== -Expression: substring("12345",-1 div 0, 1 div 0) -Object is a string : - -======================== -Expression: substring("12345",-1 div 0,5) -Object is a string : - -======================== -Expression: string-length("") -Object is a number : 0 - -======================== -Expression: string-length("titi") -Object is a number : 4 |