Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4903

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.7.1.1
    • 10.7.1.1, 10.8.1.2
    • Tools
    • 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.'

      Attachments

        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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nirmal Nirmal Fernando
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment