• bar@mysql.com's avatar
    Bug#18201: XML: ExtractValue works even if the xml · 8fb685c2
    bar@mysql.com authored
    fragment is not well-formed xml
    
    Problem:
    - ExtractValue silently returned NULL if a wrong XML value is passed.
    - In some cases "unexpected END-OF-INPUT" error was not detected, and
      a non-NULL result could be returned for a bad XML value.
    
    Fix:
    - Adding warning messages, to make user aware why NULL was returned.
    - Missing "unexpected END-OF-INPUT" error is reported now.
    8fb685c2
xml.result 22.5 KB