1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#20795: extractvalue() won't accept names containing a dot (.)

Dot character was not considered as a valid identifier body character.
This commit is contained in:
bar@mysql.com/bar.intranet.mysql.r18.ru
2006-07-25 18:46:43 +05:00
parent dbaba24c5b
commit bc0c69ce7e
5 changed files with 46 additions and 33 deletions

View File

@@ -354,3 +354,9 @@ DROP PROCEDURE p2;
select extractValue('<ns:element xmlns:ns="myns"/>','count(ns:element)');
select extractValue('<ns:element xmlns:ns="myns">a</ns:element>','/ns:element');
select extractValue('<ns:element xmlns:ns="myns">a</ns:element>','/ns:element/@xmlns:ns');
#
# Bug#20795 extractvalue() won't accept names containing a dot (.)
#
select extractValue('<foo><foo.bar>Data</foo.bar><something>Otherdata</something></foo>','/foo/foo.bar');
select extractValue('<foo><foo.bar>Data</foo.bar><something>Otherdata</something></foo>','/foo/something');