mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Bug#18285: ExtractValue not returning character data within <![CDATA[]]> as expected
mysql-test/r/xml.result: Adding test case mysql-test/t/xml.test: Adding test case strings/xml.c: Adding missing support of CDATA sections.
This commit is contained in:
parent
6de776f70a
commit
fd9d70a072
3 changed files with 31 additions and 0 deletions
|
|
@ -278,6 +278,12 @@ select extractvalue('<a>Jack</a>','/a[contains(../a,"j")]');
|
|||
select extractvalue('<a>Jack</a>','/a[contains(../a,"j")]' collate latin1_bin);
|
||||
select extractvalue('<a>Jack</a>' collate latin1_bin,'/a[contains(../a,"j")]');
|
||||
|
||||
#
|
||||
# Bug#18285: ExtractValue not returning character
|
||||
# data within <![CDATA[]]> as expected
|
||||
#
|
||||
select ExtractValue('<tag1><![CDATA[test]]></tag1>','/tag1');
|
||||
|
||||
#
|
||||
# Bug #18171 XML: ExtractValue: the XPath position()
|
||||
# function crashes the server!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue