From f9928a19d187079fbf8e576a38c3041b51ac058b Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 28 Jun 2007 14:14:42 +0000 Subject: [PATCH] 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 --- src/uk/ac/vamsas/client/VorbaXmlBinder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } }); -- 1.7.10.2