From: Larry Y. <ly...@us...> - 2002-03-14 23:31:34
|
Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml In directory usw-pr-cvs1:/tmp/cvs-serv4214 Modified Files: EPPXMLBase.java Log Message: modified parseGenericCheckResult method to recognize <object:id> tag Index: EPPXMLBase.java =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp/rtk/xml/EPPXMLBase.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** EPPXMLBase.java 14 Mar 2002 23:23:14 -0000 1.23 --- EPPXMLBase.java 14 Mar 2002 23:31:31 -0000 1.24 *************** *** 721,724 **** --- 721,729 ---- chk_result.m_avail = ((Element)the_node).getAttribute("avail").equals("1") ? true : false; } + if (the_node.getNodeName().endsWith(":id")) + { + chk_result.m_value = the_node.getFirstChild().getNodeValue(); + chk_result.m_avail = ((Element)the_node).getAttribute("avail").equals("1") ? true : false; + } if (the_node.getNodeName().endsWith(":reason")) { |