[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Dec 14 22:18:18 UTC 2006
gordonp
Thu Dec 14 17:18:18 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv16361/src/main/org/biomoby/shared/data
Modified Files:
MobyDataSecondaryInstance.java
Log Message:
Made deserialization more robust by being flexible on moby namespace presence for Value tag
moby-live/Java/src/main/org/biomoby/shared/data MobyDataSecondaryInstance.java,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataSecondaryInstance.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataSecondaryInstance.java 2006/12/07 16:37:36 1.7
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataSecondaryInstance.java 2006/12/14 22:18:18 1.8
@@ -70,7 +70,7 @@
throw new MobyException("While creating a secondary parameter instance from XML: " +
"the passed in element (" +objectClass + ") was not a " + MobyTags.PARAMETER);
}
- NodeList values = objectTag.getElementsByTagNameNS(MobyPrefixResolver.MOBY_XML_NAMESPACE, MobyTags.VALUE);
+ NodeList values = MobyPrefixResolver.getChildElements(objectTag, MobyTags.VALUE);
if(values.getLength() == 0){
throw new MobyException("While creating a secondary parameter instance from XML: " +
"No " + VALUE_NAME + " element in the namespace " +
More information about the MOBY-guts
mailing list