posted 13 years ago
XMLUnit API states description for - ATTR_SEQUENCE_ID as The attributes on an element appear in different order7 in the two pieces of XML.
So as i understand the following difference should be captured under ATTR_SEQUENCE_ID by the DetailedDiff class.
Element in XML 1
<StreetType Attached="false" Before="false" Language_Code="ENG">RD</StreetType>
Element in XML 2
<StreetType Language_Code="ENG" Before="false" Attached="false" >RD</StreetType>
The sequence in which the attributes for the same Element occurs differs. The DetailedDiff does not capture this difference under ATTR_SEQUENCE_ID for my implementation.
So i assume that i am missing something in correctly understanding the description.
If anyone has any input that would clarify it for me, it would be great.
Thank you.
Regards,
Sneha