From: <bo...@us...> - 2013-02-02 14:36:02
|
Revision: 502 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=502&view=rev Author: bodewig Date: 2013-02-02 14:35:56 +0000 (Sat, 02 Feb 2013) Log Message: ----------- turn xsi:type comparison into something akin to a QName comparison Modified Paths: -------------- branches/xmlunit-1.x/src/java/org/custommonkey/xmlunit/DifferenceEngine.java Modified: branches/xmlunit-1.x/src/java/org/custommonkey/xmlunit/DifferenceEngine.java =================================================================== --- branches/xmlunit-1.x/src/java/org/custommonkey/xmlunit/DifferenceEngine.java 2013-02-02 06:52:23 UTC (rev 501) +++ branches/xmlunit-1.x/src/java/org/custommonkey/xmlunit/DifferenceEngine.java 2013-02-02 14:35:56 UTC (rev 502) @@ -761,10 +761,10 @@ testLocal = testValue.substring(testColon + 1); testPrefix = testValue.substring(0, testColon); } - compare(controlLocal, testLocal, control, test, listener, ATTR_VALUE); - compare(findNamespaceURIForPrefix(control, controlPrefix), - findNamespaceURIForPrefix(test, testPrefix), control, test, - listener, ATTR_VALUE); + compare("{" + findNamespaceURIForPrefix(control, controlPrefix) + "}" + + controlLocal, + "{" + findNamespaceURIForPrefix(test, testPrefix) + "}" + + testLocal, control, test, listener, ATTR_VALUE); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |