Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-5804

The Manual Test Steps are not encoded when exported to XML making the output invalid

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Declined
    • 3.6.6
    • None
    • Custom Fields
    • None
    • UNCOVERED

    Description

      The Manual Test Steps are not encoded when exported to XML making the output invalid.

      If the Test Steps have XML encoded characters and when using Jira's "Export \ XML", the resulting XML is invalid.

      Example:

      • In the step we have XML with escaped chars:

      • Exporting using the Export \ XML option:
      • We get this error when validating the XML:
      • The same text in the description has this output:
      • While the Test Steps has this:

      When the text is in the description it validates correctly the XML while in the Test Steps it does not.

      How to reproduce

      1. Import the text below into the Test Steps:
        P2: Charging process stops (charging completed, charging aborted…)
      2. Go to the Jira option Export -> XML
      3. Open the exported file using the Web browser or into some XML validator tool.

      Attachments

        1. encode1.png
          encode1.png
          10 kB
        2. encode2.png
          encode2.png
          5 kB
        3. encode3.png
          encode3.png
          9 kB
        4. encode4.png
          encode4.png
          45 kB
        5. encode5.png
          encode5.png
          17 kB
        6. encode6.png
          encode6.png
          10 kB

        Activity

          People

            helder.ferreira Helder Ferreira
            rmsp Rogerio Paiva [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: