DESCRIBE FUNCTION xpath_short ;
DESCRIBE FUNCTION EXTENDED xpath_short ;
SELECT xpath_short ('this is not a number', 'a') FROM src LIMIT 1 ;
SELECT xpath_short ('this 2 is not a number', 'a') FROM src LIMIT 1 ;
SELECT xpath_short ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ;
SELECT xpath_short ('try a boolean', 'a = 10') FROM src LIMIT 1 ;
SELECT xpath_short ('1248', 'a/b') FROM src LIMIT 1 ;
SELECT xpath_short ('1248', 'sum(a/*)') FROM src LIMIT 1 ;
SELECT xpath_short ('1248', 'sum(a/b)') FROM src LIMIT 1 ;
SELECT xpath_short ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ;