Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19009/epp0402/rtk/xml
Modified Files:
EPPContactInfo.java EPPHostInfo.java
Log Message:
fix for bug 1475771
Index: EPPContactInfo.java
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/xml/EPPContactInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EPPContactInfo.java 21 Mar 2003 16:35:36 -0000 1.1
--- EPPContactInfo.java 24 Apr 2006 21:20:25 -0000 1.2
***************
*** 242,246 ****
status.m_value = status_value_node.getNodeValue();
}
! status.m_lang = ((Element)a_node).getAttribute("lang");
if ( ! contact_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
--- 242,250 ----
status.m_value = status_value_node.getNodeValue();
}
! String lang = ((Element)a_node).getAttribute("lang");
! if (lang != null && lang.length() > 0)
! {
! status.m_lang = lang;
! }
if ( ! contact_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
Index: EPPHostInfo.java
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epp0402/rtk/xml/EPPHostInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EPPHostInfo.java 21 Mar 2003 16:35:37 -0000 1.1
--- EPPHostInfo.java 24 Apr 2006 21:20:25 -0000 1.2
***************
*** 241,245 ****
status.m_value = status_value_node.getNodeValue();
}
! status.m_lang = ((Element)a_node).getAttribute("lang");
if ( ! host_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
--- 241,249 ----
status.m_value = status_value_node.getNodeValue();
}
! String lang = ((Element)a_node).getAttribute("lang");
! if (lang != null && lang.length() > 0)
! {
! status.m_lang = lang;
! }
if ( ! host_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
|