Forum Discussion
divman
10 years agoContributor
Sorry for late response. I read your requirement. Once i had the same requirement in my project and was found a solution. But i am not sure if that is a proper solution or not. Still you can use that. See this below link.
http://groovy.329449.n5.nabble.com/How-to-compare-2-XMLs-by-ignoring-set-of-elements-inside-it-tt5719438.html
http://groovy.329449.n5.nabble.com/How-to-compare-2-XMLs-by-ignoring-set-of-elements-inside-it-tt5719438.html
- nmrao10 years agoChampion Level 3@divman, thank you for sharing the link. As it was mentioned in the previous post, xmlunit was pointed with additional information that if there are complex list, then xmlunit does not handle unless one can input sorted xmls to it.
- divman10 years agoContributor
Hi Rao,
Thanks for your reply. Could you please help me understand here, what do you mean "input sorted xmls"?. Sorry if this is a basic question.
- nmrao10 years agoChampion Level 3Xml Schema Definition contains repeating element which again complex one, then xmlunit does not sort, then mismatch happens on comparison.
Related Content
- 3 years agoHarryS
- 3 years agoAïda
- 3 months agoarmygrad
- 11 years agoshehbashahab