Derby
  1. Derby
  2. DERBY-4903

Plan exporter tool produces broken output if query contains less-than operator

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1, 10.8.1.2
    • Component/s: Tools
    • Labels:
      None

      Description

      The plan exporter tool fails to produce well-formed output for the following query:

      ij> select * from sysibm.sysdummy1 where ibmreqd < 'Z';

      The generation of XML doesn't fail, but when I open the file in Firefox, I see this message:

      XML Parsing Error: not well-formed
      Location: file:///tmp/plan.xml
      Line Number 9, Column 11:

      Operator: <
      ----------^

      HTML generation prints the following error, and produces an empty file:

      ERROR: 'The value of attribute "scan_qualifiers" associated with an element type "null" must not contain the '<' character.'

      1. derby-4903-a.diff
        8 kB
        Nirmal Fernando
      2. derby-4903-b.diff
        2 kB
        Nirmal Fernando
      3. derby-4903-c.diff
        5 kB
        Knut Anders Hatlen
      4. test.diff
        2 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          Knut Anders Hatlen created issue -
          Nirmal Fernando made changes -
          Field Original Value New Value
          Assignee C.S. Nirmal J. Fernando [ nirmal ]
          Nirmal Fernando made changes -
          Attachment derby-4903-a.diff [ 12460235 ]
          Nirmal Fernando made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Knut Anders Hatlen made changes -
          Attachment test.diff [ 12460462 ]
          Nirmal Fernando made changes -
          Attachment derby-4903-b.diff [ 12460464 ]
          Knut Anders Hatlen made changes -
          Attachment derby-4903-c.diff [ 12460466 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-4919 [ DERBY-4919 ]
          Knut Anders Hatlen made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 10.7.1.1 [ 12315564 ]
          Fix Version/s 10.8.0.0 [ 12315561 ]
          Resolution Fixed [ 1 ]
          Rick Hillegas made changes -
          Affects Version/s 10.7.1.1 [ 12315564 ]
          Affects Version/s 10.7.1.0 [ 12314971 ]
          Nirmal Fernando made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Nirmal Fernando made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Rick Hillegas made changes -
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.0 [ 12315561 ]
          Rick Hillegas made changes -
          Fix Version/s 10.8.1.2 [ 12316362 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Gavin made changes -
          Workflow jira [ 12526829 ] Default workflow, editable Closed status [ 12799789 ]

            People

            • Assignee:
              Nirmal Fernando
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development