mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
* xpath.c: another patch from Richard Jinks for substring conformance * test/XPath/expr/floats test/XPath/expr/strings result/XPath/expr/floats result/XPath/expr/strings: update of the test suite to check those. Daniel
26 lines
630 B
Plaintext
26 lines
630 B
Plaintext
string(5)
|
|
string(0.5)
|
|
string(-0.5)
|
|
string(true())
|
|
string(false())
|
|
concat("titi","toto")
|
|
concat("titi","toto","tata")
|
|
concat("titi",'toto')
|
|
concat("titi",'toto',"tata","last")
|
|
starts-with("tititoto","titi")
|
|
starts-with("tititoto","to")
|
|
contains("tititototata","titi")
|
|
contains("tititototata","toto")
|
|
contains("tititototata","tata")
|
|
contains("tititototata","tita")
|
|
substring("12345",2,3)
|
|
substring("12345",2)
|
|
substring("12345",1.5,2.6)
|
|
substring("12345",0,3)
|
|
substring("12345", 0 div 0, 3)
|
|
substring("12345", 1, 0 div 0)
|
|
substring("12345", -42, 1 div 0)
|
|
substring("12345", -1 div 0, 1 div 0)
|
|
string-length("")
|
|
string-length("titi")
|