Derby
  1. Derby
  2. DERBY-1775

Error 2200M is defined in the SQL standard as 'invalid XML document' and can be used in multiple situations, not just XMLPARSE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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

      Derby's text for 2200M is as below, probably should start out being more generic. Also based upon past error messages like this ('see next for details') it's probably best to include the text of the next message in the first, while continuing to chain them.

      Consider replacing:

      ERROR 2200M: Failed to parse XMLPARSE operand; see next exception for details.
      ERROR XJ001: Java exception: 'Element type "idtwo" must be followed by either at
      tribute specifications, ">" or "/>".: org.xml.sax.SAXException'.

      with

      ERROR 2200M: Invalid XML DOCUMENT : Element type "idtwo" must be followed by either at
      tribute specifications, ">" or "/>".: org.xml.sax.SAXException'.
      ERROR XJ001: Java exception: 'Element type "idtwo" must be followed by either at
      tribute specifications, ">" or "/>".: org.xml.sax.SAXException'.

      1. d1775_v1.patch
        14 kB
        A B
      2. d1775_v2.patch
        14 kB
        A B

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development