• unknown's avatar
    Bug#18170: XML: ExtractValue(): XPath expression can't use QNames (colon in names) · 1a3cb50c
    unknown authored
    Problem source:
    Qualified names (aka QName) didn't work as tag names and attribute names,
    because the parser lacked a real rule to scan QName, so it understood
    only non-qualified names without prefixes.
    
    Solution:
    New rule was added to check both "ident" and "ident:ident" sequences.
    
    
    mysql-test/r/xml.result:
      Adding test case
    mysql-test/t/xml.test:
      Adding test case
    sql/item_xmlfunc.cc:
      Adding real QName parser rule and using it in NodeTest rule.
    1a3cb50c
item_xmlfunc.cc 66.7 KB