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

        Daniel John Debrunner created issue -
        A B made changes -
        Field Original Value New Value
        Attachment d1775_v1.patch [ 12341136 ]
        A B made changes -
        Derby Info [Patch Available]
        Assignee A B [ army ]
        A B made changes -
        Attachment d1775_v2.patch [ 12341222 ]
        Mike Matrigali made changes -
        Fix Version/s 10.3.0.0 [ 12310800 ]
        Mike Matrigali made changes -
        Fix Version/s 10.2.1.0 [ 11187 ]
        A B made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Derby Info [Patch Available]
        Resolution Fixed [ 1 ]
        A B made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12382629 ] Default workflow, editable Closed status [ 12798125 ]

          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