lishijie211 / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Assertion Xml.AreEqual doesn't compare CDATA's #893

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get 2 Xml's with different CDATA content
2. Assert.Xml.AreEqual shows those Xml's as equal
3.

What is the expected output? What do you see instead?
Expected Output is to show that they are diffent because of CDATA's content

What version of the product are you using? On what operating system?
3.3.552

Please provide any additional information below.
I have checked in the mbunit sources and CDATAs are skipped during parsing 
elements in Gallio.Common.Xml.Parser class and ParseElement function. So they 
are not compared at all.

Original issue reported on code.google.com by mpys...@gmail.com on 4 Sep 2012 at 10:30