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-c.diff
        5 kB
        Knut Anders Hatlen
      2. derby-4903-b.diff
        2 kB
        Nirmal Fernando
      3. test.diff
        2 kB
        Knut Anders Hatlen
      4. derby-4903-a.diff
        8 kB
        Nirmal Fernando

        Issue Links

          Activity

          No work has yet been logged on this issue.

            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