Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6, 10.3.1.4
    • 10.2.1.6, 10.3.1.4
    • SQL
    • 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'.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: