From: jprocter Date: Thu, 28 Jun 2007 14:14:42 +0000 (+0000) Subject: modified warning for unresolved IDRef during castor un/marshalling. This message... X-Git-Tag: Release_0.2~110 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f9928a19d187079fbf8e576a38c3041b51ac058b;p=vamsas.git modified warning for unresolved IDRef during castor un/marshalling. This message is unlikely to be observed if the cycle-patched castor is used git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@410 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/VorbaXmlBinder.java b/src/uk/ac/vamsas/client/VorbaXmlBinder.java index dadd3fa..ca986cb 100644 --- a/src/uk/ac/vamsas/client/VorbaXmlBinder.java +++ b/src/uk/ac/vamsas/client/VorbaXmlBinder.java @@ -216,8 +216,9 @@ public class VorbaXmlBinder implements UnmarshalListener { Unmarshaller unmarshaller = new Unmarshaller(root); unmarshaller.setIDResolver(new IDResolver() { public Object resolve(String id) { + // TODO: allow for external ID resolution VorbaXmlBinder.log.warn("Warning - id " + id - + " is not found in the Vamsas XML!"); + + " is not found in the Vamsas XML! (TODO: Ignore if this is a forward reference!)"); return null; } });