modified warning for unresolved IDRef during castor un/marshalling. This message...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 28 Jun 2007 14:14:42 +0000 (14:14 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 28 Jun 2007 14:14:42 +0000 (14:14 +0000)
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

index dadd3fa..ca986cb 100644 (file)
@@ -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;
       }
     });