In OfflineResolver.engineCanResolve the first java statement (line 98) should be:
if (uri == null) { return false; }
However, adding this line means that you then get an "XMLSignatureException: The Reference for URI has no XMLSignatureInput" exception when the VerifySignature sample is run.
Therefore, is the bug in the VerifySignature sample or the base library trying to check for URI's that don't exist?