Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1776

ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'. - Misleading text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6, 10.3.1.4
    • Fix Version/s: 10.2.1.6, 10.3.1.4
    • Component/s: SQL
    • Labels:
      None

      Description

      create table t (i int, x xml);
      select xmlserialize from t;

      ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'.

      This is not an 'XML Syntax error', it's a syntax in the SQL language. No need to have a special error messgae here, wouldn't the error be caught by regular parsing?

        Attachments

          Activity

            People

            • Assignee:
              army A B
              Reporter:
              djd Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: