On Saturday, September 21, 2013 04:22:00 PM Claude Warren wrote:
> It seems to me that this should be true.
> 
> 
> assertEquals( new BaseDatatype( "
> http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral";), new BaseDatatype( "
> http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral";));
> 
> But it fails.  Any idea why?

BaseDatatype doesn't override .equals().

Perhaps it should. But perhaps there's code that relies on .equals() on
DaseDatatype being ==. (Seems unlikely but a change in behaviour
is a change in behaviour ...)

Chris

Reply via email to