Hello Glenn, thanks a lot for reporting this bug and for your analysis. The fix is available in the svn repository for both 2.0 branch and trunk (future 2.1).
Best regards, Thierry Boileau > 2. shouldn't the test on line 237 of toObject be the > > test used on line 179 of the score method? > > The test on line 179 of the score method, for > > example, will be true if target has > > class DomRepresentation, regardless of the source object. > > Oops -- I meant to say that the test used in > the score method should be replaced with the > test used in the toObject method. The test used > in the score method seems patently wrong, since > among other things it never looks at the source. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2815760 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2817066

