XML report produces invalid XML character

Bug #562102 reported by zliecho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
Low
Charlie Poole

Bug Description

Might be related to NUnit V2 Bugs Bug #507532

NUnit-Console version 2.5.3.9345 with /xml parameter:

      [TestCase("ABCDE", true, "ApBpCADBECpDpE")]
      [TestCase("ABCDE", false, "ApBpCADBEC\u0019D\u0019E")]
      public void DoubleAndMergeEmittedSignalString_String_ReturnsDoubledMergedString(string input, bool theLastMessage, string expected)
      {
         string evaluated = MessagePhaser.DoubleAndMergeEmittedSignalString(input, theLastMessage);

         Assert.AreEqual(expected, evaluated);
      }

produces an invalid XML like
   <test-case name="WavGenerator.UnitTests.MessagePhaserTests.DoubleAndMergeEmittedSignalString_String_ReturnsDoubledMergedString(&quot;ABCDE&quot;,False,&quot;ApBpCADBEC&#x19;D&#x19;E&quot;)" executed="True" success="True" time="0.000" asserts="2" />

where character reference "&#x19" is an invalid XML character.

Related branches

Changed in nunitv2:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 2.5.5
status: Triaged → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.