HTML is not XML... so unless it's really XHTML you probably want to do something different.
If the output is intended to be identical up to differences in whitespace, then you could preprocess the documents to strip out some or all whitespace before comparing them as strings. That ought to be good enough for most purposes. Jeff. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Cyment Sent: Friday, January 26, 2007 1:11 PM To: MbUnit.User Subject: MbUnit HTML doc equal? Hi everyone out there! I'm trying to test a method that outputs an HTML file. I already know what the right output is, but there might be differences in indentation. What have you used in a similar situation? I'm going to give MS' XML Diff & Patch library, but I wondered if there is any such functionality already built into MbUnit. Cheers, Alan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
