2020-12-26 08:00:35 +00:00
|
|
|
SELECT decodeXMLComponent('Hello, "world"!');
|
|
|
|
SELECT decodeXMLComponent('<123>');
|
|
|
|
SELECT decodeXMLComponent('&clickhouse');
|
2021-01-05 13:08:36 +00:00
|
|
|
SELECT decodeXMLComponent(''foo'');
|
|
|
|
SELECT decodeXMLComponent('Hello, && world');
|
|
|
|
SELECT decodeXMLComponent('Hello, &;& world');
|
|
|
|
SELECT decodeXMLComponent('Hello, &a;& world');
|
|
|
|
SELECT decodeXMLComponent('Hello, <t;& world');
|
|
|
|
SELECT decodeXMLComponent('Hello, <t& world');
|
|
|
|
SELECT decodeXMLComponent('Hello, &t;& world');
|
|
|
|
|
|
|
|
--decode numeric entities
|
2021-01-09 11:08:19 +00:00
|
|
|
|
|
|
|
SELECT decodeXMLComponent(' !"#$%&'()*+,-./012');
|
2021-01-05 13:08:36 +00:00
|
|
|
SELECT decodeXMLComponent(')*+,-./0123456789:;<');
|
|
|
|
SELECT decodeXMLComponent('=>?@ABCDEFGHIJKLMNOP');
|
2021-01-09 11:08:19 +00:00
|
|
|
SELECT decodeXMLComponent('为');
|
|
|
|
SELECT decodeXMLComponent('为');
|
|
|
|
SELECT decodeXMLComponent('�'123');
|
|
|
|
SELECT decodeXMLComponent('ЦЦЮЮЫㄱ');
|